Home
last modified time | relevance | path

Searched refs:fontFileLoader (Results 1 – 9 of 9) sorted by relevance

/external/skia/src/ports/
DSkFontMgr_win_dw.cpp114 static HRESULT Create(IDWriteFactory* factory, IDWriteFontFileLoader* fontFileLoader, in Create() argument
116 *streamFontFileEnumerator = new StreamFontFileEnumerator(factory, fontFileLoader); in Create()
123 StreamFontFileEnumerator(IDWriteFactory* factory, IDWriteFontFileLoader* fontFileLoader);
135 IDWriteFontFileLoader* fontFileLoader) in StreamFontFileEnumerator() argument
139 , fFontFileLoader(SkRefComPtr(fontFileLoader)) in StreamFontFileEnumerator()
211 static HRESULT Create(IDWriteFontFileLoader* fontFileLoader, in Create() argument
213 *streamFontCollectionLoader = new StreamFontCollectionLoader(fontFileLoader); in Create()
220 StreamFontCollectionLoader(IDWriteFontFileLoader* fontFileLoader) in StreamFontCollectionLoader() argument
222 , fFontFileLoader(SkRefComPtr(fontFileLoader)) in StreamFontCollectionLoader()
885 SkTScopedComPtr<StreamFontFileLoader> fontFileLoader; in onMakeFromStreamIndex() local
[all …]
DSkTypeface_win_dw.h47 IDWriteFontFileLoader* fontFileLoader = nullptr,
52 , fDWriteFontFileLoader(SkSafeRefComPtr(fontFileLoader)) in SkTypeface()
90 IDWriteFontFileLoader* fontFileLoader = nullptr,
95 fontFileLoader, fontCollectionLoader));
DSkRemotableFontMgr_win_dw.cpp53 int FindOrAdd(IDWriteFontFileLoader* fontFileLoader, in FindOrAdd() argument
57 HR_GENERAL(fontFileLoader->QueryInterface(&fontFileLoaderId), in FindOrAdd()
108 SkTScopedComPtr<IDWriteFontFileLoader> fontFileLoader; in FontToIdentity() local
109 HR(fontFile->GetLoader(&fontFileLoader)); in FontToIdentity()
115 fontId->fDataId = FindOrAdd(fontFileLoader.get(), refKey, refKeySize); in FontToIdentity()
DSkTypeface_win_dw.cpp391 SkTScopedComPtr<IDWriteFontFileLoader> fontFileLoader; in onOpenStream() local
392 HRNM(fontFile->GetLoader(&fontFileLoader), "Could not get font file loader."); in onOpenStream()
395 HRNM(fontFileLoader->CreateStreamFromKey(fontFileKey, fontFileKeySize, in onOpenStream()
/external/skqp/src/ports/
DSkFontMgr_win_dw.cpp114 static HRESULT Create(IDWriteFactory* factory, IDWriteFontFileLoader* fontFileLoader, in Create() argument
116 *streamFontFileEnumerator = new StreamFontFileEnumerator(factory, fontFileLoader); in Create()
123 StreamFontFileEnumerator(IDWriteFactory* factory, IDWriteFontFileLoader* fontFileLoader);
135 IDWriteFontFileLoader* fontFileLoader) in StreamFontFileEnumerator() argument
139 , fFontFileLoader(SkRefComPtr(fontFileLoader)) in StreamFontFileEnumerator()
211 static HRESULT Create(IDWriteFontFileLoader* fontFileLoader, in Create() argument
213 *streamFontCollectionLoader = new StreamFontCollectionLoader(fontFileLoader); in Create()
220 StreamFontCollectionLoader(IDWriteFontFileLoader* fontFileLoader) in StreamFontCollectionLoader() argument
222 , fFontFileLoader(SkRefComPtr(fontFileLoader)) in StreamFontCollectionLoader()
885 SkTScopedComPtr<StreamFontFileLoader> fontFileLoader; in onMakeFromStreamIndex() local
[all …]
DSkTypeface_win_dw.h47 IDWriteFontFileLoader* fontFileLoader = nullptr,
52 , fDWriteFontFileLoader(SkSafeRefComPtr(fontFileLoader)) in SkTypeface()
89 IDWriteFontFileLoader* fontFileLoader = nullptr,
92 fontFileLoader, fontCollectionLoader);
DSkRemotableFontMgr_win_dw.cpp53 int FindOrAdd(IDWriteFontFileLoader* fontFileLoader, in FindOrAdd() argument
57 HR_GENERAL(fontFileLoader->QueryInterface(&fontFileLoaderId), in FindOrAdd()
108 SkTScopedComPtr<IDWriteFontFileLoader> fontFileLoader; in FontToIdentity() local
109 HR(fontFile->GetLoader(&fontFileLoader)); in FontToIdentity()
115 fontId->fDataId = FindOrAdd(fontFileLoader.get(), refKey, refKeySize); in FontToIdentity()
DSkTypeface_win_dw.cpp391 SkTScopedComPtr<IDWriteFontFileLoader> fontFileLoader; in onOpenStream() local
392 HRNM(fontFile->GetLoader(&fontFileLoader), "Could not get font file loader."); in onOpenStream()
395 HRNM(fontFileLoader->CreateStreamFromKey(fontFileKey, fontFileKeySize, in onOpenStream()
/external/harfbuzz_ng/src/
Dhb-directwrite.cc137 IDWriteFontFileLoader *fontFileLoader; member
160 DWriteFontFileLoader *fontFileLoader = new DWriteFontFileLoader (fontFileStream); in _hb_directwrite_shaper_face_data_create() local
161 dwriteFactory->RegisterFontFileLoader (fontFileLoader); in _hb_directwrite_shaper_face_data_create()
166 fontFileLoader, &fontFile); in _hb_directwrite_shaper_face_data_create()
194 data->fontFileLoader = fontFileLoader; in _hb_directwrite_shaper_face_data_create()
210 if (data->fontFileLoader) in _hb_directwrite_shaper_face_data_destroy()
211 data->dwriteFactory->UnregisterFontFileLoader (data->fontFileLoader); in _hb_directwrite_shaper_face_data_destroy()
214 if (data->fontFileLoader) in _hb_directwrite_shaper_face_data_destroy()
215 delete data->fontFileLoader; in _hb_directwrite_shaper_face_data_destroy()