summaryrefslogtreecommitdiff
path: root/core/fxge/include/fx_font.h
diff options
context:
space:
mode:
authornpm <npm@chromium.org>2016-09-12 13:38:52 -0700
committerCommit bot <commit-bot@chromium.org>2016-09-12 13:38:52 -0700
commit01b67ed9b441cd485997bc08482def1f2ab265db (patch)
treeba045b2659de3d41a1fedf285a4a49bc5134b435 /core/fxge/include/fx_font.h
parent56cf519689846dd03a381fb6c4e7a054effdd20b (diff)
downloadpdfium-01b67ed9b441cd485997bc08482def1f2ab265db.tar.xz
Refactor CPDF_Document by creating new methods
- Methods GetPagesDict, ProcessNonbCJK, CalculateFlags, and CalculateEncodingDict created to reduce duplicated code. - Code nits Review-Url: https://codereview.chromium.org/2323793003
Diffstat (limited to 'core/fxge/include/fx_font.h')
-rw-r--r--core/fxge/include/fx_font.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/core/fxge/include/fx_font.h b/core/fxge/include/fx_font.h
index a607f3e0d5..9a976c44b7 100644
--- a/core/fxge/include/fx_font.h
+++ b/core/fxge/include/fx_font.h
@@ -117,9 +117,9 @@ class CFX_Font {
int GetAscent() const;
int GetDescent() const;
FX_BOOL GetGlyphBBox(uint32_t glyph_index, FX_RECT& bbox);
- FX_BOOL IsItalic() const;
- FX_BOOL IsBold() const;
- FX_BOOL IsFixedWidth() const;
+ bool IsItalic() const;
+ bool IsBold() const;
+ bool IsFixedWidth() const;
FX_BOOL IsVertical() const { return m_bVertical; }
CFX_ByteString GetPsName() const;
CFX_ByteString GetFamilyName() const;