Removing font initialization on startup
Change-Id: I6f28204c3d431955fbf0f2f74dde09012bba0a4d
diff --git a/libs/rs/rsFont.h b/libs/rs/rsFont.h
index 8d1556d..e1a957a 100644
--- a/libs/rs/rsFont.h
+++ b/libs/rs/rsFont.h
@@ -79,9 +79,6 @@
// 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 @@
// Free type library, we only need one copy
FT_Library mLibrary;
+ FT_Library getLib();
Vector<Font*> mActiveFonts;
// Render state for the font