Home
last modified time | relevance | path

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

/external/pdfium/core/fxge/
Dcfx_font.cpp318 FT_Set_Pixel_Sizes(m_Face->GetRec(), 0, 64); in LoadFile()
357 m_FontData = {FXFT_Get_Face_Stream_Base(m_Face->GetRec()), in LoadSubst()
358 FXFT_Get_Face_Stream_Size(m_Face->GetRec())}; in LoadSubst()
368 FT_Load_Glyph(m_Face->GetRec(), glyph_index, in GetGlyphWidth()
373 int horiAdvance = FXFT_Get_Glyph_HoriAdvance(m_Face->GetRec()); in GetGlyphWidth()
377 return EM_ADJUST(FXFT_Get_Face_UnitsPerEM(m_Face->GetRec()), horiAdvance); in GetGlyphWidth()
394 return m_Face && FXFT_Is_Face_TT_OT(m_Face->GetRec()) == FT_FACE_FLAG_SFNT; in IsTTFont()
401 int ascender = FXFT_Get_Face_Ascender(m_Face->GetRec()); in GetAscent()
405 return EM_ADJUST(FXFT_Get_Face_UnitsPerEM(m_Face->GetRec()), ascender); in GetAscent()
412 int descender = FXFT_Get_Face_Descender(m_Face->GetRec()); in GetDescent()
[all …]
Dscoped_font_transform.cpp27 FT_Set_Transform(m_Face->GetRec(), matrix, 0); in ScopedFontTransform()
31 ResetTransform(m_Face->GetRec()); in ~ScopedFontTransform()
Dcfx_face.h26 FXFT_FaceRec* GetRec() { return m_pRec.get(); } in GetRec() function
Dcfx_glyphcache.h48 FXFT_FaceRec* GetFaceRec() { return m_Face ? m_Face->GetRec() : nullptr; } in GetFaceRec()
Dcfx_font.h56 return m_Face ? m_Face->GetRec() : nullptr; in GetFaceRec()
Dcfx_fontmgr.cpp155 if (FT_Set_Pixel_Sizes(face->GetRec(), 64, 64) != 0) in NewFixedFace()
Dcfx_fontmapper.cpp649 if (FXFT_Is_Face_Bold(face->GetRec())) in FindSubstFont()
655 if (bItalic && !FXFT_Is_Face_Italic(face->GetRec())) { in FindSubstFont()
/external/pdfium/core/fxge/android/
Dcfpf_skiafontmgr.cpp356 FT_Set_Pixel_Sizes(face->GetRec(), 0, 64); in GetFontFace()
400 if (FXFT_Is_Face_Bold(face->GetRec())) in ReportFace()
402 if (FXFT_Is_Face_Italic(face->GetRec())) in ReportFace()
404 if (FT_IS_FIXED_WIDTH(face->GetRec())) in ReportFace()
407 static_cast<TT_OS2*>(FT_Get_Sfnt_Table(face->GetRec(), ft_sfnt_os2)); in ReportFace()
421 file, FXFT_Get_Face_Family_Name(face->GetRec()), dwStyle, in ReportFace()
422 face->GetRec()->face_index, FPF_SkiaGetFaceCharset(pOS2), in ReportFace()
423 face->GetRec()->num_glyphs); in ReportFace()
Dcfpf_skiafont.h44 FXFT_FaceRec* GetFaceRec() const { return m_Face->GetRec(); } in GetFaceRec()
/external/pdfium/xfa/fgas/font/
Dcfgas_fontmgr.cpp38 FXFT_FaceRec* pFaceRec = pFace->GetRec(); in VerifyUnicode()
507 FT_Set_Pixel_Sizes(pFace->GetRec(), 0, 64); in LoadFace()
523 FXFT_Select_Charmap(pFace->GetRec(), FT_ENCODING_UNICODE); in VerifyUnicodeForFontDescriptor()
524 FT_Error retIndex = FT_Get_Char_Index(pFace->GetRec(), wcUnicode); in VerifyUnicodeForFontDescriptor()
526 if (FXFT_Get_Face_External_Stream(pFace->GetRec())) in VerifyUnicodeForFontDescriptor()
527 FXFT_Clear_Face_External_Stream(pFace->GetRec()); in VerifyUnicodeForFontDescriptor()
727 if ((pFace->GetRec()->face_flags & FT_FACE_FLAG_SCALABLE) == 0) in RegisterFace()
731 pFont->m_dwFontStyles |= GetFlags(pFace->GetRec()); in RegisterFace()
733 GetUSBCSB(pFace->GetRec(), pFont->m_dwUsb, pFont->m_dwCsb); in RegisterFace()
741 FT_Load_Sfnt_Table(pFace->GetRec(), dwTag, 0, nullptr, &nLength); in RegisterFace()
[all …]