diff options
author | Nicolas Pena <npm@chromium.org> | 2017-02-24 16:16:02 -0500 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2017-02-24 21:37:22 +0000 |
commit | 412fa65331cc04776bf1e3da5f51f29ea0fc7937 (patch) | |
tree | c705c0fdbf29e1b51ff268aa18352e1ffd6c0562 /core/fpdfapi/font/cpdf_font.h | |
parent | 0b6447a7231b5263d10f2bd9be3088f93af9629f (diff) | |
download | pdfium-412fa65331cc04776bf1e3da5f51f29ea0fc7937.tar.xz |
Remove repeated flags from CPDF_Fontchromium/3023
Moved all the flags to CFX_Font. Explicitly stated which ones are valued
according to the PDF spec to avoid their values being changed.
Change-Id: Ib57593234a4b9b83ef1ad593d0396c64159f303f
Reviewed-on: https://pdfium-review.googlesource.com/2837
Commit-Queue: Nicolás Peña <npm@chromium.org>
Reviewed-by: Tom Sepez <tsepez@chromium.org>
Diffstat (limited to 'core/fpdfapi/font/cpdf_font.h')
-rw-r--r-- | core/fpdfapi/font/cpdf_font.h | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/core/fpdfapi/font/cpdf_font.h b/core/fpdfapi/font/cpdf_font.h index 0a46f65fe0..6025a82d7a 100644 --- a/core/fpdfapi/font/cpdf_font.h +++ b/core/fpdfapi/font/cpdf_font.h @@ -14,17 +14,6 @@ #include "core/fxcrt/fx_system.h" #include "core/fxge/fx_font.h" -#define PDFFONT_FIXEDPITCH 1 -#define PDFFONT_SERIF 2 -#define PDFFONT_SYMBOLIC 4 -#define PDFFONT_SCRIPT 8 -#define PDFFONT_NONSYMBOLIC 32 -#define PDFFONT_ITALIC 64 -#define PDFFONT_ALLCAP 0x10000 -#define PDFFONT_SMALLCAP 0x20000 -#define PDFFONT_FORCEBOLD 0x40000 -#define PDFFONT_USEEXTERNATTR 0x80000 - class CFX_SubstFont; class CPDF_CIDFont; class CPDF_Dictionary; |