Home
last modified time | relevance | path

Searched refs:fontFace (Results 1 – 25 of 31) sorted by relevance

12

/external/chromium_org/third_party/WebKit/Source/core/css/
DFontFaceSet.cpp92 void LoadFontPromiseResolver::notifyLoaded(FontFace* fontFace) in notifyLoaded() argument
101 void LoadFontPromiseResolver::notifyError(FontFace* fontFace) in notifyError() argument
106 m_resolver->reject(fontFace->error()); in notifyError()
229 void FontFaceSet::beginFontLoading(FontFace* fontFace) in beginFontLoading() argument
232 addToLoadingFonts(fontFace); in beginFontLoading()
235 void FontFaceSet::fontLoaded(FontFace* fontFace) in fontLoaded() argument
237 m_histogram.updateStatus(fontFace); in fontLoaded()
238 m_loadedFonts.append(fontFace); in fontLoaded()
239 removeFromLoadingFonts(fontFace); in fontLoaded()
242 void FontFaceSet::loadError(FontFace* fontFace) in loadError() argument
[all …]
DFontFaceCache.cpp51 RefPtrWillBeRawPtr<FontFace> fontFace = prpFontFace; in add() local
52 if (!m_styleRuleToFontFace.add(fontFaceRule, fontFace).isNewEntry) in add()
54 addFontFace(cssFontSelector, fontFace, true); in add()
59 RefPtrWillBeRawPtr<FontFace> fontFace = prpFontFace; in addFontFace() local
61 FamilyToTraitsMap::AddResult traitsResult = m_fontFaces.add(fontFace->family(), nullptr); in addFontFace()
65 …TraitsMap::AddResult segmentedFontFaceResult = traitsResult.storedValue->value->add(fontFace->trai… in addFontFace()
67 …tFaceResult.storedValue->value = CSSSegmentedFontFace::create(cssFontSelector, fontFace->traits()); in addFontFace()
69 segmentedFontFaceResult.storedValue->value->addFontFace(fontFace, cssConnected); in addFontFace()
71 m_cssConnectedFontFaces.add(fontFace); in addFontFace()
85 void FontFaceCache::removeFontFace(FontFace* fontFace, bool cssConnected) in removeFontFace() argument
[all …]
DFontFace.cpp73 …RefPtrWillBeRawPtr<FontFace> fontFace = adoptRefWillBeNoop(new FontFace(context, family, descripto… in create() local
77fontFace->setError(DOMException::create(SyntaxError, "The source provided ('" + source + "') could… in create()
79 fontFace->initCSSFontFace(toDocument(context), src); in create()
80 return fontFace.release(); in create()
85 …RefPtrWillBeRawPtr<FontFace> fontFace = adoptRefWillBeNoop(new FontFace(context, family, descripto… in create() local
86fontFace->initCSSFontFace(static_cast<const unsigned char*>(source->data()), source->byteLength()); in create()
87 return fontFace.release(); in create()
92 …RefPtrWillBeRawPtr<FontFace> fontFace = adoptRefWillBeNoop(new FontFace(context, family, descripto… in create() local
93fontFace->initCSSFontFace(static_cast<const unsigned char*>(source->baseAddress()), source->byteLe… in create()
94 return fontFace.release(); in create()
[all …]
DCSSSegmentedFontFace.cpp87 RefPtrWillBeRawPtr<FontFace> fontFace = prpFontFace; in addFontFace() local
89 fontFace->cssFontFace()->setSegmentedFontFace(this); in addFontFace()
91 m_fontFaces.insertBefore(m_firstNonCssConnectedFace, fontFace); in addFontFace()
94 FontFaceList::iterator iterator = m_fontFaces.addReturnIterator(fontFace); in addFontFace()
102 RefPtrWillBeRawPtr<FontFace> fontFace = prpFontFace; in removeFontFace() local
103 FontFaceList::iterator it = m_fontFaces.find(fontFace); in removeFontFace()
112 fontFace->cssFontFace()->clearSegmentedFontFace(); in removeFontFace()
DCSSFontFace.h48 CSSFontFace(FontFace* fontFace, Vector<UnicodeRange>& ranges) in CSSFontFace() argument
51 , m_fontFace(fontFace) in CSSFontFace()
56 FontFace* fontFace() const { return m_fontFace; } in fontFace() function
DFontFaceSet.idl47 [RaisesException] void add(FontFace fontFace);
49 [RaisesException, ImplementedAs=remove] boolean delete(FontFace fontFace);
51 [RaisesException] boolean has(FontFace fontFace);
DFontFaceSetForEachCallback.idl32 …[CallWith=ThisValue] boolean handleItem(FontFace fontFace, FontFace fontFaceAgain, FontFaceSet set…
33 boolean handleItem(FontFace fontFace, FontFace fontFaceAgain, FontFaceSet set);
/external/chromium_org/third_party/skia/src/utils/win/
DSkDWrite.h55 AutoDWriteTable(IDWriteFontFace* fontFace, UINT32 beTag) : fFontFace(fontFace), fExists(FALSE) { in AutoDWriteTable() argument
57 fontFace->TryGetFontTable(beTag, in AutoDWriteTable()
77 AutoTDWriteTable(IDWriteFontFace* fontFace) : AutoDWriteTable(fontFace, tag) { } in AutoTDWriteTable() argument
/external/skia/src/utils/win/
DSkDWrite.h48 AutoDWriteTable(IDWriteFontFace* fontFace, UINT32 beTag) : fFontFace(fontFace), fExists(FALSE) { in AutoDWriteTable() argument
50 fontFace->TryGetFontTable(beTag, in AutoDWriteTable()
70 AutoTDWriteTable(IDWriteFontFace* fontFace) : AutoDWriteTable(fontFace, tag) { } in AutoTDWriteTable() argument
/external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/boxes/apple/
DQuicktimeTextSampleEntry.java42 short fontFace; field in QuicktimeTextSampleEntry
68 fontFace = content.getShort(); in _parseDetails()
156 return fontFace; in getFontFace()
159 public void setFontFace(short fontFace) { in setFontFace() argument
160 this.fontFace = fontFace; in setFontFace()
222 byteBuffer.putShort(fontFace); in getContent()
/external/chromium_org/third_party/skia/src/ports/
DSkFontMgr_win_dw.cpp286 SkTypeface* createTypefaceFromDWriteFont(IDWriteFontFace* fontFace,
429 IDWriteFontFace* fontFace, in createTypefaceFromDWriteFont() argument
433 ProtoDWriteTypeface spec = { fontFace, font, fontFamily }; in createTypefaceFromDWriteFont()
436 face = DWriteFontTypeface::Create(fFactory.get(), fontFace, font, fontFamily); in createTypefaceFromDWriteFont()
556 SkTScopedComPtr<IDWriteFontFace> fontFace; in onCreateFromStream() local
557 HRN(font->CreateFontFace(&fontFace)); in onCreateFromStream()
559 UINT32 faceIndex = fontFace->GetIndex(); in onCreateFromStream()
562 fontFace.get(), font.get(), fontFamily.get(), in onCreateFromStream()
640 SkTScopedComPtr<IDWriteFontFace> fontFace; in onLegacyCreateTypeface() local
641 HRNM(font->CreateFontFace(&fontFace), "Could not create font face."); in onLegacyCreateTypeface()
[all …]
DSkTypeface_win_dw.h44 IDWriteFontFace* fontFace,
55 , fDWriteFontFace(SkRefComPtr(fontFace)) in SkTypeface()
78 IDWriteFontFace* fontFace,
86 factory, fontFace, font, fontFamily,
DSkRemotableFontMgr_win_dw.cpp136 SkTScopedComPtr<IDWriteFontFace> fontFace; in FontToIdentity() local
137 HRM(font->CreateFontFace(&fontFace), "Could not create font face."); in FontToIdentity()
140 HR(fontFace->GetFiles(&numFiles, NULL)); in FontToIdentity()
147 HR(fontFace->GetFiles(&numFiles, &fontFile)); in FontToIdentity()
159 fontId->fTtcIndex = fontFace->GetIndex(); in FontToIdentity()
306 HRM(fOuter->fFontCollection->GetFontFromFontFace(glyphRun->fontFace, &font), in DrawGlyphRun()
DSkTypeface_win_dw.cpp290 static void populate_glyph_to_unicode(IDWriteFontFace* fontFace, in populate_glyph_to_unicode() argument
300 hr = fontFace->GetGlyphIndices(&c, 1, &glyph); in populate_glyph_to_unicode()
311 static bool getWidthAdvance(IDWriteFontFace* fontFace, int gId, int16_t* advance) { in getWidthAdvance() argument
316 HRESULT hr = fontFace->GetDesignGlyphMetrics(&glyphId, 1, &gm); in getWidthAdvance()
/external/skia/src/ports/
DSkFontMgr_win_dw.cpp286 SkTypeface* createTypefaceFromDWriteFont(IDWriteFontFace* fontFace,
429 IDWriteFontFace* fontFace, in createTypefaceFromDWriteFont() argument
433 ProtoDWriteTypeface spec = { fontFace, font, fontFamily }; in createTypefaceFromDWriteFont()
436 face = DWriteFontTypeface::Create(fFactory.get(), fontFace, font, fontFamily); in createTypefaceFromDWriteFont()
556 SkTScopedComPtr<IDWriteFontFace> fontFace; in onCreateFromStream() local
557 HRN(font->CreateFontFace(&fontFace)); in onCreateFromStream()
559 UINT32 faceIndex = fontFace->GetIndex(); in onCreateFromStream()
562 fontFace.get(), font.get(), fontFamily.get(), in onCreateFromStream()
640 SkTScopedComPtr<IDWriteFontFace> fontFace; in onLegacyCreateTypeface() local
641 HRNM(font->CreateFontFace(&fontFace), "Could not create font face."); in onLegacyCreateTypeface()
[all …]
DSkTypeface_win_dw.h42 IDWriteFontFace* fontFace,
53 , fDWriteFontFace(SkRefComPtr(fontFace)) in SkTypeface()
72 IDWriteFontFace* fontFace,
80 factory, fontFace, font, fontFamily,
DSkTypeface_win_dw.cpp285 static void populate_glyph_to_unicode(IDWriteFontFace* fontFace, in populate_glyph_to_unicode() argument
294 hr = fontFace->GetGlyphIndices(&c, 1, &glyph); in populate_glyph_to_unicode()
304 hr = fontFace->GetGlyphIndices(&c, 1, &glyph); in populate_glyph_to_unicode()
312 fontFace->GetGlyphIndices(chars.get(), count, glyph.get()); in populate_glyph_to_unicode()
332 static bool getWidthAdvance(IDWriteFontFace* fontFace, int gId, int16_t* advance) { in getWidthAdvance() argument
337 HRESULT hr = fontFace->GetDesignGlyphMetrics(&glyphId, 1, &gm); in getWidthAdvance()
DSkRemotableFontMgr_win_dw.cpp136 SkTScopedComPtr<IDWriteFontFace> fontFace; in FontToIdentity() local
137 HRM(font->CreateFontFace(&fontFace), "Could not create font face."); in FontToIdentity()
140 HR(fontFace->GetFiles(&numFiles, NULL)); in FontToIdentity()
147 HR(fontFace->GetFiles(&numFiles, &fontFile)); in FontToIdentity()
159 fontId->fTtcIndex = fontFace->GetIndex(); in FontToIdentity()
306 HRM(fOuter->fFontCollection->GetFontFromFontFace(glyphRun->fontFace, &font), in DrawGlyphRun()
/external/chromium_org/third_party/WebKit/Source/core/rendering/
DRenderThemeChromiumFontProvider.cpp51 … DEFINE_STATIC_LOCAL(const AtomicString, fontFace, ("Arial", AtomicString::ConstructFromLiteral)); in defaultGUIFont()
52 return fontFace; in defaultGUIFont()
/external/chromium_org/third_party/WebKit/Source/core/rendering/svg/
DSVGTextRunRenderingContext.cpp40 …ElementForFontData(const SimpleFontData* fontData, SVGFontFaceElement*& fontFace, SVGFontElement*&… in svgFontAndFontFaceElementForFontData() argument
53 fontFace = svgFontData->svgFontFaceElement(); in svgFontAndFontFaceElementForFontData()
54 ASSERT(fontFace); in svgFontAndFontFaceElementForFontData()
56 font = fontFace->associatedFontElement(); in svgFontAndFontFaceElementForFontData()
/external/chromium_org/third_party/harfbuzz-ng/src/
Dhb-open-file-private.hh228 case TrueTypeTag: return u.fontFace; in get_face()
241 case TrueTypeTag: return TRACE_RETURN (u.fontFace.sanitize (c)); in sanitize()
250 OpenTypeFontFace fontFace; member
/external/harfbuzz_ng/src/
Dhb-open-file-private.hh228 case TrueTypeTag: return u.fontFace; in get_face()
241 case TrueTypeTag: return TRACE_RETURN (u.fontFace.sanitize (c)); in sanitize()
250 OpenTypeFontFace fontFace; member
/external/pdfium/core/src/fxge/Microsoft SDK/include/
DDWrite.h1439 IDWriteFontFace* fontFace,
1628 __out IDWriteFontFace** fontFace
2752 IDWriteFontFace* fontFace,
2809 IDWriteFontFace * fontFace,
2871 IDWriteFontFace * fontFace,
2897 __notnull IDWriteFontFace* fontFace; member
4441 __out IDWriteFontFace** fontFace
4667 __out IDWriteFontFace** fontFace
/external/chromium_org/third_party/skia/src/core/
DSkAdvancedTypefaceMetrics.cpp266 IDWriteFontFace* fontFace,
270 bool (*getAdvance)(IDWriteFontFace* fontFace, int gId, int16_t* data));
/external/skia/src/core/
DSkAdvancedTypefaceMetrics.cpp266 IDWriteFontFace* fontFace,
270 bool (*getAdvance)(IDWriteFontFace* fontFace, int gId, int16_t* data));

12