diff options
author | thestig <thestig@chromium.org> | 2016-09-26 14:16:43 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-09-26 14:16:43 -0700 |
commit | 2c065322f1b14ca3ff145dc068ab2361704f9e4b (patch) | |
tree | 92a337f54e0abcc624f28d821ed4533963fd8883 /xfa/fgas/font/fgas_gefont.h | |
parent | 5aed0216ad6574944e76a95ef0dbbc910bab4a1a (diff) | |
download | pdfium-2c065322f1b14ca3ff145dc068ab2361704f9e4b.tar.xz |
Clean up xfa_fontmgr.cpp.
Review-Url: https://codereview.chromium.org/2362063003
Diffstat (limited to 'xfa/fgas/font/fgas_gefont.h')
-rw-r--r-- | xfa/fgas/font/fgas_gefont.h | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/xfa/fgas/font/fgas_gefont.h b/xfa/fgas/font/fgas_gefont.h index 824f931d76..7f3cc60478 100644 --- a/xfa/fgas/font/fgas_gefont.h +++ b/xfa/fgas/font/fgas_gefont.h @@ -44,9 +44,7 @@ class CFGAS_GEFont { CFGAS_GEFont* Derive(uint32_t dwFontStyles, uint16_t wCodePage = 0); void GetFamilyName(CFX_WideString& wsFamily) const; uint32_t GetFontStyles() const; - FX_BOOL GetCharWidth(FX_WCHAR wUnicode, - int32_t& iWidth, - FX_BOOL bCharCode = FALSE); + FX_BOOL GetCharWidth(FX_WCHAR wUnicode, int32_t& iWidth, bool bCharCode); int32_t GetGlyphIndex(FX_WCHAR wUnicode, FX_BOOL bCharCode = FALSE); int32_t GetAscent() const; int32_t GetDescent() const; @@ -86,8 +84,8 @@ class CFGAS_GEFont { FX_BOOL bCharCode = FALSE); FX_BOOL GetCharWidthInternal(FX_WCHAR wUnicode, int32_t& iWidth, - FX_BOOL bRecursive, - FX_BOOL bCharCode = FALSE); + bool bRecursive, + bool bCharCode); int32_t GetGlyphIndex(FX_WCHAR wUnicode, FX_BOOL bRecursive, CFGAS_GEFont** ppFont, |