From 812e96c2b4c5908a1979da5e27cdcecda0d1dfc9 Mon Sep 17 00:00:00 2001 From: Dan Sinclair Date: Mon, 13 Mar 2017 16:43:37 -0400 Subject: Replace FX_CHAR and FX_WCHAR with underlying types. Change-Id: I96e0a20d66b9184d22f64d8e4ce0dadd5a78c1e8 Reviewed-on: https://pdfium-review.googlesource.com/2967 Commit-Queue: dsinclair Reviewed-by: Tom Sepez --- xfa/fgas/font/cfgas_fontmgr.cpp | 44 ++++++++++++++++++++-------------------- xfa/fgas/font/cfgas_fontmgr.h | 40 ++++++++++++++++++------------------ xfa/fgas/font/cfgas_gefont.cpp | 23 ++++++++++----------- xfa/fgas/font/cfgas_gefont.h | 22 ++++++++++---------- xfa/fgas/font/fgas_fontutils.cpp | 4 ++-- xfa/fgas/font/fgas_fontutils.h | 4 ++-- 6 files changed, 68 insertions(+), 69 deletions(-) (limited to 'xfa/fgas/font') diff --git a/xfa/fgas/font/cfgas_fontmgr.cpp b/xfa/fgas/font/cfgas_fontmgr.cpp index aa41318f5d..0173a6a24c 100644 --- a/xfa/fgas/font/cfgas_fontmgr.cpp +++ b/xfa/fgas/font/cfgas_fontmgr.cpp @@ -113,7 +113,7 @@ CFGAS_FontMgr::~CFGAS_FontMgr() {} CFX_RetainPtr CFGAS_FontMgr::GetFontByCodePage( uint16_t wCodePage, uint32_t dwFontStyles, - const FX_WCHAR* pszFontFamily) { + const wchar_t* pszFontFamily) { uint32_t dwHash = FGAS_GetFontHashCode(wCodePage, dwFontStyles); auto it = m_CPFonts.find(dwHash); if (it != m_CPFonts.end()) { @@ -141,9 +141,9 @@ CFX_RetainPtr CFGAS_FontMgr::GetFontByCodePage( } CFX_RetainPtr CFGAS_FontMgr::GetFontByUnicode( - FX_WCHAR wUnicode, + wchar_t wUnicode, uint32_t dwFontStyles, - const FX_WCHAR* pszFontFamily) { + const wchar_t* pszFontFamily) { const FGAS_FONTUSB* pRet = FGAS_GetUnicodeBitField(wUnicode); if (pRet->wBitField == 999) return nullptr; @@ -166,7 +166,7 @@ CFX_RetainPtr CFGAS_FontMgr::GetFontByUnicode( return nullptr; uint16_t wCodePage = FX_GetCodePageFromCharset(pFD->uCharSet); - const FX_WCHAR* pFontFace = pFD->wsFontFace; + const wchar_t* pFontFace = pFD->wsFontFace; CFX_RetainPtr pFont = CFGAS_GEFont::LoadFont(pFontFace, dwFontStyles, wCodePage, this); if (!pFont) @@ -181,7 +181,7 @@ CFX_RetainPtr CFGAS_FontMgr::GetFontByUnicode( } CFX_RetainPtr CFGAS_FontMgr::LoadFont( - const FX_WCHAR* pszFontFamily, + const wchar_t* pszFontFamily, uint32_t dwFontStyles, uint16_t wCodePage) { CFX_RetainPtr pFont; @@ -262,12 +262,12 @@ void CFGAS_FontMgr::RemoveFont(const CFX_RetainPtr& pFont) { m_Fonts.erase(it); } -const FX_FONTDESCRIPTOR* CFGAS_FontMgr::FindFont(const FX_WCHAR* pszFontFamily, +const FX_FONTDESCRIPTOR* CFGAS_FontMgr::FindFont(const wchar_t* pszFontFamily, uint32_t dwFontStyles, uint32_t dwMatchFlags, uint16_t wCodePage, uint32_t dwUSB, - FX_WCHAR wUnicode) { + wchar_t wUnicode) { FX_FONTMATCHPARAMS params; FXSYS_memset(¶ms, 0, sizeof(params)); params.dwUSB = dwUSB; @@ -325,7 +325,7 @@ static int32_t CALLBACK FX_GdiFontEnumProc(ENUMLOGFONTEX* lpelfe, FXSYS_memset(pFont, 0, sizeof(FX_FONTDESCRIPTOR)); pFont->uCharSet = lf.lfCharSet; pFont->dwFontStyles = FX_GetGdiFontStyles(lf); - FXSYS_wcsncpy(pFont->wsFontFace, (const FX_WCHAR*)lf.lfFaceName, 31); + FXSYS_wcsncpy(pFont->wsFontFace, (const wchar_t*)lf.lfFaceName, 31); pFont->wsFontFace[31] = 0; FXSYS_memcpy(&pFont->FontSignature, &lpntme->ntmFontSig, sizeof(lpntme->ntmFontSig)); @@ -335,8 +335,8 @@ static int32_t CALLBACK FX_GdiFontEnumProc(ENUMLOGFONTEX* lpelfe, } static void FX_EnumGdiFonts(std::deque* fonts, - const FX_WCHAR* pwsFaceName, - FX_WCHAR wUnicode) { + const wchar_t* pwsFaceName, + wchar_t wUnicode) { HDC hDC = ::GetDC(nullptr); LOGFONTW lfFind; FXSYS_memset(&lfFind, 0, sizeof(lfFind)); @@ -358,7 +358,7 @@ FX_LPEnumAllFonts FX_GetDefFontEnumerator() { namespace { -const FX_CHAR* g_FontFolders[] = { +const char* g_FontFolders[] = { #if _FXM_PLATFORM_ == _FXM_PLATFORM_LINUX_ "/usr/share/fonts", "/usr/share/X11/fonts/Type1", "/usr/share/X11/fonts/TTF", "/usr/local/share/fonts", @@ -396,7 +396,7 @@ uint16_t FX_GetCodePageBit(uint16_t wCodePage) { return static_cast(-1); } -uint16_t FX_GetUnicodeBit(FX_WCHAR wcUnicode) { +uint16_t FX_GetUnicodeBit(wchar_t wcUnicode) { const FGAS_FONTUSB* x = FGAS_GetUnicodeBitField(wcUnicode); return x ? x->wBitField : 999; } @@ -616,7 +616,7 @@ bool CFGAS_FontMgr::EnumFonts() { } CFX_RetainPtr CFGAS_FontMgr::LoadFont( - const FX_WCHAR* pszFontFamily, + const wchar_t* pszFontFamily, uint32_t dwFontStyles, uint16_t wCodePage) { return GetFontByCodePage(wCodePage, dwFontStyles, pszFontFamily); @@ -625,7 +625,7 @@ CFX_RetainPtr CFGAS_FontMgr::LoadFont( CFX_RetainPtr CFGAS_FontMgr::GetFontByCodePage( uint16_t wCodePage, uint32_t dwFontStyles, - const FX_WCHAR* pszFontFamily) { + const wchar_t* pszFontFamily) { CFX_ByteString bsHash; bsHash.Format("%d, %d", wCodePage, dwFontStyles); bsHash += FX_UTF8Encode(CFX_WideStringC(pszFontFamily)); @@ -658,9 +658,9 @@ CFX_RetainPtr CFGAS_FontMgr::GetFontByCodePage( } CFX_RetainPtr CFGAS_FontMgr::GetFontByUnicode( - FX_WCHAR wUnicode, + wchar_t wUnicode, uint32_t dwFontStyles, - const FX_WCHAR* pszFontFamily) { + const wchar_t* pszFontFamily) { if (pdfium::ContainsKey(m_FailedUnicodesSet, wUnicode)) return nullptr; @@ -706,7 +706,7 @@ CFX_RetainPtr CFGAS_FontMgr::GetFontByUnicode( } bool CFGAS_FontMgr::VerifyUnicode(CFX_FontDescriptor* pDesc, - FX_WCHAR wcUnicode) { + wchar_t wcUnicode) { CFX_RetainPtr pFileRead = CreateFontStream(pDesc->m_wsFaceName.UTF8Encode()); if (!pFileRead) @@ -726,7 +726,7 @@ bool CFGAS_FontMgr::VerifyUnicode(CFX_FontDescriptor* pDesc, } bool CFGAS_FontMgr::VerifyUnicode(const CFX_RetainPtr& pFont, - FX_WCHAR wcUnicode) { + wchar_t wcUnicode) { if (!pFont) return false; @@ -878,7 +878,7 @@ void CFGAS_FontMgr::MatchFonts( uint16_t wCodePage, uint32_t dwFontStyles, const CFX_WideString& FontName, - FX_WCHAR wcUnicode) { + wchar_t wcUnicode) { pMatchedFonts->clear(); for (const auto& pFont : m_InstalledFonts) { int32_t nPenalty = @@ -896,7 +896,7 @@ int32_t CFGAS_FontMgr::CalcPenalty(CFX_FontDescriptor* pInstalled, uint16_t wCodePage, uint32_t dwFontStyles, const CFX_WideString& FontName, - FX_WCHAR wcUnicode) { + wchar_t wcUnicode) { int32_t nPenalty = 30000; if (FontName.GetLength() != 0) { if (FontName != pInstalled->m_wsFaceName) { @@ -1077,14 +1077,14 @@ void CFGAS_FontMgr::GetNames(const uint8_t* name_table, wsFamily.clear(); if (nPlatformID != 1) { for (uint16_t k = 0; k < nNameLength / 2; k++) { - FX_WCHAR wcTemp = GetUInt16(lpStr + nNameOffset + k * 2); + wchar_t wcTemp = GetUInt16(lpStr + nNameOffset + k * 2); wsFamily += wcTemp; } Names.push_back(wsFamily); continue; } for (uint16_t k = 0; k < nNameLength; k++) { - FX_WCHAR wcTemp = GetUInt8(lpStr + nNameOffset + k); + wchar_t wcTemp = GetUInt8(lpStr + nNameOffset + k); wsFamily += wcTemp; } Names.push_back(wsFamily); diff --git a/xfa/fgas/font/cfgas_fontmgr.h b/xfa/fgas/font/cfgas_fontmgr.h index 23ab523e78..63a8d3b146 100644 --- a/xfa/fgas/font/cfgas_fontmgr.h +++ b/xfa/fgas/font/cfgas_fontmgr.h @@ -40,11 +40,11 @@ class CFGAS_GEFont; #define FX_FONTMATCHPARA_MatchStyle 0x01 struct FX_FONTMATCHPARAMS { - const FX_WCHAR* pwsFamily; + const wchar_t* pwsFamily; uint32_t dwFontStyles; uint32_t dwUSB; uint32_t dwMatchFlags; - FX_WCHAR wUnicode; + wchar_t wUnicode; uint16_t wCodePage; }; @@ -61,7 +61,7 @@ inline bool operator==(const FX_FONTSIGNATURE& left, } struct FX_FONTDESCRIPTOR { - FX_WCHAR wsFontFace[32]; + wchar_t wsFontFace[32]; uint32_t dwFontStyles; uint8_t uCharSet; FX_FONTSIGNATURE FontSignature; @@ -76,8 +76,8 @@ inline bool operator==(const FX_FONTDESCRIPTOR& left, } typedef void (*FX_LPEnumAllFonts)(std::deque* fonts, - const FX_WCHAR* pwsFaceName, - FX_WCHAR wUnicode); + const wchar_t* pwsFaceName, + wchar_t wUnicode); FX_LPEnumAllFonts FX_GetDefFontEnumerator(); @@ -90,11 +90,11 @@ class CFGAS_FontMgr { CFX_RetainPtr GetFontByCodePage(uint16_t wCodePage, uint32_t dwFontStyles, - const FX_WCHAR* pszFontFamily); - CFX_RetainPtr GetFontByUnicode(FX_WCHAR wUnicode, + const wchar_t* pszFontFamily); + CFX_RetainPtr GetFontByUnicode(wchar_t wUnicode, uint32_t dwFontStyles, - const FX_WCHAR* pszFontFamily); - CFX_RetainPtr LoadFont(const FX_WCHAR* pszFontFamily, + const wchar_t* pszFontFamily); + CFX_RetainPtr LoadFont(const wchar_t* pszFontFamily, uint32_t dwFontStyles, uint16_t wCodePage); void RemoveFont(const CFX_RetainPtr& pFont); @@ -106,12 +106,12 @@ class CFGAS_FontMgr { uint16_t wCodePage); void RemoveFont(std::map>* pFontMap, const CFX_RetainPtr& pFont); - const FX_FONTDESCRIPTOR* FindFont(const FX_WCHAR* pszFontFamily, + const FX_FONTDESCRIPTOR* FindFont(const wchar_t* pszFontFamily, uint32_t dwFontStyles, uint32_t dwMatchFlags, uint16_t wCodePage, uint32_t dwUSB = 999, - FX_WCHAR wUnicode = 0); + wchar_t wUnicode = 0); FX_LPEnumAllFonts m_pEnumerator; std::deque m_FontFaces; @@ -190,11 +190,11 @@ class CFGAS_FontMgr { CFX_RetainPtr GetFontByCodePage(uint16_t wCodePage, uint32_t dwFontStyles, - const FX_WCHAR* pszFontFamily); - CFX_RetainPtr GetFontByUnicode(FX_WCHAR wUnicode, + const wchar_t* pszFontFamily); + CFX_RetainPtr GetFontByUnicode(wchar_t wUnicode, uint32_t dwFontStyles, - const FX_WCHAR* pszFontFamily); - CFX_RetainPtr LoadFont(const FX_WCHAR* pszFontFamily, + const wchar_t* pszFontFamily); + CFX_RetainPtr LoadFont(const wchar_t* pszFontFamily, uint32_t dwFontStyles, uint16_t wCodePage); void RemoveFont(const CFX_RetainPtr& pFont); @@ -210,20 +210,20 @@ class CFGAS_FontMgr { std::vector GetCharsets(FXFT_Face pFace) const; void GetUSBCSB(FXFT_Face pFace, uint32_t* USB, uint32_t* CSB); uint32_t GetFlags(FXFT_Face pFace); - bool VerifyUnicode(CFX_FontDescriptor* pDesc, FX_WCHAR wcUnicode); + bool VerifyUnicode(CFX_FontDescriptor* pDesc, wchar_t wcUnicode); bool VerifyUnicode(const CFX_RetainPtr& pFont, - FX_WCHAR wcUnicode); + wchar_t wcUnicode); int32_t IsPartName(const CFX_WideString& Name1, const CFX_WideString& Name2); void MatchFonts(std::vector* MatchedFonts, uint16_t wCodePage, uint32_t dwFontStyles, const CFX_WideString& FontName, - FX_WCHAR wcUnicode = 0xFFFE); + wchar_t wcUnicode = 0xFFFE); int32_t CalcPenalty(CFX_FontDescriptor* pInstalled, uint16_t wCodePage, uint32_t dwFontStyles, const CFX_WideString& FontName, - FX_WCHAR wcUnicode = 0xFFFE); + wchar_t wcUnicode = 0xFFFE); CFX_RetainPtr LoadFont(const CFX_WideString& wsFaceName, int32_t iFaceIndex, int32_t* pFaceCount); @@ -243,7 +243,7 @@ class CFGAS_FontMgr { std::map>> m_Hash2Fonts; std::map, CFX_RetainPtr> m_IFXFont2FileRead; - std::set m_FailedUnicodesSet; + std::set m_FailedUnicodesSet; }; #endif // _FXM_PLATFORM_ == _FXM_PLATFORM_WINDOWS_ diff --git a/xfa/fgas/font/cfgas_gefont.cpp b/xfa/fgas/font/cfgas_gefont.cpp index 2d5a927cde..769ce36417 100644 --- a/xfa/fgas/font/cfgas_gefont.cpp +++ b/xfa/fgas/font/cfgas_gefont.cpp @@ -18,11 +18,10 @@ #include "xfa/fxfa/xfa_fontmgr.h" // static -CFX_RetainPtr CFGAS_GEFont::LoadFont( - const FX_WCHAR* pszFontFamily, - uint32_t dwFontStyles, - uint16_t wCodePage, - CFGAS_FontMgr* pFontMgr) { +CFX_RetainPtr CFGAS_GEFont::LoadFont(const wchar_t* pszFontFamily, + uint32_t dwFontStyles, + uint16_t wCodePage, + CFGAS_FontMgr* pFontMgr) { #if _FXM_PLATFORM_ != _FXM_PLATFORM_WINDOWS_ if (!pFontMgr) return nullptr; @@ -123,7 +122,7 @@ CFGAS_GEFont::~CFGAS_GEFont() { } #if _FXM_PLATFORM_ == _FXM_PLATFORM_WINDOWS_ -bool CFGAS_GEFont::LoadFontInternal(const FX_WCHAR* pszFontFamily, +bool CFGAS_GEFont::LoadFontInternal(const wchar_t* pszFontFamily, uint32_t dwFontStyles, uint16_t wCodePage) { if (m_pFont) @@ -259,13 +258,13 @@ uint32_t CFGAS_GEFont::GetFontStyles() const { return dwStyles; } -bool CFGAS_GEFont::GetCharWidth(FX_WCHAR wUnicode, +bool CFGAS_GEFont::GetCharWidth(wchar_t wUnicode, int32_t& iWidth, bool bCharCode) { return GetCharWidthInternal(wUnicode, iWidth, true, bCharCode); } -bool CFGAS_GEFont::GetCharWidthInternal(FX_WCHAR wUnicode, +bool CFGAS_GEFont::GetCharWidthInternal(wchar_t wUnicode, int32_t& iWidth, bool bRecursive, bool bCharCode) { @@ -299,13 +298,13 @@ bool CFGAS_GEFont::GetCharWidthInternal(FX_WCHAR wUnicode, return iWidth > 0; } -bool CFGAS_GEFont::GetCharBBox(FX_WCHAR wUnicode, +bool CFGAS_GEFont::GetCharBBox(wchar_t wUnicode, CFX_Rect* bbox, bool bCharCode) { return GetCharBBoxInternal(wUnicode, bbox, true, bCharCode); } -bool CFGAS_GEFont::GetCharBBoxInternal(FX_WCHAR wUnicode, +bool CFGAS_GEFont::GetCharBBoxInternal(wchar_t wUnicode, CFX_Rect* bbox, bool bRecursive, bool bCharCode) { @@ -345,11 +344,11 @@ bool CFGAS_GEFont::GetBBox(CFX_Rect* bbox) { return true; } -int32_t CFGAS_GEFont::GetGlyphIndex(FX_WCHAR wUnicode, bool bCharCode) { +int32_t CFGAS_GEFont::GetGlyphIndex(wchar_t wUnicode, bool bCharCode) { return GetGlyphIndex(wUnicode, true, nullptr, bCharCode); } -int32_t CFGAS_GEFont::GetGlyphIndex(FX_WCHAR wUnicode, +int32_t CFGAS_GEFont::GetGlyphIndex(wchar_t wUnicode, bool bRecursive, CFX_RetainPtr* ppFont, bool bCharCode) { diff --git a/xfa/fgas/font/cfgas_gefont.h b/xfa/fgas/font/cfgas_gefont.h index 0a8e7bad76..b460cee496 100644 --- a/xfa/fgas/font/cfgas_gefont.h +++ b/xfa/fgas/font/cfgas_gefont.h @@ -28,7 +28,7 @@ class CFGAS_GEFont : public CFX_Retainable { template friend CFX_RetainPtr pdfium::MakeRetain(Args&&... args); - static CFX_RetainPtr LoadFont(const FX_WCHAR* pszFontFamily, + static CFX_RetainPtr LoadFont(const wchar_t* pszFontFamily, uint32_t dwFontStyles, uint16_t wCodePage, CFGAS_FontMgr* pFontMgr); @@ -50,11 +50,11 @@ class CFGAS_GEFont : public CFX_Retainable { CFX_RetainPtr Derive(uint32_t dwFontStyles, uint16_t wCodePage = 0); uint32_t GetFontStyles() const; - bool GetCharWidth(FX_WCHAR wUnicode, int32_t& iWidth, bool bCharCode); - int32_t GetGlyphIndex(FX_WCHAR wUnicode, bool bCharCode = false); + bool GetCharWidth(wchar_t wUnicode, int32_t& iWidth, bool bCharCode); + int32_t GetGlyphIndex(wchar_t wUnicode, bool bCharCode = false); int32_t GetAscent() const; int32_t GetDescent() const; - bool GetCharBBox(FX_WCHAR wUnicode, CFX_Rect* bbox, bool bCharCode = false); + bool GetCharBBox(wchar_t wUnicode, CFX_Rect* bbox, bool bCharCode = false); bool GetBBox(CFX_Rect* bbox); CFX_RetainPtr GetSubstFont(int32_t iGlyphIndex); CFX_Font* GetDevFont() const { return m_pFont; } @@ -72,7 +72,7 @@ class CFGAS_GEFont : public CFX_Retainable { ~CFGAS_GEFont() override; #if _FXM_PLATFORM_ == _FXM_PLATFORM_WINDOWS_ - bool LoadFontInternal(const FX_WCHAR* pszFontFamily, + bool LoadFontInternal(const wchar_t* pszFontFamily, uint32_t dwFontStyles, uint16_t wCodePage); bool LoadFontInternal(const uint8_t* pBuffer, int32_t length); @@ -82,15 +82,15 @@ class CFGAS_GEFont : public CFX_Retainable { bool LoadFontInternal(CFX_Font* pExternalFont); bool LoadFontInternal(std::unique_ptr pInternalFont); bool InitFont(); - bool GetCharBBoxInternal(FX_WCHAR wUnicode, + bool GetCharBBoxInternal(wchar_t wUnicode, CFX_Rect* bbox, bool bRecursive, bool bCharCode = false); - bool GetCharWidthInternal(FX_WCHAR wUnicode, + bool GetCharWidthInternal(wchar_t wUnicode, int32_t& iWidth, bool bRecursive, bool bCharCode); - int32_t GetGlyphIndex(FX_WCHAR wUnicode, + int32_t GetGlyphIndex(wchar_t wUnicode, bool bRecursive, CFX_RetainPtr* ppFont, bool bCharCode = false); @@ -107,11 +107,11 @@ class CFGAS_GEFont : public CFX_Retainable { CFX_RetainPtr m_pStream; CFX_RetainPtr m_pFileRead; std::unique_ptr m_pFontEncoding; - std::map m_CharWidthMap; - std::map m_BBoxMap; + std::map m_CharWidthMap; + std::map m_BBoxMap; CXFA_PDFFontMgr* m_pProvider; // not owned. std::vector> m_SubstFonts; - std::map> m_FontMapper; + std::map> m_FontMapper; }; #endif // XFA_FGAS_FONT_CFGAS_GEFONT_H_ diff --git a/xfa/fgas/font/fgas_fontutils.cpp b/xfa/fgas/font/fgas_fontutils.cpp index e74056b53e..e775ebdf0c 100644 --- a/xfa/fgas/font/fgas_fontutils.cpp +++ b/xfa/fgas/font/fgas_fontutils.cpp @@ -31,7 +31,7 @@ uint32_t FGAS_GetFontHashCode(uint16_t wCodePage, uint32_t dwFontStyles) { } return dwHash; } -uint32_t FGAS_GetFontFamilyHash(const FX_WCHAR* pszFontFamily, +uint32_t FGAS_GetFontFamilyHash(const wchar_t* pszFontFamily, uint32_t dwFontStyles, uint16_t wCodePage) { CFX_WideString wsFont(pszFontFamily); @@ -134,7 +134,7 @@ static const FGAS_FONTUSB g_FXGdiFontUSBTable[] = { {0xFFA0, 0xFFEF, 68, 0xFFFF}, }; -const FGAS_FONTUSB* FGAS_GetUnicodeBitField(FX_WCHAR wUnicode) { +const FGAS_FONTUSB* FGAS_GetUnicodeBitField(wchar_t wUnicode) { int32_t iEnd = sizeof(g_FXGdiFontUSBTable) / sizeof(FGAS_FONTUSB) - 1; ASSERT(iEnd >= 0); int32_t iStart = 0, iMid; diff --git a/xfa/fgas/font/fgas_fontutils.h b/xfa/fgas/font/fgas_fontutils.h index d7055ced9b..d92b469e7b 100644 --- a/xfa/fgas/font/fgas_fontutils.h +++ b/xfa/fgas/font/fgas_fontutils.h @@ -17,9 +17,9 @@ struct FGAS_FONTUSB { }; uint32_t FGAS_GetFontHashCode(uint16_t wCodePage, uint32_t dwFontStyles); -uint32_t FGAS_GetFontFamilyHash(const FX_WCHAR* pszFontFamily, +uint32_t FGAS_GetFontFamilyHash(const wchar_t* pszFontFamily, uint32_t dwFontStyles, uint16_t wCodePage); -const FGAS_FONTUSB* FGAS_GetUnicodeBitField(FX_WCHAR wUnicode); +const FGAS_FONTUSB* FGAS_GetUnicodeBitField(wchar_t wUnicode); #endif // XFA_FGAS_FONT_FGAS_FONTUTILS_H_ -- cgit v1.2.3