/external/skia/src/core/ |
D | SkFontMgr.cpp | 42 void onGetFamilyName(int index, SkString* familyName) const override { in onGetFamilyName() 57 virtual SkTypeface* onMatchFamilyStyleCharacter(const char familyName[], in onMatchFamilyStyleCharacter() argument 94 void SkFontMgr::getFamilyName(int index, SkString* familyName) const { in getFamilyName() 95 this->onGetFamilyName(index, familyName); in getFamilyName() 102 SkFontStyleSet* SkFontMgr::matchFamily(const char familyName[]) const { in matchFamily() 103 return emptyOnNull(this->onMatchFamily(familyName)); in matchFamily() 106 SkTypeface* SkFontMgr::matchFamilyStyle(const char familyName[], in matchFamilyStyle() argument 108 return this->onMatchFamilyStyle(familyName, fs); in matchFamilyStyle() 111 SkTypeface* SkFontMgr::matchFamilyStyleCharacter(const char familyName[], const SkFontStyle& style, in matchFamilyStyleCharacter() argument 114 return this->onMatchFamilyStyleCharacter(familyName, style, bcp47, bcp47Count, character); in matchFamilyStyleCharacter() [all …]
|
/external/skia/include/ports/ |
D | SkFontMgr.h | 41 void getFamilyName(int index, SkString* familyName) const; 51 SkFontStyleSet* matchFamily(const char familyName[]) const; 63 SkTypeface* matchFamilyStyle(const char familyName[], const SkFontStyle&) const; 77 SkTypeface* matchFamilyStyleCharacter(const char familyName[], const SkFontStyle&, 105 SkTypeface* legacyCreateTypeface(const char familyName[], 116 virtual void onGetFamilyName(int index, SkString* familyName) const = 0; 120 virtual SkFontStyleSet* onMatchFamily(const char familyName[]) const = 0; 122 virtual SkTypeface* onMatchFamilyStyle(const char familyName[], 124 virtual SkTypeface* onMatchFamilyStyleCharacter(const char familyName[], const SkFontStyle&, 134 virtual SkTypeface* onLegacyCreateTypeface(const char familyName[],
|
D | SkFontMgr_indirect.h | 34 void onGetFamilyName(int index, SkString* familyName) const override; 37 SkFontStyleSet* onMatchFamily(const char familyName[]) const override; 39 virtual SkTypeface* onMatchFamilyStyle(const char familyName[], 42 virtual SkTypeface* onMatchFamilyStyleCharacter(const char familyName[], 55 virtual SkTypeface* onLegacyCreateTypeface(const char familyName[],
|
D | SkRemotableFontMgr.h | 106 virtual SkRemotableFontIdentitySet* matchName(const char familyName[]) const = 0; 125 virtual SkFontIdentity matchNameStyle(const char familyName[], const SkFontStyle&) const = 0; 137 virtual SkFontIdentity matchNameStyleCharacter(const char familyName[], const SkFontStyle&,
|
/external/skia/src/ports/ |
D | SkFontHost_linux.cpp | 28 bool sysFont, const SkString familyName, int index) in SkTypeface_Custom() argument 30 , fIsSysFont(sysFont), fFamilyName(familyName), fIndex(index) in SkTypeface_Custom() 36 void onGetFamilyName(SkString* familyName) const override { in onGetFamilyName() 37 *familyName = fFamilyName; in onGetFamilyName() 74 const SkString familyName, SkStreamAsset* stream, int index) in SkTypeface_Stream() argument 75 : INHERITED(style, isFixedPitch, sysFont, familyName, index) in SkTypeface_Stream() 102 const SkString familyName, const char path[], int index) in SkTypeface_File() argument 103 : INHERITED(style, isFixedPitch, sysFont, familyName, index) in SkTypeface_File() 134 explicit SkFontStyleSet_Custom(const SkString familyName) : fFamilyName(familyName) { } in SkFontStyleSet_Custom() argument 250 void onGetFamilyName(int index, SkString* familyName) const override { in onGetFamilyName() [all …]
|
D | SkFontMgr_android.cpp | 33 const SkString& familyName) in SkTypeface_Android() argument 36 , fFamilyName(familyName) { } in SkTypeface_Android() 39 void onGetFamilyName(SkString* familyName) const override { in onGetFamilyName() 40 *familyName = fFamilyName; in onGetFamilyName() 56 const SkString& familyName, in SkTypeface_AndroidSystem() argument 59 : INHERITED(index, style, isFixedPitch, familyName) in SkTypeface_AndroidSystem() 90 const SkString& familyName) in SkTypeface_AndroidStream() argument 91 : INHERITED(index, style, isFixedPitch, familyName) in SkTypeface_AndroidStream() 137 SkString familyName; in SkFontStyleSet_Android() local 140 if (!scanner.scanFont(stream.get(), ttcIndex, &familyName, &style, &isFixedWidth)) { in SkFontStyleSet_Android() [all …]
|
D | SkFontConfigTypeface.h | 23 const SkString& familyName) { in Create() argument 24 return SkNEW_ARGS(FontConfigTypeface, (style, fi, familyName)); in Create() 42 static SkTypeface* LegacyCreateTypeface(const char familyName[], SkTypeface::Style); 47 const SkString& familyName) in FontConfigTypeface() argument 50 , fFamilyName(familyName) in FontConfigTypeface() 59 void onGetFamilyName(SkString* familyName) const override;
|
D | SkFontMgr_fontconfig.cpp | 385 void onGetFamilyName(SkString* familyName) const override { in onGetFamilyName() 386 familyName->reset(); in onGetFamilyName() 414 void onGetFamilyName(SkString* familyName) const override { in onGetFamilyName() 415 *familyName = get_string(fPattern, FC_FAMILY); in onGetFamilyName() 554 const char* familyName = reinterpret_cast<const char*>(fcFamilyName); in GetFamilyNames() local 555 if (familyName && !FindName(names, familyName)) { in GetFamilyNames() 556 *names.append() = familyName; in GetFamilyNames() 557 *sizes.append() = strlen(familyName) + 1; in GetFamilyNames() 613 void onGetFamilyName(int index, SkString* familyName) const override { in onGetFamilyName() 614 familyName->set(fFamilyNames->atStr(index)); in onGetFamilyName() [all …]
|
D | SkRemotableFontMgr_win_dw.cpp | 106 SkString familyName; in getFamilyNames() local 107 sk_get_locale_string(familyNames.get(), fLocaleName.get(), &familyName); in getFamilyNames() 109 names.appendString(familyName); in getFamilyNames() 219 SkRemotableFontIdentitySet* matchName(const char familyName[]) const override { in matchName() 221 if (NULL == familyName) { in matchName() 225 HR_GENERAL(sk_cstring_to_wchar(familyName, &dwFamilyName), in matchName() 241 virtual SkFontIdentity matchNameStyle(const char familyName[], in matchNameStyle() argument 247 if (NULL == familyName) { in matchNameStyle() 250 HR_GENERAL(sk_cstring_to_wchar(familyName, &dwFamilyName), NULL, identity); in matchNameStyle() 390 virtual SkFontIdentity matchNameStyleCharacter(const char familyName[], in matchNameStyleCharacter() argument [all …]
|
D | SkFontHost_fontconfig.cpp | 89 SkTypeface* FontConfigTypeface::LegacyCreateTypeface(const char familyName[], in LegacyCreateTypeface() argument 99 NameStyle nameStyle(familyName, requestedStyle); in LegacyCreateTypeface() 111 if (!fci->matchFamilyName(familyName, style, &indentity, &outFamilyName, &outStyle)) { in LegacyCreateTypeface() 149 void FontConfigTypeface::onGetFamilyName(SkString* familyName) const { in onGetFamilyName() 150 *familyName = fFamilyName; in onGetFamilyName()
|
D | SkFontMgr_win_dw.cpp | 281 void onGetFamilyName(int index, SkString* familyName) const override; 283 SkFontStyleSet* onMatchFamily(const char familyName[]) const override; 284 virtual SkTypeface* onMatchFamilyStyle(const char familyName[], 286 virtual SkTypeface* onMatchFamilyStyleCharacter(const char familyName[], const SkFontStyle&, 294 virtual SkTypeface* onLegacyCreateTypeface(const char familyName[], 298 HRESULT getByFamilyName(const WCHAR familyName[], IDWriteFontFamily** fontFamily) const; 468 void SkFontMgr_DirectWrite::onGetFamilyName(int index, SkString* familyName) const { in onGetFamilyName() 475 sk_get_locale_string(familyNames.get(), fLocaleName.get(), familyName); in onGetFamilyName() 485 SkFontStyleSet* SkFontMgr_DirectWrite::onMatchFamily(const char familyName[]) const { in onMatchFamily() 487 HRN(sk_cstring_to_wchar(familyName, &dwFamilyName)); in onMatchFamily() [all …]
|
D | SkFontConfigInterface_direct.cpp | 110 virtual bool matchFamilyName(const char familyName[], 442 bool SkFontConfigInterfaceDirect::matchFamilyName(const char familyName[], in matchFamilyName() argument 447 SkString familyStr(familyName ? familyName : ""); in matchFamilyName() 456 if (familyName) { in matchFamilyName() 457 FcPatternAddString(pattern, FC_FAMILY, (FcChar8*)familyName); in matchFamilyName() 614 SkString familyStr(familyName ? familyName : ""); in matchFamilySet() 623 if (familyName) { in matchFamilySet() 624 FcPatternAddString(pattern, FC_FAMILY, (FcChar8*)familyName); in matchFamilySet()
|
D | SkFontHost_win.cpp | 99 static void dcfontname_to_skstring(HDC deviceContext, const LOGFONT& lf, SkString* familyName) { in dcfontname_to_skstring() argument 116 tchar_to_skstring(fontName.get(), familyName); in dcfontname_to_skstring() 266 void onGetFamilyName(SkString* familyName) const override; 1672 static void logfont_for_name(const char* familyName, LOGFONT* lf) { in logfont_for_name() argument 1676 size_t str_len = ::MultiByteToWideChar(CP_UTF8, 0, familyName, in logfont_for_name() 1682 ::MultiByteToWideChar(CP_UTF8, 0, familyName, -1, in logfont_for_name() 1688 ::strncpy(lf->lfFaceName, familyName, LF_FACESIZE - 1); in logfont_for_name() 1693 void LogFontTypeface::onGetFamilyName(SkString* familyName) const { in onGetFamilyName() 1700 dcfontname_to_skstring(deviceContext, fLogFont, familyName); in onGetFamilyName() 1713 SkString familyName; in onGetFontDescriptor() local [all …]
|
D | SkFontHost_mac.cpp | 448 void onGetFamilyName(SkString* familyName) const override; 486 static SkTypeface* NewFromName(const char familyName[], const SkFontStyle& theStyle) { in NewFromName() argument 498 AutoCFRelease<CFStringRef> cfFontName(make_CFString(familyName)); in NewFromName() 1931 void SkTypeface_Mac::onGetFamilyName(SkString* familyName) const { in onGetFamilyName() 1932 get_str(CTFontCopyFamilyName(fFontRef), familyName); in onGetFamilyName() 2090 SkFontStyleSet_Mac(CFStringRef familyName, CTFontDescriptorRef desc) in SkFontStyleSet_Mac() argument 2092 , fFamilyName(familyName) in SkFontStyleSet_Mac() 2094 CFRetain(familyName); in SkFontStyleSet_Mac() 2198 void onGetFamilyName(int index, SkString* familyName) const override { in onGetFamilyName() 2200 CFStringToSkString(this->stringAt(index), familyName); in onGetFamilyName() [all …]
|
D | SkTypeface_win_dw.cpp | 28 void DWriteFontTypeface::onGetFamilyName(SkString* familyName) const { in onGetFamilyName() 32 sk_get_locale_string(familyNames.get(), NULL/*fMgr->fLocaleName.get()*/, familyName); in onGetFamilyName() 353 SkSMallocWCHAR familyName(familyNameLen+1); in onGetAdvancedTypefaceMetrics() local 354 hr = familyNames->GetString(0, familyName.get(), familyNameLen+1); in onGetAdvancedTypefaceMetrics() 356 hr = sk_wchar_to_skstring(familyName.get(), familyNameLen, &info->fFontName); in onGetAdvancedTypefaceMetrics()
|
/external/skia/src/fonts/ |
D | SkFontMgr_indirect.cpp | 162 void SkFontMgr_Indirect::onGetFamilyName(int index, SkString* familyName) const { in onGetFamilyName() 165 familyName->reset(); in onGetFamilyName() 168 familyName->set(fFamilyNames->atStr(index)); in onGetFamilyName() 179 SkFontStyleSet* SkFontMgr_Indirect::onMatchFamily(const char familyName[]) const { in onMatchFamily() 180 return SkNEW_ARGS(SkStyleSet_Indirect, (this, -1, fProxy->matchName(familyName))); in onMatchFamily() 242 SkTypeface* SkFontMgr_Indirect::onMatchFamilyStyle(const char familyName[], in onMatchFamilyStyle() argument 244 SkFontIdentity id = fProxy->matchNameStyle(familyName, fontStyle); in onMatchFamilyStyle() 248 SkTypeface* SkFontMgr_Indirect::onMatchFamilyStyleCharacter(const char familyName[], in onMatchFamilyStyleCharacter() argument 253 SkFontIdentity id = fProxy->matchNameStyleCharacter(familyName, style, bcp47, in onMatchFamilyStyleCharacter() 260 SkString familyName; in onMatchFaceStyle() local [all …]
|
D | SkFontMgr_fontconfig.cpp | 233 void onGetFamilyName(int index, SkString* familyName) const override { in onGetFamilyName() 234 familyName->set(fFamilyNames->atStr(index)); in onGetFamilyName() 241 SkFontStyleSet* onMatchFamily(const char familyName[]) const override { in onMatchFamily() 246 FcPatternAddString(pattern, FC_FAMILY, (FcChar8*)familyName); in onMatchFamily() 286 SkTypeface* onMatchFamilyStyle(const char familyName[], in onMatchFamilyStyle() argument 288 SkTypeface* onMatchFamilyStyleCharacter(const char familyName[], const SkFontStyle&, in onMatchFamilyStyleCharacter() argument 324 SkTypeface* onLegacyCreateTypeface(const char familyName[], in onLegacyCreateTypeface() argument 327 return FontConfigTypeface::LegacyCreateTypeface(familyName, (SkTypeface::Style)styleBits); in onLegacyCreateTypeface()
|
D | SkTestScalerContext.cpp | 178 void SkTestTypeface::onGetFamilyName(SkString* familyName) const { in onGetFamilyName() 179 *familyName = fTestFont->fName; in onGetFamilyName() 183 SkString familyName(fTestFont->fName); in onCreateFamilyNameIterator() local
|
D | SkGScalerContext.h | 37 void onGetFamilyName(SkString* familyName) const override;
|
/external/skia/gm/ |
D | fontmgr.cpp | 46 SkString familyName; in drawCharacter() local 47 typeface->getFamilyName(&familyName); in drawCharacter() 48 SkTypeface* typefaceCopy = fm->legacyCreateTypeface(familyName.c_str(), typeface->style()); in drawCharacter() 91 SkString familyName; in onDraw() local 92 fm->getFamilyName(i, &familyName); in onDraw() 94 (void)drawString(canvas, familyName, 20, y, paint); in onDraw() 109 x = drawCharacter(canvas, 0x5203, x, y, paint, fm, familyName.c_str(), &zh, 1, fs); in onDraw() 110 x = drawCharacter(canvas, 0x5203, x, y, paint, fm, familyName.c_str(), &ja, 1, fs); in onDraw() 112 x = drawCharacter(canvas, 0x1f601, x, y, paint, fm, familyName.c_str(), NULL,0, fs); in onDraw()
|
/external/skia/src/utils/ios/ |
D | SkFontHost_iOS.mm | 144 const char familyName[], 149 if (familyName) { 150 FontDesign design = find_design_from_name(familyName); 152 familyName = "$#@*&%*#$@ never match any name"; 158 if (design == gFontRes[i].fDesign || !strcmp(gFontRes[i].fName, familyName)) {
|
/external/skia/tests/ |
D | FontNamesTest.cpp | 156 SkString familyName; in test_systemfonts() local 157 typeface->getFamilyName(&familyName); in test_systemfonts() 159 SkDebugf("[%s]\n", familyName.c_str()); in test_systemfonts()
|
/external/skia/include/core/ |
D | SkTypeface.h | 112 static SkTypeface* CreateFromName(const char familyName[], Style style); 353 virtual void onGetFamilyName(SkString* familyName) const = 0;
|
/external/libxml2/test/relaxng/ |
D | tutor3_4.rng | 12 <attribute name="familyName"> attribute
|
D | tutor2_1.rng | 12 <element name="familyName"> element
|