aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/SkTypeface.cpp
Commit message (Collapse)AuthorAge
* Fix 64-bit Mac warnings/memory corruptionGravatar reed@android.com2010-05-18
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@569 2bbb7eff-a529-9590-31e7-b0007b416f81
* Add a SkTypeface::CreateForChars() function.Gravatar agl@chromium.org2010-04-20
| | | | | | | | | | | | This allows us to do font fallback for strange scripts. Added empty stubs to the implementations on all platforms. Patch-by: Evan Martin Signed-off-by: Adam Langley http://codereview.appspot.com/950041 git-svn-id: http://skia.googlecode.com/svn/trunk@557 2bbb7eff-a529-9590-31e7-b0007b416f81
* fix leak in DeserializeGravatar reed@android.com2009-03-06
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@112 2bbb7eff-a529-9590-31e7-b0007b416f81
* Significant cleanup in api, and more importantly in sementics, of SkFontHostGravatar reed@android.com2009-03-04
| | | | | | | | | | | | | | - FindTypeface is now CreateTypeface, and what it returns is always considered a new instance, even if it is from a cache (in which case it will have been ref()'d. The caller must always balance its ownership by calling unref() on the result when they are done. - CloseStream is gone, since the caller can/must call stream->unref() when they are done using it. - ResolveTypeface is now ValidFontID, and just returns a bool. git-svn-id: http://skia.googlecode.com/svn/trunk@109 2bbb7eff-a529-9590-31e7-b0007b416f81
* API cleanup: rename typeface Create to CreateFromName, and remove default argGravatar reed@android.com2009-03-04
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@108 2bbb7eff-a529-9590-31e7-b0007b416f81
* remove unimplemented (and uncalled) SkTypeface::Hash()Gravatar reed@android.com2009-03-03
| | | | git-svn-id: http://skia.googlecode.com/svn/trunk@105 2bbb7eff-a529-9590-31e7-b0007b416f81
* move CreateTypefaceFromFile into fonthost porting layer, so we don't force a ↵Gravatar reed@android.com2008-12-22
| | | | | | | | | | given port to have mmap access. update core.proj as some headers have changed location git-svn-id: http://skia.googlecode.com/svn/trunk@43 2bbb7eff-a529-9590-31e7-b0007b416f81
* grab from latest androidGravatar reed@android.com2008-12-17
git-svn-id: http://skia.googlecode.com/svn/trunk@27 2bbb7eff-a529-9590-31e7-b0007b416f81