/external/chromium_org/third_party/WebKit/Source/platform/fonts/mac/ |
D | MemoryActivatedFont.mm | 113 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 …]
|
D | MemoryActivatedFont.h | 75 static PassRefPtr<MemoryActivatedFont> create(uint32_t fontID, NSFont*, CGFontRef); 86 MemoryActivatedFont(uint32_t fontID, NSFont*, CGFontRef);
|
/external/skia/src/core/ |
D | SkTypefaceCache.cpp | 49 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()
|
D | SkTypeface.cpp | 20 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()
|
D | SkTypefaceCache.h | 78 static SkTypeface* FindByID(SkFontID fontID);
|
/external/chromium_org/third_party/skia/src/core/ |
D | SkTypefaceCache.cpp | 49 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()
|
D | SkTypeface.cpp | 20 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()
|
D | SkTypefaceCache.h | 78 static SkTypeface* FindByID(SkFontID fontID);
|
/external/chromium_org/third_party/skia/src/utils/ios/ |
D | SkFontHost_iOS.mm | 125 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/ |
D | SkFontHost_iOS.mm | 125 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/ |
D | glyph-usage.lua | 123 local fontID = round(k / 1000) 124 local size = k - fontID * 1000
|
/external/skia/src/pdf/ |
D | SkPDFFont.h | 171 static bool Find(uint32_t fontID, uint16_t glyphID, int* index); 182 FontRec(SkPDFFont* font, uint32_t fontID, uint16_t fGlyphID);
|
D | SkPDFDocument.cpp | 271 SkFontID fontID = fontResources[font]->typeface()->uniqueID(); in getCountOfFontTypes() local 272 if (seenFonts.find(fontID) == -1) { in getCountOfFontTypes() 274 seenFonts.push(fontID); in getCountOfFontTypes()
|
D | SkPDFFont.cpp | 795 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/ |
D | SkPDFFont.h | 171 static bool Find(uint32_t fontID, uint16_t glyphID, int* index); 182 FontRec(SkPDFFont* font, uint32_t fontID, uint16_t fGlyphID);
|
D | SkPDFDocument.cpp | 271 SkFontID fontID = fontResources[font]->typeface()->uniqueID(); in getCountOfFontTypes() local 272 if (seenFonts.find(fontID) == -1) { in getCountOfFontTypes() 274 seenFonts.push(fontID); in getCountOfFontTypes()
|
D | SkPDFFont.cpp | 795 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/ |
D | WebSandboxSupport.h | 56 virtual bool loadFont(NSFont* srcFont, CGFontRef* out, uint32_t* fontID) = 0;
|
/external/skia/tests/ |
D | FontHostTest.cpp | 176 SkFontID fontID = face->uniqueID(); in test_tables() local 177 REPORTER_ASSERT(reporter, fontID); in test_tables()
|
/external/skia/src/ports/ |
D | SkFontHost_mac.cpp | 428 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()
|
D | SkFontHost_FreeType.cpp | 234 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()
|
D | SkFontHost_win.cpp | 215 …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/ |
D | SkFontHost_mac.cpp | 428 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()
|
D | SkFontHost_FreeType.cpp | 232 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/ |
D | ppapi_webkitplatformsupport_impl.cc | 50 NSFont* srcFont, CGFontRef* out, uint32_t* fontID);
|