diff options
author | npm <npm@chromium.org> | 2016-08-19 10:26:03 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-08-19 10:26:03 -0700 |
commit | fb606f2723b87a145a9ceece6cd6ccaaf15ceadd (patch) | |
tree | 2334f061175d46059c24e31241b48235817a244e /core/fxge/include | |
parent | 618cb1f3e561b5d2a1dea9ec4653804f0da7267c (diff) | |
download | pdfium-fb606f2723b87a145a9ceece6cd6ccaaf15ceadd.tar.xz |
Apply structure packing to FXTEXT_CHARPOS to save space.
BUG=pdfium:562
Review-Url: https://codereview.chromium.org/2257313002
Diffstat (limited to 'core/fxge/include')
-rw-r--r-- | core/fxge/include/cfx_renderdevice.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/core/fxge/include/cfx_renderdevice.h b/core/fxge/include/cfx_renderdevice.h index 390d39b69d..9dd5f55ee9 100644 --- a/core/fxge/include/cfx_renderdevice.h +++ b/core/fxge/include/cfx_renderdevice.h @@ -68,15 +68,15 @@ class IFX_RenderDeviceDriver; #define FXTEXT_NOSMOOTH 0x20 struct FXTEXT_CHARPOS { - uint32_t m_GlyphIndex; + FX_FLOAT m_AdjustMatrix[4]; FX_FLOAT m_OriginX; FX_FLOAT m_OriginY; - int m_FontCharWidth; - FX_BOOL m_bGlyphAdjust; - FX_FLOAT m_AdjustMatrix[4]; + uint32_t m_GlyphIndex; + int32_t m_FontCharWidth; #if _FXM_PLATFORM_ == _FXM_PLATFORM_APPLE_ uint32_t m_ExtGID; #endif + bool m_bGlyphAdjust; bool m_bFontStyle; }; |