summaryrefslogtreecommitdiff
path: root/fpdfsdk/include/pdfwindow
diff options
context:
space:
mode:
authorTom Sepez <tsepez@chromium.org>2015-05-12 12:37:14 -0700
committerTom Sepez <tsepez@chromium.org>2015-05-12 12:37:14 -0700
commit2a0bb3bcf8db77f9ad39a5a868548ea8465244a4 (patch)
tree700477de521d9d91af3f09b077e175679fc730a6 /fpdfsdk/include/pdfwindow
parentfc736d861fdb4081b1cfe5ea157031adae0b2cc0 (diff)
downloadpdfium-2a0bb3bcf8db77f9ad39a5a868548ea8465244a4.tar.xz
Merge to XFA: NEW public API for pdfwindow font manipulation.
Original Review URL: https://codereview.chromium.org/1126283004 BUG=486818 TBR=thestig@chromium.org Review URL: https://codereview.chromium.org/1137163002
Diffstat (limited to 'fpdfsdk/include/pdfwindow')
-rw-r--r--fpdfsdk/include/pdfwindow/PWL_FontMap.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/fpdfsdk/include/pdfwindow/PWL_FontMap.h b/fpdfsdk/include/pdfwindow/PWL_FontMap.h
index a7aac6d698..2ff6c0f38c 100644
--- a/fpdfsdk/include/pdfwindow/PWL_FontMap.h
+++ b/fpdfsdk/include/pdfwindow/PWL_FontMap.h
@@ -7,6 +7,7 @@
#ifndef _PWL_FONTMAP_H_
#define _PWL_FONTMAP_H_
+#include "../../../public/fpdf_sysfontinfo.h"
#include "../fxedit/fx_edit.h"
class CPDF_Document;
@@ -111,10 +112,7 @@ private:
CFX_ByteString GetNativeFont(FX_INT32 nCharset);
public:
- struct CharsetFontMap {
- FX_INT32 charset;
- const char* fontname;
- };
+ using CharsetFontMap = FPDF_CharsetFontMap;
static const CharsetFontMap defaultTTFMap[];
protected: