summaryrefslogtreecommitdiff
path: root/core/include/fxge/fx_font.h
diff options
context:
space:
mode:
authorLei Zhang <thestig@chromium.org>2015-08-18 16:02:32 -0700
committerLei Zhang <thestig@chromium.org>2015-08-18 16:02:32 -0700
commita2b3ae23556fb2f1adbc008574f33bf365476af9 (patch)
tree7077643dce819ecd6ba6acedd85a03046d745e18 /core/include/fxge/fx_font.h
parente1ce94e0b045b443976c118a251400b4016f9811 (diff)
downloadpdfium-a2b3ae23556fb2f1adbc008574f33bf365476af9.tar.xz
TBR=tsepez@chromium.org Review URL: https://codereview.chromium.org/1297303002 .
Diffstat (limited to 'core/include/fxge/fx_font.h')
-rw-r--r--core/include/fxge/fx_font.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/core/include/fxge/fx_font.h b/core/include/fxge/fx_font.h
index 04918ea275..1423be497b 100644
--- a/core/include/fxge/fx_font.h
+++ b/core/include/fxge/fx_font.h
@@ -91,6 +91,10 @@ class CFX_Font {
FX_BOOL IsEmbedded() const { return m_bEmbedded; }
uint8_t* GetSubData() const { return m_pGsubData; }
void SetSubData(uint8_t* data) { m_pGsubData = data; }
+ void* GetPlatformFont() const { return m_pPlatformFont; }
+ void SetPlatformFont(void* font) { m_pPlatformFont = font; }
+ uint8_t* GetFontData() const { return m_pFontData; }
+ FX_DWORD GetSize() const { return m_dwSize; }
void AdjustMMParams(int glyph_index, int width, int weight);
private: