/external/chromium_org/third_party/WebKit/public/platform/mac/ |
WebSandboxSupport.h | 56 virtual bool loadFont(NSFont* srcFont, CGFontRef* out, uint32_t* fontID) = 0;
|
/external/chromium_org/third_party/WebKit/Source/platform/fonts/mac/ |
MemoryActivatedFont.h | 75 static PassRefPtr<MemoryActivatedFont> create(uint32_t fontID, NSFont*, CGFontRef); 86 MemoryActivatedFont(uint32_t fontID, NSFont*, CGFontRef);
|
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, CGFontRef 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...] |
/external/chromium_org/third_party/skia/src/core/ |
SkTypefaceCache.cpp | 49 SkTypeface* SkTypefaceCache::findByID(SkFontID fontID) const { 53 if (curr->fFace->uniqueID() == fontID) { 129 SkTypeface* SkTypefaceCache::FindByID(SkFontID fontID) { 131 return Get().findByID(fontID); 149 SkDebugf("SkTypefaceCache: face %p fontID %d style %d refcnt %d\n",
|
SkTypefaceCache.h | 45 * Search the cache for a typeface with the specified fontID (uniqueID). 68 * Helper: returns a unique fontID to pass to the constructor of 78 static SkTypeface* FindByID(SkFontID fontID);
|
SkTypeface.cpp | 20 SkTypeface::SkTypeface(Style style, SkFontID fontID, bool isFixedPitch) 21 : fUniqueID(fontID), fStyle(style), fIsFixedPitch(isFixedPitch) { 23 SkDebugf("SkTypeface: create %p fontID %d total %d\n", 24 this, fontID, ++gTypefaceCounter); 30 SkDebugf("SkTypeface: destroy %p fontID %d total %d\n", 74 // fontID, the font cache may later on ask to resolve that back into a
|
/external/skia/src/core/ |
SkTypefaceCache.cpp | 49 SkTypeface* SkTypefaceCache::findByID(SkFontID fontID) const { 53 if (curr->fFace->uniqueID() == fontID) { 129 SkTypeface* SkTypefaceCache::FindByID(SkFontID fontID) { 131 return Get().findByID(fontID); 149 SkDebugf("SkTypefaceCache: face %p fontID %d style %d refcnt %d\n",
|
SkTypefaceCache.h | 45 * Search the cache for a typeface with the specified fontID (uniqueID). 68 * Helper: returns a unique fontID to pass to the constructor of 78 static SkTypeface* FindByID(SkFontID fontID);
|
SkTypeface.cpp | 20 SkTypeface::SkTypeface(Style style, SkFontID fontID, bool isFixedPitch) 21 : fUniqueID(fontID), fStyle(style), fIsFixedPitch(isFixedPitch) { 23 SkDebugf("SkTypeface: create %p fontID %d total %d\n", 24 this, fontID, ++gTypefaceCounter); 30 SkDebugf("SkTypeface: destroy %p fontID %d total %d\n", 74 // fontID, the font cache may later on ask to resolve that back into a
|
/external/chromium_org/third_party/skia/src/pdf/ |
SkPDFFont.h | 171 static bool Find(uint32_t fontID, uint16_t glyphID, int* index); 182 FontRec(SkPDFFont* font, uint32_t fontID, uint16_t fGlyphID);
|
SkPDFDocument.cpp | 271 SkFontID fontID = fontResources[font]->typeface()->uniqueID(); 272 if (seenFonts.find(fontID) == -1) { 274 seenFonts.push(fontID);
|
SkPDFFont.cpp | 795 const uint32_t fontID = typeface->uniqueID(); 797 if (Find(fontID, glyphID, &relatedFontIndex)) { 847 FontRec newEntry(font, fontID, font->fFirstGlyphID); 872 bool SkPDFFont::Find(uint32_t fontID, uint16_t glyphID, int* index) { 874 FontRec search(NULL, fontID, glyphID); [all...] |
/external/skia/src/pdf/ |
SkPDFFont.h | 171 static bool Find(uint32_t fontID, uint16_t glyphID, int* index); 182 FontRec(SkPDFFont* font, uint32_t fontID, uint16_t fGlyphID);
|
SkPDFDocument.cpp | 271 SkFontID fontID = fontResources[font]->typeface()->uniqueID(); 272 if (seenFonts.find(fontID) == -1) { 274 seenFonts.push(fontID);
|
SkPDFFont.cpp | 795 const uint32_t fontID = typeface->uniqueID(); 797 if (Find(fontID, glyphID, &relatedFontIndex)) { 847 FontRec newEntry(font, fontID, font->fFirstGlyphID); 872 bool SkPDFFont::Find(uint32_t fontID, uint16_t glyphID, int* index) { 874 FontRec search(NULL, fontID, glyphID); [all...] |
/external/skia/tools/lua/ |
glyph-usage.lua | 123 local fontID = round(k / 1000) 124 local size = k - fontID * 1000 127 -- io.write("fontID,", fontID, ", size,", size, ", entries,", count, "\n");
|
/frameworks/av/libvideoeditor/vss/common/inc/ |
M4DA_Types.h | 165 M4OSA_UInt16 fontID; /**< ID of the font */
|
/external/chromium_org/content/ppapi_plugin/ |
ppapi_webkitplatformsupport_impl.cc | 50 NSFont* srcFont, CGFontRef* out, uint32_t* fontID);
|
/external/skia/tests/ |
FontHostTest.cpp | 176 SkFontID fontID = face->uniqueID(); 177 REPORTER_ASSERT(reporter, fontID);
|
/frameworks/base/media/java/android/media/ |
TimedText.java | 186 public final int fontID; 218 * @param fontId the ID of the font. 225 public Style(int startChar, int endChar, int fontId, 230 this.fontID = fontId; 535 int fontId = -1; 553 fontId = parcel.readInt(); 583 Style style = new Style(startChar, endChar, fontId, isBold,
|
/external/chromium_org/third_party/skia/src/ports/ |
SkFontHost_FreeType.cpp | 232 SkFaceRec(SkStream* strm, uint32_t fontID); 269 SkFaceRec::SkFaceRec(SkStream* strm, uint32_t fontID) 270 : fNext(NULL), fSkStream(strm), fRefCnt(1), fFontID(fontID) { 283 const SkFontID fontID = typeface->uniqueID(); 286 if (rec->fFontID == fontID) { 301 rec = SkNEW_ARGS(SkFaceRec, (strm, fontID)); 320 fprintf(stderr, "ERROR: unable to open font '%x'\n", fontID); [all...] |
SkFontHost_mac.cpp | 428 SkTypeface_Mac(SkTypeface::Style style, SkFontID fontID, bool isFixedPitch, 430 : SkTypeface(style, fontID, isFixedPitch) 438 SkTypeface_Mac(const SkFontStyle& fs, SkFontID fontID, bool isFixedPitch, 440 : SkTypeface(fontstyle2stylebits(fs), fontID, isFixedPitch) 480 SkFontID fontID = CTFontRef_to_SkFontID(fontRef); 482 return new SkTypeface_Mac(style, fontID, isFixedPitch, fontRef, name); 555 SkFontID fontID = CTFontRef_to_SkFontID(fontRef); 556 SkTypeface* face = SkTypefaceCache::FindByID(fontID); [all...] |
SkFontHost_win.cpp | 215 LogFontTypeface(SkTypeface::Style style, SkFontID fontID, const LOGFONT& lf, bool serializeAsStream = false) : 216 SkTypeface(style, fontID, false), fLogFont(lf), fSerializeAsStream(serializeAsStream) { 254 SkFontID fontID = SkTypefaceCache::NewFontID(); 255 return new LogFontTypeface(style, fontID, lf); 285 FontMemResourceTypeface(SkTypeface::Style style, SkFontID fontID, const LOGFONT& lf, HANDLE fontMemResource) : 286 LogFontTypeface(style, fontID, lf, true), fFontMemResource(fontMemResource) { 296 SkFontID fontID = SkTypefaceCache::NewFontID(); 297 return new FontMemResourceTypeface(style, fontID, lf, fontMemResource); [all...] |
/external/skia/src/ports/ |
SkFontHost_FreeType.cpp | 234 SkFaceRec(SkStream* strm, uint32_t fontID); 271 SkFaceRec::SkFaceRec(SkStream* strm, uint32_t fontID) 272 : fNext(NULL), fSkStream(strm), fRefCnt(1), fFontID(fontID) { 285 const SkFontID fontID = typeface->uniqueID(); 288 if (rec->fFontID == fontID) { 303 rec = SkNEW_ARGS(SkFaceRec, (strm, fontID)); 322 fprintf(stderr, "ERROR: unable to open font '%x'\n", fontID); [all...] |
SkFontHost_mac.cpp | 428 SkTypeface_Mac(SkTypeface::Style style, SkFontID fontID, bool isFixedPitch, 430 : SkTypeface(style, fontID, isFixedPitch) 438 SkTypeface_Mac(const SkFontStyle& fs, SkFontID fontID, bool isFixedPitch, 440 : SkTypeface(fontstyle2stylebits(fs), fontID, isFixedPitch) 480 SkFontID fontID = CTFontRef_to_SkFontID(fontRef); 482 return new SkTypeface_Mac(style, fontID, isFixedPitch, fontRef, name); 555 SkFontID fontID = CTFontRef_to_SkFontID(fontRef); 556 SkTypeface* face = SkTypefaceCache::FindByID(fontID); [all...] |