Searched defs:familyName (Results 1 - 25 of 44) sorted by relevance

12

/external/chromium_org/third_party/WebKit/Source/platform/fonts/
H A DAlternateFontFamily.h42 inline const AtomicString& adjustFamilyNameToAvoidUnsupportedFonts(const AtomicString& familyName) argument
51 if (equalIgnoringCase(familyName, courier))
58 if (equalIgnoringCase(familyName, msSans))
67 if (equalIgnoringCase(familyName, msSerif) || equalIgnoringCase(familyName, times))
71 return familyName;
74 inline const AtomicString& alternateFamilyName(const AtomicString& familyName) argument
79 if (equalIgnoringCase(familyName, courier))
85 if (equalIgnoringCase(familyName, courierNew))
92 if (equalIgnoringCase(familyName, time
[all...]
H A DFontCacheKey.h52 FontCacheKey(AtomicString familyName, float fontSize, unsigned options) argument
53 : m_familyName(familyName)
H A DFontDescription.cpp130 FontCacheKey FontDescription::cacheKey(const AtomicString& familyName, FontTraits desiredTraits) const argument
144 return FontCacheKey(familyName, effectiveFontSize(), options | fontTraits.mask() << 8);
H A DFontCache.cpp86 const AtomicString& familyName = (passedFamilyName.isEmpty() || passedFamilyName[0] != '@') ? local
89 const AtomicString& familyName = passedFamilyName;
97 FontCacheKey key = fontDescription.cacheKey(familyName);
102 result = createFontPlatformData(fontDescription, familyName, fontDescription.effectiveFontSize());
113 const AtomicString& alternateName = alternateFamilyName(familyName);
/external/chromium_org/third_party/skia/include/ports/
H A DSkFontMgr.h41 void getFamilyName(int index, SkString* familyName) const;
51 SkFontStyleSet* matchFamily(const char familyName[]) const;
54 * Find the closest matching typeface to the specified familyName and style
63 SkTypeface* matchFamilyStyle(const char familyName[], const SkFontStyle&) const;
73 SkTypeface* matchFamilyStyleCharacter(const char familyName[], const SkFontStyle&,
100 SkTypeface* legacyCreateTypeface(const char familyName[],
111 virtual void onGetFamilyName(int index, SkString* familyName) const = 0;
115 virtual SkFontStyleSet* onMatchFamily(const char familyName[]) const = 0;
117 virtual SkTypeface* onMatchFamilyStyle(const char familyName[],
120 virtual SkTypeface* onMatchFamilyStyleCharacter(const char familyName[], cons argument
[all...]
/external/skia/include/ports/
H A DSkFontMgr.h41 void getFamilyName(int index, SkString* familyName) const;
51 SkFontStyleSet* matchFamily(const char familyName[]) const;
54 * Find the closest matching typeface to the specified familyName and style
63 SkTypeface* matchFamilyStyle(const char familyName[], const SkFontStyle&) const;
73 SkTypeface* matchFamilyStyleCharacter(const char familyName[], const SkFontStyle&,
100 SkTypeface* legacyCreateTypeface(const char familyName[],
111 virtual void onGetFamilyName(int index, SkString* familyName) const = 0;
115 virtual SkFontStyleSet* onMatchFamily(const char familyName[]) const = 0;
117 virtual SkTypeface* onMatchFamilyStyle(const char familyName[],
120 virtual SkTypeface* onMatchFamilyStyleCharacter(const char familyName[], cons argument
[all...]
/external/chromium_org/third_party/WebKit/Source/platform/fonts/android/
H A DFontCacheAndroid.cpp74 AtomicString familyName = getFamilyNameForCharacter(c, fontDescription.script()); local
75 if (familyName.isEmpty())
77 return fontDataFromFontPlatformData(getFontPlatformData(fontDescription, familyName), DoNotRetain);
81 AtomicString FontCache::getGenericFamilyNameForScript(const AtomicString& familyName, UScriptCode script) argument
97 return familyName;
/external/chromium_org/third_party/WebKit/Source/platform/fonts/win/
H A DFontPlatformDataWin.cpp118 static bool isWebFont(const String& familyName) argument
123 return familyName.length() == 24
124 && '=' == familyName[22] && '=' == familyName[23];
H A DFontCacheSkiaWin.cpp195 SkString familyName; local
196 tf->getFamilyName(&familyName);
197 if (equalIgnoringCase(family, familyName))
/external/chromium_org/third_party/skia/src/ports/
H A DSkFontConfigTypeface.h23 const SkString& familyName) {
24 return SkNEW_ARGS(FontConfigTypeface, (style, fi, familyName));
47 const char familyName[],
55 const SkString& familyName)
58 , fFamilyName(familyName)
21 Create(Style style, const SkFontConfigInterface::FontIdentity& fi, const SkString& familyName) argument
53 FontConfigTypeface(Style style, const SkFontConfigInterface::FontIdentity& fi, const SkString& familyName) argument
H A DSkFontHost_linux.cpp36 SkTypeface_Custom(Style style, bool sysFont, bool isFixedPitch, const SkString familyName) argument
38 , fIsSysFont(sysFont), fFamilyName(familyName)
79 bool isFixedPitch, const SkString familyName)
80 : INHERITED(style, sysFont, isFixedPitch, familyName)
102 bool isFixedPitch, const SkString familyName)
103 : INHERITED(style, sysFont, isFixedPitch, familyName)
136 explicit SkFontStyleSet_Custom(const SkString familyName) : fFamilyName(familyName) { } argument
219 virtual void onGetFamilyName(int index, SkString* familyName) const SK_OVERRIDE {
221 familyName
78 SkTypeface_Stream(Style style, bool sysFont, SkStream* stream, bool isFixedPitch, const SkString familyName) argument
101 SkTypeface_File(Style style, bool sysFont, const char path[], bool isFixedPitch, const SkString familyName) argument
[all...]
H A DSkFontHost_fontconfig.cpp84 const char familyName[],
93 familyName = fct->getFamilyName();
96 FindRec rec(familyName, style);
99 // SkDebugf("found cached face <%s> <%s> %p [%d]\n", familyName, ((FontConfigTypeface*)face)->getFamilyName(), face, face->getRefCnt());
107 if (!fci->matchFamilyName(familyName, style,
123 // SkDebugf("add face <%s> <%s> %p [%d]\n", familyName, outFamilyName.c_str(), face, face->getRefCnt());
130 const char familyName[],
132 return FontConfigTypeface::LegacyCreateTypeface(familyFace, familyName,
82 LegacyCreateTypeface( const SkTypeface* familyFace, const char familyName[], SkTypeface::Style style) argument
129 CreateTypeface(const SkTypeface* familyFace, const char familyName[], SkTypeface::Style style) argument
/external/skia/src/ports/
H A DSkFontConfigTypeface.h23 const SkString& familyName) {
24 return SkNEW_ARGS(FontConfigTypeface, (style, fi, familyName));
47 const char familyName[],
55 const SkString& familyName)
58 , fFamilyName(familyName)
21 Create(Style style, const SkFontConfigInterface::FontIdentity& fi, const SkString& familyName) argument
53 FontConfigTypeface(Style style, const SkFontConfigInterface::FontIdentity& fi, const SkString& familyName) argument
H A DSkFontHost_linux.cpp36 SkTypeface_Custom(Style style, bool sysFont, bool isFixedPitch, const SkString familyName) argument
38 , fIsSysFont(sysFont), fFamilyName(familyName)
79 bool isFixedPitch, const SkString familyName)
80 : INHERITED(style, sysFont, isFixedPitch, familyName)
102 bool isFixedPitch, const SkString familyName)
103 : INHERITED(style, sysFont, isFixedPitch, familyName)
136 explicit SkFontStyleSet_Custom(const SkString familyName) : fFamilyName(familyName) { } argument
219 virtual void onGetFamilyName(int index, SkString* familyName) const SK_OVERRIDE {
221 familyName
78 SkTypeface_Stream(Style style, bool sysFont, SkStream* stream, bool isFixedPitch, const SkString familyName) argument
101 SkTypeface_File(Style style, bool sysFont, const char path[], bool isFixedPitch, const SkString familyName) argument
[all...]
H A DSkFontHost_fontconfig.cpp84 const char familyName[],
93 familyName = fct->getFamilyName();
96 FindRec rec(familyName, style);
99 // SkDebugf("found cached face <%s> <%s> %p [%d]\n", familyName, ((FontConfigTypeface*)face)->getFamilyName(), face, face->getRefCnt());
107 if (!fci->matchFamilyName(familyName, style,
123 // SkDebugf("add face <%s> <%s> %p [%d]\n", familyName, outFamilyName.c_str(), face, face->getRefCnt());
130 const char familyName[],
132 return FontConfigTypeface::LegacyCreateTypeface(familyFace, familyName,
82 LegacyCreateTypeface( const SkTypeface* familyFace, const char familyName[], SkTypeface::Style style) argument
129 CreateTypeface(const SkTypeface* familyFace, const char familyName[], SkTypeface::Style style) argument
/external/chromium_org/content/common/
H A Dfont_config_ipc_linux.cc48 bool FontConfigIPC::matchFamilyName(const char familyName[], argument
54 size_t familyNameLen = familyName ? strlen(familyName) : 0;
60 request.WriteData(familyName, familyNameLen);
/external/chromium_org/third_party/WebKit/Source/core/css/
H A DCSSValuePool.cpp133 PassRefPtrWillBeRawPtr<CSSPrimitiveValue> CSSValuePool::createFontFamilyValue(const String& familyName) argument
135 RefPtrWillBeMember<CSSPrimitiveValue>& value = m_fontFamilyValueCache.add(familyName, nullptr).storedValue->value;
137 value = CSSPrimitiveValue::create(familyName, CSSPrimitiveValue::CSS_STRING);
H A DCSSFontSelector.cpp130 PassRefPtr<FontData> CSSFontSelector::getFontData(const FontDescription& fontDescription, const AtomicString& familyName) argument
132 if (CSSSegmentedFontFace* face = m_fontFaceCache.get(fontDescription, familyName))
136 AtomicString settingsFamilyName = familyNameFromSettings(m_genericFontFamilySettings, fontDescription, familyName);
/external/chromium_org/third_party/WebKit/Source/platform/exported/linux/
H A DWebFontInfo.cpp113 FcChar8* familyName; local
114 if (FcPatternGetString(current, FC_FAMILY, 0, &familyName) == FcResultMatch) {
115 const char* charFamily = reinterpret_cast<char*>(familyName);
/external/chromium_org/third_party/skia/tests/
H A DFontNamesTest.cpp160 SkString familyName; local
161 typeface->getFamilyName(&familyName);
163 SkDebugf("[%s]\n", familyName.c_str());
/external/pdfium/core/src/fxge/Microsoft SDK/include/
H A DGdiPlusFont.h133 IN const WCHAR * familyName,
140 FontFamily family(familyName, fontCollection);
132 Font( IN const WCHAR * familyName, IN REAL emSize, IN INT style, IN Unit unit, IN const FontCollection * fontCollection ) argument
/external/skia/tests/
H A DFontNamesTest.cpp160 SkString familyName; local
161 typeface->getFamilyName(&familyName);
163 SkDebugf("[%s]\n", familyName.c_str());
/external/chromium_org/third_party/skia/src/core/
H A DSkFontHost.cpp98 virtual void onGetFamilyName(int index, SkString* familyName) const SK_OVERRIDE {
113 virtual SkTypeface* onMatchFamilyStyleCharacter(const char familyName[],
148 void SkFontMgr::getFamilyName(int index, SkString* familyName) const {
149 this->onGetFamilyName(index, familyName);
156 SkFontStyleSet* SkFontMgr::matchFamily(const char familyName[]) const {
157 return emptyOnNull(this->onMatchFamily(familyName));
160 SkTypeface* SkFontMgr::matchFamilyStyle(const char familyName[], argument
162 return this->onMatchFamilyStyle(familyName, fs);
165 SkTypeface* SkFontMgr::matchFamilyStyleCharacter(const char familyName[], const SkFontStyle& style, argument
167 return this->onMatchFamilyStyleCharacter(familyName, styl
196 legacyCreateTypeface(const char familyName[], unsigned styleBits) const argument
228 CreateTypeface(const SkTypeface* familyFace, const char familyName[], SkTypeface::Style style) argument
[all...]
/external/chromium_org/third_party/skia/src/fonts/
H A DSkFontMgr_indirect.cpp162 void SkFontMgr_Indirect::onGetFamilyName(int index, SkString* familyName) const {
165 familyName->reset();
168 familyName->set(fFamilyNames->atStr(index));
179 SkFontStyleSet* SkFontMgr_Indirect::onMatchFamily(const char familyName[]) const {
180 return SkNEW_ARGS(SkStyleSet_Indirect, (this, -1, fProxy->matchName(familyName)));
242 SkTypeface* SkFontMgr_Indirect::onMatchFamilyStyle(const char familyName[], argument
244 SkFontIdentity id = fProxy->matchNameStyle(familyName, fontStyle);
248 SkTypeface* SkFontMgr_Indirect::onMatchFamilyStyleCharacter(const char familyName[], argument
252 SkFontIdentity id = fProxy->matchNameStyleCharacter(familyName, style, bpc47, character);
258 SkString familyName; local
275 onLegacyCreateTypeface(const char familyName[], unsigned styleBits) const argument
[all...]
/external/skia/src/core/
H A DSkFontHost.cpp98 virtual void onGetFamilyName(int index, SkString* familyName) const SK_OVERRIDE {
113 virtual SkTypeface* onMatchFamilyStyleCharacter(const char familyName[],
148 void SkFontMgr::getFamilyName(int index, SkString* familyName) const {
149 this->onGetFamilyName(index, familyName);
156 SkFontStyleSet* SkFontMgr::matchFamily(const char familyName[]) const {
157 return emptyOnNull(this->onMatchFamily(familyName));
160 SkTypeface* SkFontMgr::matchFamilyStyle(const char familyName[], argument
162 return this->onMatchFamilyStyle(familyName, fs);
165 SkTypeface* SkFontMgr::matchFamilyStyleCharacter(const char familyName[], const SkFontStyle& style, argument
167 return this->onMatchFamilyStyleCharacter(familyName, styl
196 legacyCreateTypeface(const char familyName[], unsigned styleBits) const argument
228 CreateTypeface(const SkTypeface* familyFace, const char familyName[], SkTypeface::Style style) argument
[all...]

Completed in 787 milliseconds

12