Home
last modified time | relevance | path

Searched refs:CFX_Face (Results 1 – 19 of 19) sorted by relevance

/external/pdfium/core/fxge/
Dcfx_face.cpp10 RetainPtr<CFX_Face> CFX_Face::New(FT_Library library, in New()
19 return pdfium::WrapRetain(new CFX_Face(pRec, pDesc)); in New()
23 RetainPtr<CFX_Face> CFX_Face::Open(FT_Library library, in Open()
30 return pdfium::WrapRetain(new CFX_Face(pRec, nullptr)); in Open()
33 CFX_Face::CFX_Face(FXFT_FaceRec* rec, const RetainPtr<Retainable>& pDesc) in CFX_Face() function in CFX_Face
38 CFX_Face::~CFX_Face() = default;
Dcfx_face.h13 class CFX_Face : public Retainable, public Observable {
15 static RetainPtr<CFX_Face> New(FT_Library library,
20 static RetainPtr<CFX_Face> Open(FT_Library library,
24 ~CFX_Face() override;
29 CFX_Face(FXFT_FaceRec* pRec, const RetainPtr<Retainable>& pDesc);
Dcfx_fontmapper.h57 RetainPtr<CFX_Face> FindSubstFont(const ByteString& face_name,
65 bool IsBuiltinFace(const RetainPtr<CFX_Face>& face) const;
85 RetainPtr<CFX_Face> UseInternalSubst(CFX_SubstFont* pSubstFont,
90 RetainPtr<CFX_Face> GetCachedTTCFace(void* hFont,
93 RetainPtr<CFX_Face> GetCachedFace(void* hFont,
109 RetainPtr<CFX_Face> m_MMFaces[MM_FACE_COUNT];
110 RetainPtr<CFX_Face> m_FoxitFaces[FOXIT_FACE_COUNT];
Dcfx_fontmgr.h21 class CFX_Face; variable
38 void SetFace(size_t index, CFX_Face* face);
39 CFX_Face* GetFace(size_t index) const;
46 ObservedPtr<CFX_Face> m_TTCFaces[16];
71 RetainPtr<CFX_Face> NewFixedFace(const RetainPtr<FontDesc>& pDesc,
74 RetainPtr<CFX_Face> FindSubstFont(const ByteString& face_name,
Dcfx_fontmgr.cpp77 void CFX_FontMgr::FontDesc::SetFace(size_t index, CFX_Face* face) { in SetFace()
82 CFX_Face* CFX_FontMgr::FontDesc::GetFace(size_t index) const { in GetFace()
100 RetainPtr<CFX_Face> CFX_FontMgr::FindSubstFont(const ByteString& face_name, in FindSubstFont()
147 RetainPtr<CFX_Face> CFX_FontMgr::NewFixedFace(const RetainPtr<FontDesc>& pDesc, in NewFixedFace()
150 RetainPtr<CFX_Face> face = in NewFixedFace()
151 CFX_Face::New(m_FTLibrary.get(), pDesc, span, face_index); in NewFixedFace()
Dscoped_font_transform.h17 ScopedFontTransform(RetainPtr<CFX_Face> face, FT_Matrix* matrix);
21 RetainPtr<CFX_Face> m_Face;
Dcfx_glyphcache.h47 RetainPtr<CFX_Face> GetFace() { return m_Face; } in GetFace()
55 explicit CFX_GlyphCache(RetainPtr<CFX_Face> face);
83 RetainPtr<CFX_Face> const m_Face;
Dcfx_fontcache.h30 std::map<CFX_Face*, ObservedPtr<CFX_GlyphCache>> m_GlyphCacheMap;
31 std::map<CFX_Face*, ObservedPtr<CFX_GlyphCache>> m_ExtGlyphCacheMap;
Dcfx_font.h54 RetainPtr<CFX_Face> GetFace() const { return m_Face; } in GetFace()
65 void SetFace(RetainPtr<CFX_Face> face);
141 mutable RetainPtr<CFX_Face> m_Face;
Dcfx_fontmapper.cpp348 RetainPtr<CFX_Face> CFX_FontMapper::UseInternalSubst(CFX_SubstFont* pSubstFont, in UseInternalSubst()
385 RetainPtr<CFX_Face> CFX_FontMapper::FindSubstFont(const ByteString& name, in FindSubstFont()
637 RetainPtr<CFX_Face> face; in FindSubstFont()
694 bool CFX_FontMapper::IsBuiltinFace(const RetainPtr<CFX_Face>& face) const { in IsBuiltinFace()
706 RetainPtr<CFX_Face> CFX_FontMapper::GetCachedTTCFace(void* hFont, in GetCachedTTCFace()
723 RetainPtr<CFX_Face> pFace(pFontDesc->GetFace(face_index)); in GetCachedTTCFace()
736 RetainPtr<CFX_Face> CFX_FontMapper::GetCachedFace(void* hFont, in GetCachedFace()
750 RetainPtr<CFX_Face> pFace(pFontDesc->GetFace(0)); in GetCachedFace()
Dscoped_font_transform.cpp24 ScopedFontTransform::ScopedFontTransform(RetainPtr<CFX_Face> face, in ScopedFontTransform()
Dcfx_fontcache.cpp23 RetainPtr<CFX_Face> face = pFont->GetFace(); in GetGlyphCache()
Dcfx_font.cpp58 RetainPtr<CFX_Face> LoadFileImp(FXFT_LibraryRec* library, in LoadFileImp()
74 RetainPtr<CFX_Face> face = CFX_Face::Open(library, &args, faceIndex); in LoadFileImp()
323 void CFX_Font::SetFace(RetainPtr<CFX_Face> face) { in SetFace()
Dcfx_glyphcache.cpp99 CFX_GlyphCache::CFX_GlyphCache(RetainPtr<CFX_Face> face) : m_Face(face) {} in CFX_GlyphCache()
/external/pdfium/core/fxge/android/
Dcfpf_skiafontmgr.h33 RetainPtr<CFX_Face> GetFontFace(ByteStringView bsFile, int32_t iFaceIndex);
38 std::unique_ptr<CFPF_SkiaPathFont> ReportFace(RetainPtr<CFX_Face> face,
Dcfpf_skiafontmgr.cpp340 RetainPtr<CFX_Face> CFPF_SkiaFontMgr::GetFontFace(ByteStringView bsFile, in GetFontFace()
351 RetainPtr<CFX_Face> face = in GetFontFace()
352 CFX_Face::Open(m_FTLibrary.get(), &args, iFaceIndex); in GetFontFace()
389 RetainPtr<CFX_Face> face = GetFontFace(file.AsStringView(), 0); in ScanFile()
397 RetainPtr<CFX_Face> face, in ReportFace()
Dcfpf_skiafont.h49 RetainPtr<CFX_Face> const m_Face;
/external/pdfium/xfa/fgas/font/
Dcfgas_fontmgr.cpp34 RetainPtr<CFX_Face> pFace = pFont->GetDevFont()->GetFace(); in VerifyUnicode()
472 RetainPtr<CFX_Face> LoadFace( in LoadFace()
502 RetainPtr<CFX_Face> pFace = CFX_Face::Open(library, &ftArgs, iFaceIndex); in LoadFace()
518 RetainPtr<CFX_Face> pFace = LoadFace(pFileRead, pDesc->m_nFaceIndex); in VerifyUnicodeForFontDescriptor()
725 void CFGAS_FontMgr::RegisterFace(RetainPtr<CFX_Face> pFace, in RegisterFace()
764 RetainPtr<CFX_Face> pFace = LoadFace(pFontStream, index++); in RegisterFaces()
Dcfgas_fontmgr.h136 void RegisterFace(RetainPtr<CFX_Face> pFace, const WideString* pFaceName);