Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(79)

Unified Diff: core/fxge/include/fx_font.h

Issue 2368693002: Remove FX_BOOL from cpdf_font (Closed)
Patch Set: And again Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: core/fxge/include/fx_font.h
diff --git a/core/fxge/include/fx_font.h b/core/fxge/include/fx_font.h
index 58d12bbb2afc5ebb44b1e7a5cf83db5710b8fed2..5a831305513430c7e3169960fd245da889ebdb8a 100644
--- a/core/fxge/include/fx_font.h
+++ b/core/fxge/include/fx_font.h
@@ -103,7 +103,7 @@ class CFX_Font {
int weight,
int italic_angle,
int CharsetCP,
- FX_BOOL bVertical = FALSE);
+ bool bVertical);
FX_BOOL LoadEmbedded(const uint8_t* data, uint32_t size);
FXFT_Face GetFace() const { return m_Face; }
@@ -140,11 +140,11 @@ class CFX_Font {
bool IsItalic() const;
bool IsBold() const;
bool IsFixedWidth() const;
- FX_BOOL IsVertical() const { return m_bVertical; }
+ bool IsVertical() const { return m_bVertical; }
CFX_ByteString GetPsName() const;
CFX_ByteString GetFamilyName() const;
CFX_ByteString GetFaceName() const;
- FX_BOOL IsTTFont() const;
+ bool IsTTFont() const;
FX_BOOL GetBBox(FX_RECT& bbox);
int GetHeight() const;
int GetULPos() const;
@@ -198,8 +198,8 @@ class CFX_Font {
#if _FXM_PLATFORM_ == _FXM_PLATFORM_APPLE_
void* m_pPlatformFont;
#endif
- FX_BOOL m_bEmbedded;
- FX_BOOL m_bVertical;
+ bool m_bEmbedded;
+ bool m_bVertical;
};
class CFX_FontFaceInfo {

Powered by Google App Engine
This is Rietveld 408576698