summaryrefslogtreecommitdiff
path: root/core/fxge/fx_font.h
diff options
context:
space:
mode:
Diffstat (limited to 'core/fxge/fx_font.h')
-rw-r--r--core/fxge/fx_font.h14
1 files changed, 1 insertions, 13 deletions
diff --git a/core/fxge/fx_font.h b/core/fxge/fx_font.h
index d55160aef5..0271b78a22 100644
--- a/core/fxge/fx_font.h
+++ b/core/fxge/fx_font.h
@@ -18,11 +18,6 @@
#include "core/fxge/fx_dib.h"
#include "core/fxge/fx_freetype.h"
-class CFX_FaceCache;
-class CFX_GlyphBitmap;
-class CFX_PathData;
-class IFX_SeekableReadStream;
-
#if defined _SKIA_SUPPORT_ || defined _SKIA_SUPPORT_PATHS_
class SkTypeface;
@@ -30,7 +25,7 @@ using CFX_TypeFace = SkTypeface;
#endif
/* Font pitch and family flags */
-#define FXFONT_FF_FIXEDPITCH 1
+#define FXFONT_FF_FIXEDPITCH (1 << 0)
#define FXFONT_FF_ROMAN (1 << 4)
#define FXFONT_FF_SCRIPT (4 << 4)
@@ -56,13 +51,6 @@ using CFX_TypeFace = SkTypeface;
#define FXFONT_EXACTMATCH 0x80000000
#endif // PDF_ENABLE_XFA
-#define CHARSET_FLAG_ANSI 1
-#define CHARSET_FLAG_SYMBOL 2
-#define CHARSET_FLAG_SHIFTJIS 4
-#define CHARSET_FLAG_BIG5 8
-#define CHARSET_FLAG_GB 16
-#define CHARSET_FLAG_KOREAN 32
-
#define GET_TT_SHORT(w) (uint16_t)(((w)[0] << 8) | (w)[1])
#define GET_TT_LONG(w) \
(uint32_t)(((w)[0] << 24) | ((w)[1] << 16) | ((w)[2] << 8) | (w)[3])