Home | History | Annotate | Download | only in font

Lines Matching defs:CFGAS_GEFont

7 #include "xfa/fgas/font/cfgas_gefont.h"
21 CFX_RetainPtr<CFGAS_GEFont> CFGAS_GEFont::LoadFont(
32 auto pFont = pdfium::MakeRetain<CFGAS_GEFont>(pFontMgr);
40 CFX_RetainPtr<CFGAS_GEFont> CFGAS_GEFont::LoadFont(CFX_Font* pExternalFont,
42 auto pFont = pdfium::MakeRetain<CFGAS_GEFont>(pFontMgr);
49 CFX_RetainPtr<CFGAS_GEFont> CFGAS_GEFont::LoadFont(
52 auto pFont = pdfium::MakeRetain<CFGAS_GEFont>(pFontMgr);
60 CFX_RetainPtr<CFGAS_GEFont> CFGAS_GEFont::LoadFont(const uint8_t* pBuffer,
63 auto pFont = pdfium::MakeRetain<CFGAS_GEFont>(pFontMgr);
70 CFX_RetainPtr<CFGAS_GEFont> CFGAS_GEFont::LoadFont(
74 auto pFont = pdfium::MakeRetain<CFGAS_GEFont>(pFontMgr);
81 CFGAS_GEFont::CFGAS_GEFont(CFGAS_FontMgr* pFontMgr)
93 CFGAS_GEFont::CFGAS_GEFont(const CFX_RetainPtr<CFGAS_GEFont>& src,
120 CFGAS_GEFont::~CFGAS_GEFont() {
126 bool CFGAS_GEFont::LoadFontInternal(const FX_WCHAR* pszFontFamily,
164 bool CFGAS_GEFont::LoadFontInternal(const uint8_t* pBuffer, int32_t length) {
174 bool CFGAS_GEFont::LoadFontInternal(
192 bool CFGAS_GEFont::LoadFontInternal(CFX_Font* pExternalFont) {
201 bool CFGAS_GEFont::LoadFontInternal(std::unique_ptr<CFX_Font> pInternalFont) {
210 bool CFGAS_GEFont::InitFont() {
226 CFX_RetainPtr<CFGAS_GEFont> CFGAS_GEFont::Derive(uint32_t dwFontStyles,
228 CFX_RetainPtr<CFGAS_GEFont> pFont(this);
231 return pdfium::MakeRetain<CFGAS_GEFont>(pFont, dwFontStyles);
234 CFX_WideString CFGAS_GEFont::GetFamilyName() const {
243 uint32_t CFGAS_GEFont::GetFontStyles() const {
266 bool CFGAS_GEFont::GetCharWidth(FX_WCHAR wUnicode,
272 bool CFGAS_GEFont::GetCharWidthInternal(FX_WCHAR wUnicode,
285 !m_pProvider->GetCharWidth(CFX_RetainPtr<CFGAS_GEFont>(this), wUnicode,
287 CFX_RetainPtr<CFGAS_GEFont> pFont;
306 bool CFGAS_GEFont::GetCharBBox(FX_WCHAR wUnicode,
312 bool CFGAS_GEFont::GetCharBBoxInternal(FX_WCHAR wUnicode,
322 CFX_RetainPtr<CFGAS_GEFont> pFont;
340 bool CFGAS_GEFont::GetBBox(CFX_Rect* bbox) {
352 int32_t CFGAS_GEFont::GetGlyphIndex(FX_WCHAR wUnicode, bool bCharCode) {
356 int32_t CFGAS_GEFont::GetGlyphIndex(FX_WCHAR wUnicode,
358 CFX_RetainPtr<CFGAS_GEFont>* ppFont,
392 CFX_RetainPtr<CFGAS_GEFont> pFont =
412 int32_t CFGAS_GEFont::GetAscent() const {
416 int32_t CFGAS_GEFont::GetDescent() const {
420 CFX_RetainPtr<CFGAS_GEFont> CFGAS_GEFont::GetSubstFont(int32_t iGlyphIndex) {
423 return CFX_RetainPtr<CFGAS_GEFont>(this);