Index: trunk/include/core/SkFontHost.h |
=================================================================== |
--- trunk/include/core/SkFontHost.h (revision 8112) |
+++ trunk/include/core/SkFontHost.h (working copy) |
@@ -48,7 +48,7 @@ |
5) Utilites to manage the font cache (budgeting) and gamma correction |
*/ |
class SK_API SkFontHost { |
-public: |
+private: |
/** Return a new, closest matching typeface given either an existing family |
(specified by a typeface in that family) or by a familyName and a |
requested style. |
@@ -229,6 +229,7 @@ |
size_t offset, size_t length, void* data); |
/////////////////////////////////////////////////////////////////////////// |
+public: |
/** LCDs either have their color elements arranged horizontally or |
vertically. When rendering subpixel glyphs we need to know which way |
@@ -291,6 +292,9 @@ |
make the handle contained in the typeface useable. |
*/ |
static void EnsureTypefaceAccessible(const SkTypeface& typeface); |
+ |
+private: |
+ friend class SkTypeface; |
}; |
#endif |