diff options
author | Lei Zhang <thestig@chromium.org> | 2015-02-06 16:51:37 -0800 |
---|---|---|
committer | Lei Zhang <thestig@chromium.org> | 2015-02-06 16:51:37 -0800 |
commit | 44fc192f29a77c5864fabffe5ab63937dacdfd21 (patch) | |
tree | ba9b1031ef1856e5f2d9a0dca0ccc9e5bdb37e3f /core/src/fxge/ge | |
parent | 3f41851972a18762164d7110a82da3baed564b80 (diff) | |
download | pdfium-44fc192f29a77c5864fabffe5ab63937dacdfd21.tar.xz |
Cleanup: Fix some unused-function warnings.
BUG=pdfium:29
R=tsepez@chromium.org
Review URL: https://codereview.chromium.org/891113002
Diffstat (limited to 'core/src/fxge/ge')
-rw-r--r-- | core/src/fxge/ge/fx_ge_fontmap.cpp | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/core/src/fxge/ge/fx_ge_fontmap.cpp b/core/src/fxge/ge/fx_ge_fontmap.cpp index 22c399150d..079c485b01 100644 --- a/core/src/fxge/ge/fx_ge_fontmap.cpp +++ b/core/src/fxge/ge/fx_ge_fontmap.cpp @@ -748,19 +748,6 @@ FX_DWORD _GetCodePageRangeFromCharset(int charset) } return 1 << 21; } -static int CP2CharSet(int cp) -{ - if(cp == 932) { - return FXFONT_SHIFTJIS_CHARSET; - } else if(cp == 936) { - return FXFONT_GB2312_CHARSET; - } else if(cp == 949) { - return FXFONT_HANGEUL_CHARSET; - } else if(cp == 950) { - return FXFONT_CHINESEBIG5_CHARSET; - } - return FXFONT_DEFAULT_CHARSET; -} FXFT_Face CFX_FontMapper::UseInternalSubst(CFX_SubstFont* pSubstFont, int iBaseFont, int italic_angle, int weight, int picthfamily) { if (iBaseFont < 12) { |