/external/skia/src/ports/ |
D | SkFontHost_mac_atsui.cpp | 41 uint32_t fontID = ::ATSFontFindFromName(str, kATSOptionFlagsDefault); in find_from_name() local 43 return fontID; in find_from_name() 49 uint32_t fontID; in find_default_fontID() local 51 fontID = find_from_name(gDefaultNames[i]); in find_default_fontID() 52 if (fontID) { in find_default_fontID() 53 return fontID; in find_default_fontID() 61 uint32_t fontID = 0; in CreateTypeface_() local 63 fontID = find_from_name(name); in CreateTypeface_() 65 if (0 == fontID) { in CreateTypeface_() 66 fontID = find_default_fontID(); in CreateTypeface_() [all …]
|
D | SkFontHost_tables.cpp | 114 int SkFontHost::CountTables(SkFontID fontID) { in CountTables() argument 115 SkStream* stream = SkFontHost::OpenStream(fontID); in CountTables() 124 int SkFontHost::GetTableTags(SkFontID fontID, SkFontTableTag tags[]) { in GetTableTags() argument 125 SkStream* stream = SkFontHost::OpenStream(fontID); in GetTableTags() 142 size_t SkFontHost::GetTableSize(SkFontID fontID, SkFontTableTag tag) { in GetTableSize() argument 143 SkStream* stream = SkFontHost::OpenStream(fontID); in GetTableSize() 162 size_t SkFontHost::GetTableData(SkFontID fontID, SkFontTableTag tag, in GetTableData() argument 164 SkStream* stream = SkFontHost::OpenStream(fontID); in GetTableData()
|
D | SkFontHost_freetype_mac.cpp | 68 SkStream* SkFontHost::OpenStream(uint32_t fontID) { in OpenStream() argument 69 FTMacTypeface* tf = (FTMacTypeface*)SkTypefaceCache::FindByID(fontID); in OpenStream() 77 size_t SkFontHost::GetFileName(SkFontID fontID, char path[], size_t length, in GetFileName() argument
|
D | SkFontHost_mac_coretext.cpp | 363 SkTypeface_Mac(SkTypeface::Style style, SkFontID fontID, bool isMonospace, in SkTypeface_Mac() argument 365 : SkTypeface(style, fontID, isMonospace) { in SkTypeface_Mac() 381 SkFontID fontID = CTFontRef_to_SkFontID(fontRef); in NewFromFontRef() local 383 return new SkTypeface_Mac(style, fontID, isMonospace, fontRef, name); in NewFromFontRef() 446 static CTFontRef GetFontRefFromFontID(SkFontID fontID) { in GetFontRefFromFontID() argument 447 SkTypeface_Mac* face = reinterpret_cast<SkTypeface_Mac*>(SkTypefaceCache::FindByID(fontID)); in GetFontRefFromFontID() 476 SkFontID fontID = CTFontRef_to_SkFontID(fontRef); in SkCreateTypefaceFromCTFont() local 477 SkTypeface* face = SkTypefaceCache::FindByID(fontID); in SkCreateTypefaceFromCTFont() 1611 uint32_t fontID, in GetAdvancedTypefaceMetrics() argument 1615 CTFontRef ctFont = GetFontRefFromFontID(fontID); in GetAdvancedTypefaceMetrics() [all …]
|
D | SkFontHost_none.cpp | 32 uint32_t fontID, in GetAdvancedTypefaceMetrics() argument 48 size_t SkFontHost::GetFileName(SkFontID fontID, char path[], size_t length, in GetFileName() argument
|
D | SkFontHost_android.cpp | 74 static SkStream* openStreamLocked(uint32_t fontID); 75 static size_t getFileNameLocked(SkFontID fontID, char path[], size_t length, int32_t* index); 846 SkStream* SkFontHost::OpenStream(uint32_t fontID) { in OpenStream() argument 848 return openStreamLocked(fontID); in OpenStream() 851 static SkStream* openStreamLocked(uint32_t fontID) { in openStreamLocked() argument 852 FamilyTypeface* tf = (FamilyTypeface*)findFromUniqueIDLocked(fontID); in openStreamLocked() 862 size_t SkFontHost::GetFileName(SkFontID fontID, char path[], size_t length, in GetFileName() argument 865 return getFileNameLocked(fontID, path, length, index); in GetFileName() 868 static size_t getFileNameLocked(SkFontID fontID, char path[], size_t length, int32_t* index) { in getFileNameLocked() argument 869 FamilyTypeface* tf = (FamilyTypeface*)findFromUniqueIDLocked(fontID); in getFileNameLocked()
|
D | SkFontHost_FONTPATH.cpp | 266 uint32_t fontID, in GetAdvancedTypefaceMetrics() argument 282 SkStream* SkFontHost::OpenStream(uint32_t fontID) { in OpenStream() argument 287 size_t SkFontHost::GetFileName(SkFontID fontID, char path[], size_t length, in GetFileName() argument
|
D | SkFontHost_simple.cpp | 562 SkStream* SkFontHost::OpenStream(uint32_t fontID) { in OpenStream() argument 565 FamilyTypeface* tf = (FamilyTypeface*)find_from_uniqueID(fontID); in OpenStream() 577 uint32_t fontID, 584 size_t SkFontHost::GetFileName(SkFontID fontID, char path[], size_t length, in GetFileName() argument 588 FamilyTypeface* tf = (FamilyTypeface*)find_from_uniqueID(fontID); in GetFileName()
|
D | SkFontHost_win.cpp | 146 LogFontTypeface(SkTypeface::Style style, SkFontID fontID, const LOGFONT& lf) : in LogFontTypeface() argument 147 SkTypeface(style, fontID, false), fLogFont(lf) {} in LogFontTypeface() 153 SkFontID fontID = SkTypefaceCache::NewFontID(); in Create() local 154 return new LogFontTypeface(style, fontID, lf); in Create() 204 static void ensure_typeface_accessible(SkFontID fontID) { in ensure_typeface_accessible() argument 205 LogFontTypeface* face = (LogFontTypeface*)SkTypefaceCache::FindByID(fontID); in ensure_typeface_accessible() 211 static void GetLogFontByID(SkFontID fontID, LOGFONT* lf) { in GetLogFontByID() argument 212 LogFontTypeface* face = (LogFontTypeface*)SkTypefaceCache::FindByID(fontID); in GetLogFontByID() 1043 uint32_t fontID, in GetAdvancedTypefaceMetrics() argument 1048 GetLogFontByID(fontID, &lf); in GetAdvancedTypefaceMetrics() [all …]
|
D | SkFontHost_FreeType.cpp | 189 SkFaceRec(SkStream* strm, uint32_t fontID); 226 SkFaceRec::SkFaceRec(SkStream* strm, uint32_t fontID) in SkFaceRec() argument 227 : fSkStream(strm), fFontID(fontID) { in SkFaceRec() 238 static SkFaceRec* ref_ft_face(uint32_t fontID) { in ref_ft_face() argument 241 if (rec->fFontID == fontID) { in ref_ft_face() 249 SkStream* strm = SkFontHost::OpenStream(fontID); in ref_ft_face() 251 SkDEBUGF(("SkFontHost::OpenStream failed opening %x\n", fontID)); in ref_ft_face() 256 rec = SkNEW_ARGS(SkFaceRec, (strm, fontID)); in ref_ft_face() 274 int length = SkFontHost::GetFileName(fontID, NULL, 0, &face_index); in ref_ft_face() 279 fprintf(stderr, "ERROR: unable to open font '%x'\n", fontID); in ref_ft_face() [all …]
|
D | SkFontHost_fontconfig.cpp | 320 size_t SkFontHost::GetFileName(SkFontID fontID, char path[], size_t length, in GetFileName() argument 323 const unsigned fileid = UniqueIdToFileId(fontID); in GetFileName()
|
D | SkFontHost_linux.cpp | 546 SkStream* SkFontHost::OpenStream(uint32_t fontID) { in OpenStream() argument 547 FamilyTypeface* tf = (FamilyTypeface*)find_from_uniqueID(fontID); in OpenStream() 557 size_t SkFontHost::GetFileName(SkFontID fontID, char path[], size_t length, in GetFileName() argument
|
/external/skia/tests/ |
D | FontHostTest.cpp | 28 SkFontID fontID = face->uniqueID(); in test_tables() local 30 int count = SkFontHost::CountTables(fontID); in test_tables() 35 int count2 = SkFontHost::GetTableTags(fontID, tags); in test_tables() 39 size_t size = SkFontHost::GetTableSize(fontID, tags[i]); in test_tables() 61 size_t size2 = SkFontHost::GetTableData(fontID, tags[i], 0, size, in test_tables()
|
/external/skia/include/core/ |
D | SkFontHost.h | 119 static size_t GetFileName(SkFontID fontID, char path[], size_t length, 185 SkFontID fontID, 224 static size_t GetTableData(SkFontID fontID, SkFontTableTag tag, 281 static uint32_t GetUnitsPerEm(SkFontID fontID);
|
/external/skia/src/core/ |
D | SkTypefaceCache.cpp | 27 SkTypeface* SkTypefaceCache::findByID(SkFontID fontID) const { in findByID() 31 if (curr->fFace->uniqueID() == fontID) { in findByID() 92 SkTypeface* SkTypefaceCache::FindByID(SkFontID fontID) { in FindByID() argument 94 return Get().findByID(fontID); in FindByID()
|
D | SkTypeface.cpp | 20 SkTypeface::SkTypeface(Style style, SkFontID fontID, bool isFixedWidth) in SkTypeface() argument 21 : fUniqueID(fontID), fStyle(style), fIsFixedWidth(isFixedWidth) { in SkTypeface() 24 this, fontID, ++gTypefaceCounter); in SkTypeface()
|
D | SkTypefaceCache.h | 53 static SkTypeface* FindByID(SkFontID fontID);
|
/external/webkit/Source/WebCore/platform/graphics/chromium/ |
D | SimpleFontDataLinux.cpp | 69 const SkFontID fontID = m_platformData.uniqueID(); in platformInit() local 76 size_t vdmxSize = SkFontHost::GetTableSize(fontID, vdmxTag); in platformInit() 80 && SkFontHost::GetTableData(fontID, vdmxTag, 0, vdmxSize, vdmxTable) == vdmxSize in platformInit() 119 size_t vheaSize = SkFontHost::GetTableSize(fontID, vheaTag); in platformInit() 120 size_t vorgSize = SkFontHost::GetTableSize(fontID, vorgTag); in platformInit()
|
D | CrossProcessFontLoading.mm | 183 // * fontID - on output, the ID corresponding to nsFont.
|
/external/skia/src/utils/ |
D | SkSfntUtils.cpp | 33 bool SkSfntUtils::ReadTable_head(SkFontID fontID, SkSfntTable_head* head) { in ReadTable_head() argument 38 size_t size = SkFontHost::GetTableData(fontID, gTag, 0, gSize, storage); in ReadTable_head() 65 bool SkSfntUtils::ReadTable_maxp(SkFontID fontID, SkSfntTable_maxp* maxp) { in ReadTable_maxp() argument 70 size_t size = SkFontHost::GetTableData(fontID, gTag, 0, gSize, storage); in ReadTable_maxp()
|
/external/webkit/Source/WebCore/platform/graphics/mac/ |
D | ComplexTextControllerATSUI.cpp | 250 static bool fontHasMirroringInfo(ATSUFontID fontID) in fontHasMirroringInfo() argument 253 OSStatus status = ATSFontGetTable(fontID, 'prop', 0, 0, 0, &propTableSize); in fontHasMirroringInfo() 285 …ATSUFontID fontID = fontData->platformData().ctFont() ? CTFontGetPlatformFont(fontData->platformDa… in initializeATSUStyle() local 286 if (!fontID) { in initializeATSUStyle() 300 …ByteCount styleSizes[4] = { sizeof(fontSize), sizeof(fontID), sizeof(verticalFlip), sizeof(kerning… in initializeATSUStyle() 302 …ATSUAttributeValuePtr styleValues[4] = { &fontSize, &fontID, &verticalFlip, &kerningInhibitFactor … in initializeATSUStyle() 309 fontData->m_ATSUMirrors = fontHasMirroringInfo(fontID); in initializeATSUStyle()
|
D | SimpleFontDataATSUI.mm | 52 …ATSUFontID fontID = m_platformData.ctFont() ? CTFontGetPlatformFont(m_platformData.ctFont(), 0) : … 53 if (!fontID) { 64 OSStatus status = ATSFontGetTable(fontID, tables[i], 0, 0, 0, &tableSize);
|
/external/webkit/Source/WebCore/platform/graphics/android/fonts/ |
D | FontDataAndroid.cpp | 69 const SkFontID fontID = m_platformData.uniqueID(); in platformInit() local 70 size_t vheaSize = SkFontHost::GetTableSize(fontID, vheaTag); in platformInit() 71 size_t vorgSize = SkFontHost::GetTableSize(fontID, vorgTag); in platformInit()
|
/external/skia/include/pdf/ |
D | SkPDFFont.h | 169 static bool Find(uint32_t fontID, uint16_t glyphID, int* index); 180 FontRec(SkPDFFont* font, uint32_t fontID, uint16_t fGlyphID);
|
/external/skia/src/pdf/ |
D | SkPDFFont.cpp | 742 const uint32_t fontID = SkTypeface::UniqueID(typeface); in GetFontResource() local 744 if (Find(fontID, glyphID, &relatedFontIndex)) { in GetFontResource() 765 SkFontHost::GetAdvancedTypefaceMetrics(fontID, info, NULL, 0); in GetFontResource() 775 SkFontHost::GetAdvancedTypefaceMetrics(fontID, info, NULL, 0); in GetFontResource() 783 FontRec newEntry(font, fontID, font->fFirstGlyphID); in GetFontResource() 808 bool SkPDFFont::Find(uint32_t fontID, uint16_t glyphID, int* index) { in Find() argument 810 FontRec search(NULL, fontID, glyphID); in Find() 963 SkPDFFont::FontRec::FontRec(SkPDFFont* font, uint32_t fontID, uint16_t glyphID) in FontRec() argument 965 fFontID(fontID), in FontRec()
|