From 59dfc62e56ec5dd88e5445e13467e0e1a3f1690f Mon Sep 17 00:00:00 2001 From: Dan Sinclair Date: Mon, 2 Oct 2017 09:10:06 -0400 Subject: Removing unused defines Remove unused defines. Change-Id: Ibf10d8470f19cbf4528fe1342398a39ef15c1d12 Reviewed-on: https://pdfium-review.googlesource.com/15110 Commit-Queue: dsinclair Reviewed-by: Ryan Harrison --- core/fxge/cfx_renderdevice.h | 1 - core/fxge/cfx_unicodeencoding.h | 3 --- core/fxge/cttfontdesc.h | 8 -------- 3 files changed, 12 deletions(-) (limited to 'core/fxge') diff --git a/core/fxge/cfx_renderdevice.h b/core/fxge/cfx_renderdevice.h index 191e300490..0f1cf9b6ca 100644 --- a/core/fxge/cfx_renderdevice.h +++ b/core/fxge/cfx_renderdevice.h @@ -31,7 +31,6 @@ class IFX_RenderDeviceDriver; #define FXRC_GET_BITS 0x01 #define FXRC_BIT_MASK 0x02 -#define FXRC_ALPHA_MASK 0x04 #define FXRC_ALPHA_PATH 0x10 #define FXRC_ALPHA_IMAGE 0x20 #define FXRC_ALPHA_OUTPUT 0x40 diff --git a/core/fxge/cfx_unicodeencoding.h b/core/fxge/cfx_unicodeencoding.h index d64d8877d9..40562e7c4a 100644 --- a/core/fxge/cfx_unicodeencoding.h +++ b/core/fxge/cfx_unicodeencoding.h @@ -9,9 +9,6 @@ #include "core/fxge/fx_font.h" -#define ENCODING_INTERNAL 0 -#define ENCODING_UNICODE 1 - #ifdef PDF_ENABLE_XFA #define FXFM_ENC_TAG(a, b, c, d) \ (((uint32_t)(a) << 24) | ((uint32_t)(b) << 16) | ((uint32_t)(c) << 8) | \ diff --git a/core/fxge/cttfontdesc.h b/core/fxge/cttfontdesc.h index 6eb36360c0..ee1e0b0102 100644 --- a/core/fxge/cttfontdesc.h +++ b/core/fxge/cttfontdesc.h @@ -10,14 +10,6 @@ #include "core/fxcrt/fx_system.h" #include "core/fxge/fx_font.h" -#define FX_FONT_FLAG_SERIF 0x01 -#define FX_FONT_FLAG_FIXEDPITCH 0x02 -#define FX_FONT_FLAG_ITALIC 0x04 -#define FX_FONT_FLAG_BOLD 0x08 -#define FX_FONT_FLAG_SYMBOLIC_SYMBOL 0x10 -#define FX_FONT_FLAG_SYMBOLIC_DINGBATS 0x20 -#define FX_FONT_FLAG_MULTIPLEMASTER 0x40 - class CTTFontDesc { public: CTTFontDesc() : m_Type(0), m_pFontData(nullptr), m_RefCount(0) {} -- cgit v1.2.3