summaryrefslogtreecommitdiff
path: root/core/fxge
diff options
context:
space:
mode:
authorDan Sinclair <dsinclair@chromium.org>2017-10-02 09:10:06 -0400
committerChromium commit bot <commit-bot@chromium.org>2017-10-02 13:32:00 +0000
commit59dfc62e56ec5dd88e5445e13467e0e1a3f1690f (patch)
tree9980509b79377dfb225ee32d4d3e98d27e14c639 /core/fxge
parenta5c32a120ae918ecebab4042b3e52278f7a24b51 (diff)
downloadpdfium-59dfc62e56ec5dd88e5445e13467e0e1a3f1690f.tar.xz
Removing unused defines
Remove unused defines. Change-Id: Ibf10d8470f19cbf4528fe1342398a39ef15c1d12 Reviewed-on: https://pdfium-review.googlesource.com/15110 Commit-Queue: dsinclair <dsinclair@chromium.org> Reviewed-by: Ryan Harrison <rharrison@chromium.org>
Diffstat (limited to 'core/fxge')
-rw-r--r--core/fxge/cfx_renderdevice.h1
-rw-r--r--core/fxge/cfx_unicodeencoding.h3
-rw-r--r--core/fxge/cttfontdesc.h8
3 files changed, 0 insertions, 12 deletions
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) {}