Home
last modified time | relevance | path

Searched refs:fontFile (Results 1 – 7 of 7) sorted by relevance

/external/skia/src/ports/
DSkFontMgr_android.cpp155 const FontFileInfo& fontFile = family.fFonts[i]; in SkFontStyleSet_Android() local
158 pathName.append(fontFile.fFileName); in SkFontStyleSet_Android()
167 const int ttcIndex = fontFile.fIndex; in SkFontStyleSet_Android()
180 int weight = fontFile.fWeight != 0 ? fontFile.fWeight : style.weight(); in SkFontStyleSet_Android()
182 switch (fontFile.fStyle) { in SkFontStyleSet_Android()
205 fontFile.fVariationDesignPosition.begin(), in SkFontStyleSet_Android()
206 fontFile.fVariationDesignPosition.count() in SkFontStyleSet_Android()
DSkTypeface_win_dw.cpp230 SkTScopedComPtr<IDWriteFontFile> fontFile; in onOpenStream() local
231 HRNM(fDWriteFontFace->GetFiles(&numFiles, &fontFile), "Could not get font files."); in onOpenStream()
235 HRNM(fontFile->GetReferenceKey(&fontFileKey, &fontFileKeySize), in onOpenStream()
239 HRNM(fontFile->GetLoader(&fontFileLoader), "Could not get font file loader."); in onOpenStream()
DSkRemotableFontMgr_win_dw.cpp103 SkTScopedComPtr<IDWriteFontFile> fontFile; in FontToIdentity() local
104 HR(fontFace->GetFiles(&numFiles, &fontFile)); in FontToIdentity()
107 HR(fontFile->GetLoader(&fontFileLoader)); in FontToIdentity()
111 HR(fontFile->GetReferenceKey(&refKey, &refKeySize)); in FontToIdentity()
DSkFontMgr_win_dw.cpp105 virtual HRESULT STDMETHODCALLTYPE GetCurrentFontFile(IDWriteFontFile** fontFile);
178 HRESULT StreamFontFileEnumerator::GetCurrentFontFile(IDWriteFontFile** fontFile) { in GetCurrentFontFile() argument
180 *fontFile = nullptr; in GetCurrentFontFile()
184 *fontFile = SkRefComPtr(fCurrentFile.get()); in GetCurrentFontFile()
/external/harfbuzz_ng/src/
Dhb-directwrite.cc130 IDWriteFontFile *fontFile; member
161 IDWriteFontFile *fontFile; in _hb_directwrite_shaper_face_data_create() local
164 fontFileLoader, &fontFile); in _hb_directwrite_shaper_face_data_create()
181 hr = fontFile->Analyze (&isSupported, &fileType, &faceType, &numberOfFaces); in _hb_directwrite_shaper_face_data_create()
190 dwriteFactory->CreateFontFace (faceType, 1, &fontFile, 0, in _hb_directwrite_shaper_face_data_create()
194 data->fontFile = fontFile; in _hb_directwrite_shaper_face_data_create()
208 if (data->fontFile) in _hb_directwrite_shaper_face_data_destroy()
209 data->fontFile->Release (); in _hb_directwrite_shaper_face_data_destroy()
/external/harfbuzz_ng/test/api/
Dtest-ot-math.c55 openFont(const char* fontFile) in openFont() argument
58 gchar* path = g_test_build_filename(G_TEST_DIST, fontFile, NULL); in openFont()
60 gchar* path = g_strdup(fontFile); in openFont()
/external/fonttools/Lib/fontTools/
Dsubset.py2117 def load_font(fontFile, argument
2124 font = ttLib.TTFont(fontFile,