/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/ |
D | ShadowTypefaceTest.java | 20 private File fontFile; field in ShadowTypefaceTest 24 fontFile = in setup() 55 Typeface typeface = Typeface.createFromFile(fontFile); in createFromFile_withFile_shouldCreateTypeface() 63 Typeface typeface = Typeface.createFromFile(fontFile.getPath()); in createFromFile_withPath_shouldCreateTypeface()
|
/external/skia/src/ports/ |
D | SkFontMgr_android.cpp | 183 const FontFileInfo& fontFile = family.fFonts[i]; in SkFontStyleSet_Android() local 186 pathName.append(fontFile.fFileName); in SkFontStyleSet_Android() 195 const int ttcIndex = fontFile.fIndex; in SkFontStyleSet_Android() 208 int weight = fontFile.fWeight != 0 ? fontFile.fWeight : style.weight(); in SkFontStyleSet_Android() 210 switch (fontFile.fStyle) { in SkFontStyleSet_Android() 232 fontFile.fVariationDesignPosition.begin(), in SkFontStyleSet_Android() 233 fontFile.fVariationDesignPosition.count() in SkFontStyleSet_Android()
|
D | SkRemotableFontMgr_win_dw.cpp | 106 SkTScopedComPtr<IDWriteFontFile> fontFile; in FontToIdentity() local 107 HR(fontFace->GetFiles(&numFiles, &fontFile)); in FontToIdentity() 110 HR(fontFile->GetLoader(&fontFileLoader)); in FontToIdentity() 114 HR(fontFile->GetReferenceKey(&refKey, &refKeySize)); in FontToIdentity()
|
D | SkTypeface_win_dw.cpp | 373 SkTScopedComPtr<IDWriteFontFile> fontFile; in onOpenStream() local 374 HRNM(fDWriteFontFace->GetFiles(&numFiles, &fontFile), "Could not get font files."); in onOpenStream() 378 HRNM(fontFile->GetReferenceKey(&fontFileKey, &fontFileKeySize), in onOpenStream() 382 HRNM(fontFile->GetLoader(&fontFileLoader), "Could not get font file loader."); in onOpenStream()
|
D | SkFontMgr_win_dw.cpp | 113 SK_STDMETHODIMP GetCurrentFontFile(IDWriteFontFile** fontFile) override; 186 SK_STDMETHODIMP StreamFontFileEnumerator::GetCurrentFontFile(IDWriteFontFile** fontFile) { in GetCurrentFontFile() argument 188 *fontFile = nullptr; in GetCurrentFontFile() 192 *fontFile = SkRefComPtr(fCurrentFile.get()); in GetCurrentFontFile()
|
/external/skqp/src/ports/ |
D | SkFontMgr_android.cpp | 185 const FontFileInfo& fontFile = family.fFonts[i]; in SkFontStyleSet_Android() local 188 pathName.append(fontFile.fFileName); in SkFontStyleSet_Android() 197 const int ttcIndex = fontFile.fIndex; in SkFontStyleSet_Android() 210 int weight = fontFile.fWeight != 0 ? fontFile.fWeight : style.weight(); in SkFontStyleSet_Android() 212 switch (fontFile.fStyle) { in SkFontStyleSet_Android() 234 fontFile.fVariationDesignPosition.begin(), in SkFontStyleSet_Android() 235 fontFile.fVariationDesignPosition.count() in SkFontStyleSet_Android()
|
D | SkRemotableFontMgr_win_dw.cpp | 105 SkTScopedComPtr<IDWriteFontFile> fontFile; in FontToIdentity() local 106 HR(fontFace->GetFiles(&numFiles, &fontFile)); in FontToIdentity() 109 HR(fontFile->GetLoader(&fontFileLoader)); in FontToIdentity() 113 HR(fontFile->GetReferenceKey(&refKey, &refKeySize)); in FontToIdentity()
|
D | SkTypeface_win_dw.cpp | 383 SkTScopedComPtr<IDWriteFontFile> fontFile; in onOpenStream() local 384 HRNM(fDWriteFontFace->GetFiles(&numFiles, &fontFile), "Could not get font files."); in onOpenStream() 388 HRNM(fontFile->GetReferenceKey(&fontFileKey, &fontFileKeySize), in onOpenStream() 392 HRNM(fontFile->GetLoader(&fontFileLoader), "Could not get font file loader."); in onOpenStream()
|
D | SkFontMgr_win_dw.cpp | 112 virtual HRESULT STDMETHODCALLTYPE GetCurrentFontFile(IDWriteFontFile** fontFile); 185 HRESULT StreamFontFileEnumerator::GetCurrentFontFile(IDWriteFontFile** fontFile) { in GetCurrentFontFile() argument 187 *fontFile = nullptr; in GetCurrentFontFile() 191 *fontFile = SkRefComPtr(fCurrentFile.get()); in GetCurrentFontFile()
|
/external/harfbuzz_ng/src/ |
D | hb-directwrite.cc | 150 IDWriteFontFile *fontFile; member 209 IDWriteFontFile *fontFile; in _hb_directwrite_shaper_face_data_create() local 212 fontFileLoader, &fontFile); in _hb_directwrite_shaper_face_data_create() 221 hr = fontFile->Analyze (&isSupported, &fileType, &faceType, &numberOfFaces); in _hb_directwrite_shaper_face_data_create() 228 dwriteFactory->CreateFontFace (faceType, 1, &fontFile, 0, in _hb_directwrite_shaper_face_data_create() 232 data->fontFile = fontFile; in _hb_directwrite_shaper_face_data_create() 246 if (data->fontFile) in _hb_directwrite_shaper_face_data_destroy() 247 data->fontFile->Release (); in _hb_directwrite_shaper_face_data_destroy()
|
/external/harfbuzz_ng/test/api/ |
D | test-ot-math.c | 55 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/pdfium/fpdfsdk/ |
D | fpdf_edittext.cpp | 110 ByteString fontFile = font_type == FPDF_FONT_TYPE1 ? "FontFile" : "FontFile2"; in LoadFontDesc() local 111 pFontDesc->SetNewFor<CPDF_Reference>(fontFile, pDoc, pStream->GetObjNum()); in LoadFontDesc()
|
/external/fonttools/Lib/fontTools/subset/ |
D | __init__.py | 2864 def load_font(fontFile, argument 2871 font = ttLib.TTFont(fontFile,
|