summaryrefslogtreecommitdiff
path: root/rsFont.h
diff options
context:
space:
mode:
Diffstat (limited to 'rsFont.h')
-rw-r--r--rsFont.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/rsFont.h b/rsFont.h
index c24c9f18..00d77c84 100644
--- a/rsFont.h
+++ b/rsFont.h
@@ -73,7 +73,8 @@ public:
return RS_A3D_CLASS_ID_UNKNOWN;
}
- static Font * create(Context *rsc, const char *name, float fontSize, uint32_t dpi);
+ static Font * create(Context *rsc, const char *name, float fontSize, uint32_t dpi,
+ const void *data = NULL, uint32_t dataLen = 0);
protected:
@@ -116,7 +117,7 @@ protected:
uint32_t mDpi;
Font(Context *rsc);
- bool init(const char *name, float fontSize, uint32_t dpi);
+ bool init(const char *name, float fontSize, uint32_t dpi, const void *data = NULL, uint32_t dataLen = 0);
FT_Face mFace;
bool mInitialized;