#include "core/fxge/cfx_unicodeencodingex.h"
#include <memory>
#include "core/fxge/cfx_font.h"
#include "core/fxge/freetype/fx_freetype.h"
#include "core/fxge/fx_font.h"
#include "core/fxge/fx_fontencoding.h"
namespace {
constexpr fxge::FontEncoding kEncodingIDs[] = …;
std::unique_ptr<CFX_UnicodeEncodingEx> FXFM_CreateFontEncoding(
CFX_Font* pFont,
fxge::FontEncoding encoding_id) { … }
}
CFX_UnicodeEncodingEx::CFX_UnicodeEncodingEx(CFX_Font* pFont,
fxge::FontEncoding encoding_id)
: … { … }
CFX_UnicodeEncodingEx::~CFX_UnicodeEncodingEx() = default;
uint32_t CFX_UnicodeEncodingEx::GlyphFromCharCode(uint32_t charcode) { … }
uint32_t CFX_UnicodeEncodingEx::CharCodeFromUnicode(wchar_t Unicode) const { … }
std::unique_ptr<CFX_UnicodeEncodingEx> FX_CreateFontEncodingEx(
CFX_Font* pFont) { … }