Home
last modified time | relevance | path

Searched refs:fontID (Results 1 – 25 of 30) sorted by relevance

12

/external/chromium_org/third_party/WebKit/Source/platform/fonts/mac/
DMemoryActivatedFont.mm113 uint32_t fontID;
123 if (!sandboxSupport->loadFont(nsFont, &tmpCGFont, &fontID))
127 // Now that we have the fontID from the browser process, we can consult
129 font = fontCacheByFontID().get(fontID);
135 return MemoryActivatedFont::create(fontID, nsFont, cgFont.get());
140 PassRefPtr<MemoryActivatedFont> MemoryActivatedFont::create(uint32_t fontID, NSFont* nsFont, CGFont…
142 return adoptRef(new MemoryActivatedFont(fontID, nsFont, cgFont));
145 MemoryActivatedFont::MemoryActivatedFont(uint32_t fontID, NSFont* nsFont, CGFontRef cgFont)
147 , m_fontID(fontID)
151 fontCacheByFontID().add(fontID, this);
[all …]
DMemoryActivatedFont.h75 static PassRefPtr<MemoryActivatedFont> create(uint32_t fontID, NSFont*, CGFontRef);
86 MemoryActivatedFont(uint32_t fontID, NSFont*, CGFontRef);
/external/skia/src/core/
DSkTypefaceCache.cpp49 SkTypeface* SkTypefaceCache::findByID(SkFontID fontID) const { in findByID()
53 if (curr->fFace->uniqueID() == fontID) { in findByID()
129 SkTypeface* SkTypefaceCache::FindByID(SkFontID fontID) { in FindByID() argument
131 return Get().findByID(fontID); in FindByID()
DSkTypeface.cpp20 SkTypeface::SkTypeface(Style style, SkFontID fontID, bool isFixedPitch) in SkTypeface() argument
21 : fUniqueID(fontID), fStyle(style), fIsFixedPitch(isFixedPitch) { in SkTypeface()
24 this, fontID, ++gTypefaceCounter); in SkTypeface()
DSkTypefaceCache.h78 static SkTypeface* FindByID(SkFontID fontID);
/external/chromium_org/third_party/skia/src/core/
DSkTypefaceCache.cpp49 SkTypeface* SkTypefaceCache::findByID(SkFontID fontID) const { in findByID()
53 if (curr->fFace->uniqueID() == fontID) { in findByID()
129 SkTypeface* SkTypefaceCache::FindByID(SkFontID fontID) { in FindByID() argument
131 return Get().findByID(fontID); in FindByID()
DSkTypeface.cpp20 SkTypeface::SkTypeface(Style style, SkFontID fontID, bool isFixedPitch) in SkTypeface() argument
21 : fUniqueID(fontID), fStyle(style), fIsFixedPitch(isFixedPitch) { in SkTypeface()
24 this, fontID, ++gTypefaceCounter); in SkTypeface()
DSkTypefaceCache.h78 static SkTypeface* FindByID(SkFontID fontID);
/external/chromium_org/third_party/skia/src/utils/ios/
DSkFontHost_iOS.mm125 static SkTypeface_Stream* find_by_id(SkFontID fontID) {
129 if (gFonts[i]->uniqueID() == fontID) {
192 size_t SkFontHost::GetFileName(SkFontID fontID, char path[], size_t length,
250 uint32_t fontID,
/external/skia/src/utils/ios/
DSkFontHost_iOS.mm125 static SkTypeface_Stream* find_by_id(SkFontID fontID) {
129 if (gFonts[i]->uniqueID() == fontID) {
192 size_t SkFontHost::GetFileName(SkFontID fontID, char path[], size_t length,
250 uint32_t fontID,
/external/skia/tools/lua/
Dglyph-usage.lua123 local fontID = round(k / 1000)
124 local size = k - fontID * 1000
/external/skia/src/pdf/
DSkPDFFont.h171 static bool Find(uint32_t fontID, uint16_t glyphID, int* index);
182 FontRec(SkPDFFont* font, uint32_t fontID, uint16_t fGlyphID);
DSkPDFDocument.cpp271 SkFontID fontID = fontResources[font]->typeface()->uniqueID(); in getCountOfFontTypes() local
272 if (seenFonts.find(fontID) == -1) { in getCountOfFontTypes()
274 seenFonts.push(fontID); in getCountOfFontTypes()
DSkPDFFont.cpp795 const uint32_t fontID = typeface->uniqueID(); in GetFontResource() local
797 if (Find(fontID, glyphID, &relatedFontIndex)) { in GetFontResource()
847 FontRec newEntry(font, fontID, font->fFirstGlyphID); in GetFontResource()
872 bool SkPDFFont::Find(uint32_t fontID, uint16_t glyphID, int* index) { in Find() argument
874 FontRec search(NULL, fontID, glyphID); in Find()
1030 SkPDFFont::FontRec::FontRec(SkPDFFont* font, uint32_t fontID, uint16_t glyphID) in FontRec() argument
1032 fFontID(fontID), in FontRec()
/external/chromium_org/third_party/skia/src/pdf/
DSkPDFFont.h171 static bool Find(uint32_t fontID, uint16_t glyphID, int* index);
182 FontRec(SkPDFFont* font, uint32_t fontID, uint16_t fGlyphID);
DSkPDFDocument.cpp271 SkFontID fontID = fontResources[font]->typeface()->uniqueID(); in getCountOfFontTypes() local
272 if (seenFonts.find(fontID) == -1) { in getCountOfFontTypes()
274 seenFonts.push(fontID); in getCountOfFontTypes()
DSkPDFFont.cpp795 const uint32_t fontID = typeface->uniqueID(); in GetFontResource() local
797 if (Find(fontID, glyphID, &relatedFontIndex)) { in GetFontResource()
847 FontRec newEntry(font, fontID, font->fFirstGlyphID); in GetFontResource()
872 bool SkPDFFont::Find(uint32_t fontID, uint16_t glyphID, int* index) { in Find() argument
874 FontRec search(NULL, fontID, glyphID); in Find()
1030 SkPDFFont::FontRec::FontRec(SkPDFFont* font, uint32_t fontID, uint16_t glyphID) in FontRec() argument
1032 fFontID(fontID), in FontRec()
/external/chromium_org/third_party/WebKit/public/platform/mac/
DWebSandboxSupport.h56 virtual bool loadFont(NSFont* srcFont, CGFontRef* out, uint32_t* fontID) = 0;
/external/skia/tests/
DFontHostTest.cpp176 SkFontID fontID = face->uniqueID(); in test_tables() local
177 REPORTER_ASSERT(reporter, fontID); in test_tables()
/external/skia/src/ports/
DSkFontHost_mac.cpp428 SkTypeface_Mac(SkTypeface::Style style, SkFontID fontID, bool isFixedPitch, in SkTypeface_Mac() argument
430 : SkTypeface(style, fontID, isFixedPitch) in SkTypeface_Mac()
438 SkTypeface_Mac(const SkFontStyle& fs, SkFontID fontID, bool isFixedPitch, in SkTypeface_Mac() argument
440 : SkTypeface(fontstyle2stylebits(fs), fontID, isFixedPitch) in SkTypeface_Mac()
480 SkFontID fontID = CTFontRef_to_SkFontID(fontRef); in NewFromFontRef() local
482 return new SkTypeface_Mac(style, fontID, isFixedPitch, fontRef, name); in NewFromFontRef()
555 SkFontID fontID = CTFontRef_to_SkFontID(fontRef); in SkCreateTypefaceFromCTFont() local
556 SkTypeface* face = SkTypefaceCache::FindByID(fontID); in SkCreateTypefaceFromCTFont()
2127 SkFontID fontID = CTFontRef_to_SkFontID(ctFont); in createFromDesc() local
2129 face = SkNEW_ARGS(SkTypeface_Mac, (rec.fFontStyle, fontID, isFixedPitch, in createFromDesc()
DSkFontHost_FreeType.cpp234 SkFaceRec(SkStream* strm, uint32_t fontID);
271 SkFaceRec::SkFaceRec(SkStream* strm, uint32_t fontID) in SkFaceRec() argument
272 : fNext(NULL), fSkStream(strm), fRefCnt(1), fFontID(fontID) { in SkFaceRec()
285 const SkFontID fontID = typeface->uniqueID(); in ref_ft_face() local
288 if (rec->fFontID == fontID) { in ref_ft_face()
303 rec = SkNEW_ARGS(SkFaceRec, (strm, fontID)); in ref_ft_face()
322 fprintf(stderr, "ERROR: unable to open font '%x'\n", fontID); in ref_ft_face()
DSkFontHost_win.cpp215 …LogFontTypeface(SkTypeface::Style style, SkFontID fontID, const LOGFONT& lf, bool serializeAsStrea… in LogFontTypeface() argument
216 SkTypeface(style, fontID, false), fLogFont(lf), fSerializeAsStream(serializeAsStream) { in LogFontTypeface()
254 SkFontID fontID = SkTypefaceCache::NewFontID(); in Create() local
255 return new LogFontTypeface(style, fontID, lf); in Create()
285 …FontMemResourceTypeface(SkTypeface::Style style, SkFontID fontID, const LOGFONT& lf, HANDLE fontMe… in FontMemResourceTypeface() argument
286 LogFontTypeface(style, fontID, lf, true), fFontMemResource(fontMemResource) { in FontMemResourceTypeface()
296 SkFontID fontID = SkTypefaceCache::NewFontID(); in Create() local
297 return new FontMemResourceTypeface(style, fontID, lf, fontMemResource); in Create()
/external/chromium_org/third_party/skia/src/ports/
DSkFontHost_mac.cpp428 SkTypeface_Mac(SkTypeface::Style style, SkFontID fontID, bool isFixedPitch, in SkTypeface_Mac() argument
430 : SkTypeface(style, fontID, isFixedPitch) in SkTypeface_Mac()
438 SkTypeface_Mac(const SkFontStyle& fs, SkFontID fontID, bool isFixedPitch, in SkTypeface_Mac() argument
440 : SkTypeface(fontstyle2stylebits(fs), fontID, isFixedPitch) in SkTypeface_Mac()
480 SkFontID fontID = CTFontRef_to_SkFontID(fontRef); in NewFromFontRef() local
482 return new SkTypeface_Mac(style, fontID, isFixedPitch, fontRef, name); in NewFromFontRef()
555 SkFontID fontID = CTFontRef_to_SkFontID(fontRef); in SkCreateTypefaceFromCTFont() local
556 SkTypeface* face = SkTypefaceCache::FindByID(fontID); in SkCreateTypefaceFromCTFont()
2127 SkFontID fontID = CTFontRef_to_SkFontID(ctFont); in createFromDesc() local
2129 face = SkNEW_ARGS(SkTypeface_Mac, (rec.fFontStyle, fontID, isFixedPitch, in createFromDesc()
DSkFontHost_FreeType.cpp232 SkFaceRec(SkStream* strm, uint32_t fontID);
269 SkFaceRec::SkFaceRec(SkStream* strm, uint32_t fontID) in SkFaceRec() argument
270 : fNext(NULL), fSkStream(strm), fRefCnt(1), fFontID(fontID) { in SkFaceRec()
283 const SkFontID fontID = typeface->uniqueID(); in ref_ft_face() local
286 if (rec->fFontID == fontID) { in ref_ft_face()
301 rec = SkNEW_ARGS(SkFaceRec, (strm, fontID)); in ref_ft_face()
320 fprintf(stderr, "ERROR: unable to open font '%x'\n", fontID); in ref_ft_face()
/external/chromium_org/content/ppapi_plugin/
Dppapi_webkitplatformsupport_impl.cc50 NSFont* srcFont, CGFontRef* out, uint32_t* fontID);

12