From 15eeca00684b4d5baad8e47c5b2f77404b978cb0 Mon Sep 17 00:00:00 2001 From: "djsollen@google.com" Date: Fri, 1 Jun 2012 12:52:26 +0000 Subject: Update the implementation of SkTypeface_android.h functions. This CL removes the hardcoded mappings of FallbackScripts to a particular font file and replaces it with a dynamic mechanism that takes a style and representative character code for a given FallbackScript class and returns the most appropriate SkTypeface that contains that character code. Review URL: https://codereview.appspot.com/6197074 git-svn-id: http://skia.googlecode.com/svn/trunk@4111 2bbb7eff-a529-9590-31e7-b0007b416f81 --- src/core/SkGlyphCache.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/core/SkGlyphCache.h') diff --git a/src/core/SkGlyphCache.h b/src/core/SkGlyphCache.h index dfd2df8a96..f8a23a69fa 100644 --- a/src/core/SkGlyphCache.h +++ b/src/core/SkGlyphCache.h @@ -123,6 +123,8 @@ public: // call the proc) void removeAuxProc(void (*auxProc)(void*)); + SkScalerContext* getScalerContext() const { return fScalerContext; } + /** Call proc on all cache entries, stopping early if proc returns true. The proc should not create or delete caches, since it could produce deadlock. -- cgit v1.2.3