summaryrefslogtreecommitdiff
path: root/core/fxge/ifx_systemfontinfo.h
diff options
context:
space:
mode:
Diffstat (limited to 'core/fxge/ifx_systemfontinfo.h')
-rw-r--r--core/fxge/ifx_systemfontinfo.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/core/fxge/ifx_systemfontinfo.h b/core/fxge/ifx_systemfontinfo.h
index 5eb3147c54..640a11a57b 100644
--- a/core/fxge/ifx_systemfontinfo.h
+++ b/core/fxge/ifx_systemfontinfo.h
@@ -20,9 +20,9 @@ class IFX_SystemFontInfo {
virtual ~IFX_SystemFontInfo() {}
- virtual FX_BOOL EnumFontList(CFX_FontMapper* pMapper) = 0;
+ virtual bool EnumFontList(CFX_FontMapper* pMapper) = 0;
virtual void* MapFont(int weight,
- FX_BOOL bItalic,
+ bool bItalic,
int charset,
int pitch_family,
const FX_CHAR* face,
@@ -31,7 +31,7 @@ class IFX_SystemFontInfo {
#ifdef PDF_ENABLE_XFA
virtual void* MapFontByUnicode(uint32_t dwUnicode,
int weight,
- FX_BOOL bItalic,
+ bool bItalic,
int pitch_family);
#endif // PDF_ENABLE_XFA
@@ -40,8 +40,8 @@ class IFX_SystemFontInfo {
uint32_t table,
uint8_t* buffer,
uint32_t size) = 0;
- virtual FX_BOOL GetFaceName(void* hFont, CFX_ByteString& name) = 0;
- virtual FX_BOOL GetFontCharset(void* hFont, int& charset) = 0;
+ virtual bool GetFaceName(void* hFont, CFX_ByteString& name) = 0;
+ virtual bool GetFontCharset(void* hFont, int& charset) = 0;
virtual int GetFaceIndex(void* hFont);
virtual void DeleteFont(void* hFont) = 0;
};