Home
last modified time | relevance | path

Searched refs:wUnicode (Results 1 – 10 of 10) sorted by relevance

/external/pdfium/xfa/fgas/font/
Dcfgas_gefont.cpp158 bool CFGAS_GEFont::GetCharWidth(wchar_t wUnicode, int32_t& iWidth) { in GetCharWidth() argument
159 auto it = m_CharWidthMap.find(wUnicode); in GetCharWidth()
168 wUnicode, &iWidth)) { in GetCharWidth()
171 std::tie(iGlyph, pFont) = GetGlyphIndexAndFont(wUnicode, true); in GetCharWidth()
177 } else if (pFont->GetCharWidth(wUnicode, iWidth)) { in GetCharWidth()
184 m_CharWidthMap[wUnicode] = iWidth; in GetCharWidth()
188 bool CFGAS_GEFont::GetCharBBox(wchar_t wUnicode, CFX_Rect* bbox) { in GetCharBBox() argument
189 auto it = m_BBoxMap.find(wUnicode); in GetCharBBox()
197 std::tie(iGlyph, pFont) = GetGlyphIndexAndFont(wUnicode, true); in GetCharBBox()
202 return pFont->GetCharBBox(wUnicode, bbox); in GetCharBBox()
[all …]
Dcfgas_gefont.h41 bool GetCharWidth(wchar_t wUnicode, int32_t& iWidth);
42 int32_t GetGlyphIndex(wchar_t wUnicode);
46 bool GetCharBBox(wchar_t wUnicode, CFX_Rect* bbox);
77 wchar_t wUnicode,
Dcfgas_fontmgr.h35 wchar_t wUnicode; member
68 wchar_t wUnicode);
137 RetainPtr<CFGAS_GEFont> GetFontByUnicode(wchar_t wUnicode,
154 wchar_t wUnicode);
Dcfgas_fontmgr.cpp191 wchar_t wUnicode) { in EnumGdiFonts() argument
223 wchar_t wUnicode) { in FindFont() argument
227 params.wUnicode = wUnicode; in FindFont()
240 m_pEnumerator(&namedFonts, pszFontFamily, wUnicode); in FindFont()
1001 wchar_t wUnicode, in GetFontByUnicode() argument
1005 if (pdfium::ContainsKey(m_FailedUnicodesSet, wUnicode)) in GetFontByUnicode()
1009 const FGAS_FONTUSB* x = FGAS_GetUnicodeBitField(wUnicode); in GetFontByUnicode()
1023 if (VerifyUnicode((*pFonts)[i], wUnicode)) in GetFontByUnicode()
1028 wCodePage, wBitField, wUnicode); in GetFontByUnicode()
1031 FindFont(nullptr, dwFontStyles, false, wCodePage, wBitField, wUnicode); in GetFontByUnicode()
[all …]
Dcfgas_pdffontmgr.cpp187 wchar_t wUnicode, in GetCharWidth() argument
189 if (wUnicode != 0x20) in GetCharWidth()
197 *pWidth = pPDFFont->GetCharWidthF(pPDFFont->CharCodeFromUnicode(wUnicode)); in GetCharWidth()
Dfgas_fontutils.h19 const FGAS_FONTUSB* FGAS_GetUnicodeBitField(wchar_t wUnicode);
Dcfgas_pdffontmgr.h34 wchar_t wUnicode,
Dfgas_fontutils.cpp1871 const FGAS_FONTUSB* FGAS_GetUnicodeBitField(wchar_t wUnicode) { in FGAS_GetUnicodeBitField() argument
1880 if (wUnicode < usb.wStartUnicode) in FGAS_GetUnicodeBitField()
1882 else if (wUnicode > usb.wEndUnicode) in FGAS_GetUnicodeBitField()
/external/pdfium/core/fxge/android/
Dcfpf_skiafont.cpp56 int32_t CFPF_SkiaFont::GetGlyphIndex(wchar_t wUnicode) { in GetGlyphIndex() argument
58 return wUnicode; in GetGlyphIndex()
61 return FXFT_Get_Char_Index(m_Face, wUnicode); in GetGlyphIndex()
Dcfpf_skiafont.h29 int32_t GetGlyphIndex(wchar_t wUnicode);