diff options
author | Dan Sinclair <dsinclair@chromium.org> | 2018-03-06 18:56:33 +0000 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2018-03-06 18:56:33 +0000 |
commit | f8af565a78ee1910b8c98a5bdfb9ab6b88442317 (patch) | |
tree | 89f09c7bb361b255c09cc8627317750a19bf4949 /core/fxge/ifx_systemfontinfo.h | |
parent | a32145f1f16b7b02110bf359208f587d7d486551 (diff) | |
download | pdfium-f8af565a78ee1910b8c98a5bdfb9ab6b88442317.tar.xz |
Rename IFX classes in core/fxge to Ifacechromium/3364
This CL renames IFX classes in core/fxge to Iface.
Change-Id: I137167ddd4ff1563d8002d9501222c27183408cc
Reviewed-on: https://pdfium-review.googlesource.com/27990
Reviewed-by: Tom Sepez <tsepez@chromium.org>
Commit-Queue: dsinclair <dsinclair@chromium.org>
Diffstat (limited to 'core/fxge/ifx_systemfontinfo.h')
-rw-r--r-- | core/fxge/ifx_systemfontinfo.h | 49 |
1 files changed, 0 insertions, 49 deletions
diff --git a/core/fxge/ifx_systemfontinfo.h b/core/fxge/ifx_systemfontinfo.h deleted file mode 100644 index 1ae097b9f9..0000000000 --- a/core/fxge/ifx_systemfontinfo.h +++ /dev/null @@ -1,49 +0,0 @@ -// Copyright 2016 PDFium Authors. All rights reserved. -// Use of this source code is governed by a BSD-style license that can be -// found in the LICENSE file. - -// Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com - -#ifndef CORE_FXGE_IFX_SYSTEMFONTINFO_H_ -#define CORE_FXGE_IFX_SYSTEMFONTINFO_H_ - -#include <memory> - -#include "core/fxge/cfx_fontmapper.h" - -const uint32_t kTableNAME = FXDWORD_GET_MSBFIRST("name"); -const uint32_t kTableTTCF = FXDWORD_GET_MSBFIRST("ttcf"); - -class IFX_SystemFontInfo { - public: - static std::unique_ptr<IFX_SystemFontInfo> CreateDefault( - const char** pUserPaths); - - virtual ~IFX_SystemFontInfo() = default; - - virtual bool EnumFontList(CFX_FontMapper* pMapper) = 0; - virtual void* MapFont(int weight, - bool bItalic, - int charset, - int pitch_family, - const char* face) = 0; - -#ifdef PDF_ENABLE_XFA - virtual void* MapFontByUnicode(uint32_t dwUnicode, - int weight, - bool bItalic, - int pitch_family); -#endif // PDF_ENABLE_XFA - - virtual void* GetFont(const char* face) = 0; - virtual uint32_t GetFontData(void* hFont, - uint32_t table, - uint8_t* buffer, - uint32_t size) = 0; - virtual bool GetFaceName(void* hFont, ByteString* name) = 0; - virtual bool GetFontCharset(void* hFont, int* charset) = 0; - virtual int GetFaceIndex(void* hFont); - virtual void DeleteFont(void* hFont) = 0; -}; - -#endif // CORE_FXGE_IFX_SYSTEMFONTINFO_H_ |