diff options
author | Lei Zhang <thestig@chromium.org> | 2015-08-17 15:05:46 -0700 |
---|---|---|
committer | Lei Zhang <thestig@chromium.org> | 2015-08-17 15:05:46 -0700 |
commit | 52a48aadc19b2dee8abeb702269bb168eb6b6999 (patch) | |
tree | e3a77486e920c04abe2f0890c1baa70399d5ab80 /core/src/fxge/ge/text_int.h | |
parent | 9494421208674d2c57a9f864d342f017c0b20902 (diff) | |
download | pdfium-52a48aadc19b2dee8abeb702269bb168eb6b6999.tar.xz |
Cleanup CFX_UnicodeEncoding and remove IFX_FontEncoding.
R=tsepez@chromium.org
Review URL: https://codereview.chromium.org/1296753003 .
Diffstat (limited to 'core/src/fxge/ge/text_int.h')
-rw-r--r-- | core/src/fxge/ge/text_int.h | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/core/src/fxge/ge/text_int.h b/core/src/fxge/ge/text_int.h index e9f81b3ca7..61f47eac9c 100644 --- a/core/src/fxge/ge/text_int.h +++ b/core/src/fxge/ge/text_int.h @@ -41,23 +41,7 @@ class CTTFontDesc { uint8_t* m_pFontData; int m_RefCount; }; -class CFX_UnicodeEncoding : public IFX_FontEncoding { - public: - CFX_UnicodeEncoding(CFX_Font* pFont); - virtual FX_DWORD GlyphFromCharCodeEx(FX_DWORD charcode, - int encoding = ENCODING_UNICODE); - private: - CFX_Font* m_pFont; - virtual FX_DWORD GlyphFromCharCode(FX_DWORD charcode); - virtual CFX_WideString UnicodeFromCharCode(FX_DWORD charcode) const { - return CFX_WideString((FX_WCHAR)charcode); - } - virtual FX_DWORD CharCodeFromUnicode(FX_WCHAR Unicode) const { - return Unicode; - } - virtual FX_BOOL IsUnicodeCompatible() const { return TRUE; } -}; #define CHARSET_FLAG_ANSI 1 #define CHARSET_FLAG_SYMBOL 2 #define CHARSET_FLAG_SHIFTJIS 4 |