Go to file
djsollen@google.com ff029606bd Add CreateFallbackForScript to SkTypeface for Android.
WebKit uses HarfBuzz directly to do Complex Text Layout, so it needs to get the
proper SkTypeface to pass it to HarfBuzz. However, on Android, fallback scripts
have no name, and we can only get them by file name each time (CreateFromFile).
This actually breaks the semantics of SkTypeface, which states 'The ID should
be unique for the underlying font file/data, not unique per typeface instance.'

And add 2 helper function to convert between FallbackScripts enum and font file
name. These are useful for WebKit's FontCache, which needs string as key.

https://codereview.appspot.com/5797066/

git-svn-id: http://skia.googlecode.com/svn/trunk@3403 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-03-15 15:49:51 +00:00
animations first cut at a checkbox 2009-10-21 19:41:10 +00:00
bench Disable overly heavy benchmark - 15x slower than any other benchmark 2012-03-14 18:33:54 +00:00
experimental work in progress 2012-03-05 22:01:21 +00:00
forth Automatic update of all copyright notices to reflect new license terms. 2011-07-28 14:26:00 +00:00
gm Perform degenerate check in device coords in convex path renderer 2012-03-15 14:40:46 +00:00
gyp Perform degenerate check in device coords in convex path renderer 2012-03-15 14:40:46 +00:00
include Add CreateFallbackForScript to SkTypeface for Android. 2012-03-15 15:49:51 +00:00
obsolete posix: Avoid static initializers in static/global mutexes 2012-01-26 21:26:40 +00:00
samplecode Cleanup sample slide for drawTextOnPath 2012-03-15 15:01:34 +00:00
src Add CreateFallbackForScript to SkTypeface for Android. 2012-03-15 15:49:51 +00:00
tests unittest for kUTF32_TextEncoding 2012-03-14 20:05:35 +00:00
third_party Fix a warning in libtess in Release builds; define NDEBUG in Release on all 2012-01-19 19:59:22 +00:00
tools Improve default behavior of compare-baselines script. 2012-02-03 14:32:34 +00:00
unix_test_app Automatic update of all copyright notices to reflect new license terms. 2011-07-28 14:26:00 +00:00
DEPS Add libjpeg source as third_party/externals dependency 2012-03-07 17:15:54 +00:00
Doxyfile Create update-doxygen script that generates and uploads docs 2011-12-06 14:52:38 +00:00
gyp_skia gyp DEPS roll, and remove no-longer-needed msvs_abspath_output flag 2011-08-15 19:53:17 +00:00
LICENSE Manually update copyright notices in files that defied the automated process 2011-07-28 14:24:55 +00:00
make.bat Manually update copyright notices in files that defied the automated process 2011-07-28 14:24:55 +00:00
make.py Manually update copyright notices in files that defied the automated process 2011-07-28 14:24:55 +00:00
Makefile Stop packaging command-line Mac tools as a bundle. 2011-08-15 19:22:39 +00:00
Makefile.old Higher resolution timers for bench. 2011-06-07 19:16:02 +00:00
README whitespace commit to trigger buildbot 2011-07-15 14:11:58 +00:00
skia.gyp Some final cleanups leading up to The Official Switch to Gyp 2011-06-07 14:48:41 +00:00
whitespace.txt whitespace change to trigger Skia buildbot 2012-03-09 11:40:45 +00:00

Skia is a complete 2D graphic library for drawing Text, Geometries, and Images.

See full details, and build instructions, at http://code.google.com/p/skia/wiki/DocRoot