summaryrefslogtreecommitdiff
path: root/rsFont.h
diff options
context:
space:
mode:
authorAlex Sakhartchouk <alexst@google.com>2010-06-30 12:49:27 -0700
committerAlex Sakhartchouk <alexst@google.com>2010-06-30 12:59:01 -0700
commita1ccecd965c07c2739f1258989526051a010bdab (patch)
tree939db8b34de2ecead486706ca6ddfa65b8bdcbd5 /rsFont.h
parent590549f4c4507f9b36fba51a61415e582bbff659 (diff)
downloadrs-a1ccecd965c07c2739f1258989526051a010bdab.tar.gz
Removing font initialization on startup
Change-Id: I6f28204c3d431955fbf0f2f74dde09012bba0a4d
Diffstat (limited to 'rsFont.h')
-rw-r--r--rsFont.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/rsFont.h b/rsFont.h
index 8d1556dd..e1a957ae 100644
--- a/rsFont.h
+++ b/rsFont.h
@@ -79,9 +79,6 @@ protected:
// Values below contain a glyph's origin in the bitmap
FT_Int mBitmapLeft;
FT_Int mBitmapTop;
- // Hold on to the bitmap in case cache is invalidated
- FT_Bitmap mBitmap;
- bool mBitmapValid;
};
String8 mFontName;
@@ -156,6 +153,7 @@ protected:
// Free type library, we only need one copy
FT_Library mLibrary;
+ FT_Library getLib();
Vector<Font*> mActiveFonts;
// Render state for the font