Searched refs:fontID (Results 1 - 25 of 42) sorted by relevance

12

/external/webkit/Source/WebCore/platform/graphics/mac/
H A DSimpleFontDataATSUI.mm52 ATSUFontID fontID = m_platformData.ctFont() ? CTFontGetPlatformFont(m_platformData.ctFont(), 0) : 0;
53 if (!fontID) {
64 OSStatus status = ATSFontGetTable(fontID, tables[i], 0, 0, 0, &tableSize);
H A DComplexTextControllerATSUI.cpp250 static bool fontHasMirroringInfo(ATSUFontID fontID) argument
253 OSStatus status = ATSFontGetTable(fontID, 'prop', 0, 0, 0, &propTableSize);
285 ATSUFontID fontID = fontData->platformData().ctFont() ? CTFontGetPlatformFont(fontData->platformData().ctFont(), 0) : 0;
286 if (!fontID) {
300 ByteCount styleSizes[4] = { sizeof(fontSize), sizeof(fontID), sizeof(verticalFlip), sizeof(kerningInhibitFactor) };
302 ATSUAttributeValuePtr styleValues[4] = { &fontSize, &fontID, &verticalFlip, &kerningInhibitFactor };
309 fontData->m_ATSUMirrors = fontHasMirroringInfo(fontID);
/external/skia/include/core/
H A DSkFontHost.h35 returned). Either way, the fontID for those instance(s) will be the same.
36 In addition, the fontID should never be set to 0. That value is used as a
90 /** Some fonts are stored in files. If that is true for the fontID, then
103 If the fontID does not correspond to a file, then the function returns
106 @param fontID The font whose file name is being queried
116 static size_t GetFileName(SkFontID fontID, char path[], size_t length,
143 * Given a "current" fontID, return the next logical fontID to use
150 * The original fontID is also provided. This is the initial font that was
198 SkFontID fontID,
[all...]
/external/skia/legacy/src/ports/
H A DSkFontHost_tables.cpp114 int SkFontHost::CountTables(SkFontID fontID) { argument
115 SkStream* stream = SkFontHost::OpenStream(fontID);
124 int SkFontHost::GetTableTags(SkFontID fontID, SkFontTableTag tags[]) { argument
125 SkStream* stream = SkFontHost::OpenStream(fontID);
142 size_t SkFontHost::GetTableSize(SkFontID fontID, SkFontTableTag tag) { argument
143 SkStream* stream = SkFontHost::OpenStream(fontID);
162 size_t SkFontHost::GetTableData(SkFontID fontID, SkFontTableTag tag, argument
164 SkStream* stream = SkFontHost::OpenStream(fontID);
H A DSkFontHost_mac_atsui.cpp41 uint32_t fontID = ::ATSFontFindFromName(str, kATSOptionFlagsDefault); local
43 return fontID;
49 uint32_t fontID; local
51 fontID = find_from_name(gDefaultNames[i]);
52 if (fontID) {
53 return fontID;
61 uint32_t fontID = 0; local
63 fontID = find_from_name(name);
65 if (0 == fontID) {
66 fontID
148 ATSUFontID fontID = FMGetFontFromATSFontRef(fRec.fFontID); local
296 get_font_table(ATSFontRef fontID, uint32_t tag) argument
474 GetAdvancedTypefaceMetrics( uint32_t fontID, SkAdvancedTypefaceMetrics::PerGlyphInfo perGlyphInfo, const uint32_t* glyphIDs, uint32_t glyphIDsCount) argument
526 SfntHeader(SkFontID fontID, bool needDir) argument
558 CountTables(SkFontID fontID) argument
563 GetTableTags(SkFontID fontID, SkFontTableTag tags[]) argument
573 GetTableSize(SkFontID fontID, SkFontTableTag tag) argument
581 GetTableData(SkFontID fontID, SkFontTableTag tag, size_t offset, size_t length, void* data) argument
[all...]
H A DSkFontHost_freetype_mac.cpp68 SkStream* SkFontHost::OpenStream(uint32_t fontID) { argument
69 FTMacTypeface* tf = (FTMacTypeface*)SkTypefaceCache::FindByID(fontID);
77 size_t SkFontHost::GetFileName(SkFontID fontID, char path[], size_t length, argument
H A DSkFontHost_none.cpp32 uint32_t fontID,
48 size_t SkFontHost::GetFileName(SkFontID fontID, char path[], size_t length, argument
31 GetAdvancedTypefaceMetrics( uint32_t fontID, SkAdvancedTypefaceMetrics::PerGlyphInfo perGlyphInfo) argument
H A DSkFontHost_android.cpp80 static SkStream* openStreamLocked(uint32_t fontID);
81 static size_t getFileNameLocked(SkFontID fontID, char path[], size_t length, int32_t* index);
623 static int getSystemFontIndexForFontID(SkFontID fontID) { argument
625 SkASSERT(fontID - 1 < gSystemFonts.count());
626 return fontID - 1;
646 SkFontID fontID = defaultList->fList[fontIdx].fFontID; local
647 int sysFontIdx = getSystemFontIndexForFontID(fontID);
779 SkDEBUGF(("---- SkTypeface[%d] %s fontID %d\n",
960 SkStream* SkFontHost::OpenStream(uint32_t fontID) { argument
962 return openStreamLocked(fontID);
965 openStreamLocked(uint32_t fontID) argument
976 GetFileName(SkFontID fontID, char path[], size_t length, int32_t* index) argument
982 getFileNameLocked(SkFontID fontID, char path[], size_t length, int32_t* index) argument
1111 SkFontID fontID = 0; local
[all...]
H A DSkFontHost_mac_coretext.cpp363 SkTypeface_Mac(SkTypeface::Style style, SkFontID fontID, bool isMonospace, argument
365 : SkTypeface(style, fontID, isMonospace) {
381 SkFontID fontID = CTFontRef_to_SkFontID(fontRef); local
383 return new SkTypeface_Mac(style, fontID, isMonospace, fontRef, name);
446 static CTFontRef GetFontRefFromFontID(SkFontID fontID) { argument
447 SkTypeface_Mac* face = reinterpret_cast<SkTypeface_Mac*>(SkTypefaceCache::FindByID(fontID));
476 SkFontID fontID = CTFontRef_to_SkFontID(fontRef); local
477 SkTypeface* face = SkTypefaceCache::FindByID(fontID);
1611 uint32_t fontID,
1615 CTFontRef ctFont = GetFontRefFromFontID(fontID);
1610 GetAdvancedTypefaceMetrics( uint32_t fontID, SkAdvancedTypefaceMetrics::PerGlyphInfo perGlyphInfo, const uint32_t* glyphIDs, uint32_t glyphIDsCount) argument
1813 GetFileName(SkFontID fontID, char path[], size_t length, int32_t* index) argument
1825 uint32_t fontID = face->uniqueID(); local
1831 SkFontID fontID = stream->readU32(); local
1926 CountTables(SkFontID fontID) argument
1938 GetTableTags(SkFontID fontID, SkFontTableTag tags[]) argument
1971 GetTableSize(SkFontID fontID, SkFontTableTag tag) argument
1982 GetTableData(SkFontID fontID, SkFontTableTag tag, size_t offset, size_t length, void* dst) argument
[all...]
/external/skia/src/ports/
H A DSkFontHost_tables.cpp114 int SkFontHost::CountTables(SkFontID fontID) { argument
115 SkStream* stream = SkFontHost::OpenStream(fontID);
124 int SkFontHost::GetTableTags(SkFontID fontID, SkFontTableTag tags[]) { argument
125 SkStream* stream = SkFontHost::OpenStream(fontID);
142 size_t SkFontHost::GetTableSize(SkFontID fontID, SkFontTableTag tag) { argument
143 SkStream* stream = SkFontHost::OpenStream(fontID);
162 size_t SkFontHost::GetTableData(SkFontID fontID, SkFontTableTag tag, argument
164 SkStream* stream = SkFontHost::OpenStream(fontID);
H A DSkFontHost_mac_atsui.cpp41 uint32_t fontID = ::ATSFontFindFromName(str, kATSOptionFlagsDefault); local
43 return fontID;
49 uint32_t fontID; local
51 fontID = find_from_name(gDefaultNames[i]);
52 if (fontID) {
53 return fontID;
61 uint32_t fontID = 0; local
63 fontID = find_from_name(name);
65 if (0 == fontID) {
66 fontID
148 ATSUFontID fontID = FMGetFontFromATSFontRef(fRec.fFontID); local
296 get_font_table(ATSFontRef fontID, uint32_t tag) argument
474 GetAdvancedTypefaceMetrics( uint32_t fontID, SkAdvancedTypefaceMetrics::PerGlyphInfo perGlyphInfo, const uint32_t* glyphIDs, uint32_t glyphIDsCount) argument
525 SfntHeader(SkFontID fontID, bool needDir) argument
557 CountTables(SkFontID fontID) argument
562 GetTableTags(SkFontID fontID, SkFontTableTag tags[]) argument
572 GetTableSize(SkFontID fontID, SkFontTableTag tag) argument
580 GetTableData(SkFontID fontID, SkFontTableTag tag, size_t offset, size_t length, void* data) argument
[all...]
H A DSkFontHost_freetype_mac.cpp67 SkStream* SkFontHost::OpenStream(uint32_t fontID) { argument
68 FTMacTypeface* tf = (FTMacTypeface*)SkTypefaceCache::FindByID(fontID);
76 size_t SkFontHost::GetFileName(SkFontID fontID, char path[], size_t length, argument
H A DSkFontHost_none.cpp32 uint32_t fontID,
50 size_t SkFontHost::GetFileName(SkFontID fontID, char path[], size_t length, argument
31 GetAdvancedTypefaceMetrics( uint32_t fontID, SkAdvancedTypefaceMetrics::PerGlyphInfo perGlyphInfo, const uint32_t* glyphIDs, uint32_t glyphIDsCount) argument
H A DSkFontHost_android.cpp71 static SkStream* openStreamLocked(uint32_t fontID);
72 static size_t getFileNameLocked(SkFontID fontID, char path[], size_t length, int32_t* index);
614 static int getSystemFontIndexForFontID(SkFontID fontID) { argument
616 SkASSERT(fontID - 1 < gSystemFonts.count());
617 return fontID - 1;
637 SkFontID fontID = defaultList->fList[fontIdx].fFontID; local
638 int sysFontIdx = getSystemFontIndexForFontID(fontID);
770 SkDEBUGF(("---- SkTypeface[%d] %s fontID %d\n",
949 SkStream* SkFontHost::OpenStream(uint32_t fontID) { argument
951 return openStreamLocked(fontID);
954 openStreamLocked(uint32_t fontID) argument
965 GetFileName(SkFontID fontID, char path[], size_t length, int32_t* index) argument
971 getFileNameLocked(SkFontID fontID, char path[], size_t length, int32_t* index) argument
1100 SkFontID fontID = 0; local
[all...]
/external/skia/legacy/include/core/
H A DSkFontHost.h36 returned). Either way, the fontID for those instance(s) will be the same.
37 In addition, the fontID should never be set to 0. That value is used as a
93 /** Some fonts are stored in files. If that is true for the fontID, then
106 If the fontID does not correspond to a file, then the function returns
109 @param fontID The font whose file name is being queried
119 static size_t GetFileName(SkFontID fontID, char path[], size_t length,
141 * Given a "current" fontID, return the next logical fontID to use
148 * The original fontID is also provided. This is the initial font that was
194 SkFontID fontID,
[all...]
/external/skia/legacy/src/core/
H A DSkTypeface.cpp20 SkTypeface::SkTypeface(Style style, SkFontID fontID, bool isFixedWidth) argument
21 : fUniqueID(fontID), fStyle(style), fIsFixedWidth(isFixedWidth) {
23 SkDebugf("SkTypeface: create %p fontID %d total %d\n",
24 this, fontID, ++gTypefaceCounter);
30 SkDebugf("SkTypeface: destroy %p fontID %d total %d\n",
39 // fontID, the font cache may later on ask to resolve that back into a
H A DSkTypefaceCache.cpp27 SkTypeface* SkTypefaceCache::findByID(SkFontID fontID) const {
31 if (curr->fFace->uniqueID() == fontID) {
92 SkTypeface* SkTypefaceCache::FindByID(SkFontID fontID) { argument
94 return Get().findByID(fontID);
113 SkDebugf("SkTypefaceCache: face %p fontID %d style %d refcnt %d\n",
H A DSkTypefaceCache.h34 * Helper: returns a unique fontID to pass to the constructor of
48 * Search the cache for a typeface with the specified fontID (uniqueID).
53 static SkTypeface* FindByID(SkFontID fontID);
/external/skia/src/core/
H A DSkTypefaceCache.cpp34 SkTypeface* SkTypefaceCache::findByID(SkFontID fontID) const {
38 if (curr->fFace->uniqueID() == fontID) {
116 SkTypeface* SkTypefaceCache::FindByID(SkFontID fontID) { argument
118 return Get().findByID(fontID);
136 SkDebugf("SkTypefaceCache: face %p fontID %d style %d refcnt %d\n",
H A DSkTypeface.cpp22 SkTypeface::SkTypeface(Style style, SkFontID fontID, bool isFixedWidth) argument
23 : fUniqueID(fontID), fStyle(style), fIsFixedWidth(isFixedWidth) {
25 SkDebugf("SkTypeface: create %p fontID %d total %d\n",
26 this, fontID, ++gTypefaceCounter);
32 SkDebugf("SkTypeface: destroy %p fontID %d total %d\n",
41 // fontID, the font cache may later on ask to resolve that back into a
H A DSkTypefaceCache.h34 * Helper: returns a unique fontID to pass to the constructor of
50 * Search the cache for a typeface with the specified fontID (uniqueID).
55 static SkTypeface* FindByID(SkFontID fontID);
/external/webkit/Source/WebCore/platform/graphics/chromium/
H A DSimpleFontDataLinux.cpp69 const SkFontID fontID = m_platformData.uniqueID(); local
76 size_t vdmxSize = SkFontHost::GetTableSize(fontID, vdmxTag);
80 && SkFontHost::GetTableData(fontID, vdmxTag, 0, vdmxSize, vdmxTable) == vdmxSize
119 size_t vheaSize = SkFontHost::GetTableSize(fontID, vheaTag);
120 size_t vorgSize = SkFontHost::GetTableSize(fontID, vorgTag);
/external/webkit/Source/WebCore/platform/graphics/android/fonts/
H A DFontDataAndroid.cpp69 const SkFontID fontID = m_platformData.uniqueID(); local
70 size_t vheaSize = SkFontHost::GetTableSize(fontID, vheaTag);
71 size_t vorgSize = SkFontHost::GetTableSize(fontID, vorgTag);
/external/skia/legacy/src/utils/
H A DSkSfntUtils.cpp33 bool SkSfntUtils::ReadTable_head(SkFontID fontID, SkSfntTable_head* head) { argument
38 size_t size = SkFontHost::GetTableData(fontID, gTag, 0, gSize, storage);
65 bool SkSfntUtils::ReadTable_maxp(SkFontID fontID, SkSfntTable_maxp* maxp) { argument
70 size_t size = SkFontHost::GetTableData(fontID, gTag, 0, gSize, storage);
/external/skia/src/pdf/
H A DSkPDFFont.h169 static bool Find(uint32_t fontID, uint16_t glyphID, int* index);
180 FontRec(SkPDFFont* font, uint32_t fontID, uint16_t fGlyphID);

Completed in 513 milliseconds

12