/external/icu4c/layout/ |
H A D | MarkArrays.cpp | 16 le_int32 MarkArray::getMarkClass(LEGlyphID glyphID, le_int32 coverageIndex, const LEFontInstance *fontInstance, argument 29 anchorTable->getAnchor(glyphID, fontInstance, anchor);
|
H A D | CursiveAttachmentSubtables.cpp | 19 LEGlyphID glyphID = glyphIterator->getCurrGlyphID(); local 20 le_int32 coverageIndex = getGlyphCoverage(glyphID); 35 entryAnchorTable->getAnchor(glyphID, fontInstance, entryAnchor); 44 exitAnchorTable->getAnchor(glyphID, fontInstance, exitAnchor);
|
H A D | AnchorTables.cpp | 15 void AnchorTable::getAnchor(LEGlyphID glyphID, const LEFontInstance *fontInstance, argument 31 f2->getAnchor(glyphID, fontInstance, anchor); 63 void Format2AnchorTable::getAnchor(LEGlyphID glyphID, const LEFontInstance *fontInstance, LEPoint &anchor) const argument 67 if (! fontInstance->getGlyphPoint(glyphID, SWAPW(anchorPoint), point)) {
|
H A D | OpenTypeUtilities.cpp | 81 le_int32 OpenTypeUtilities::getGlyphRangeIndex(TTGlyphID glyphID, const GlyphRangeRecord *records, le_int32 recordCount) argument 93 if (SWAPW(records[extra].firstGlyph) <= glyphID) { 100 if (SWAPW(records[range + probe].firstGlyph) <= glyphID) { 105 if (SWAPW(records[range].firstGlyph) <= glyphID && SWAPW(records[range].lastGlyph) >= glyphID) {
|
H A D | GlyphPositionAdjustments.cpp | 107 LEGlyphID glyphID = glyphStorage[i]; local 120 fontInstance->getGlyphAdvance(glyphID, pixels); 141 lastExitGlyphID = glyphID;
|
H A D | PairPositioningSubtables.cpp | 127 const PairValueRecord *PairPositioningFormat1Subtable::findPairValueRecord(TTGlyphID glyphID, const PairValueRecord *records, le_uint16 recordCount, le_uint16 recordSize) const argument 136 if (SWAPW(record->secondGlyph) == glyphID) { 150 if (SWAPW(trial->secondGlyph) <= glyphID) { 158 if (SWAPW(trial->secondGlyph) <= glyphID) { 163 if (SWAPW(record->secondGlyph) == glyphID) {
|
H A D | GlyphIterator.cpp | 193 void GlyphIterator::setCurrGlyphID(TTGlyphID glyphID) argument 197 glyphStorage[position] = LE_SET_GLYPH(glyph, glyphID); 358 LEGlyphID glyphID = glyphStorage[index]; local 361 if (LE_GET_GLYPH(glyphID) >= 0xFFFE) { 366 glyphClass = glyphClassDefinitionTable->getGlyphClass(glyphID); 389 return markAttachClassDefinitionTable->getGlyphClass(glyphID) != markAttachType;
|
H A D | LEGlyphStorage.cpp | 273 void LEGlyphStorage::setGlyphID(le_int32 glyphIndex, LEGlyphID glyphID, LEErrorCode &success) argument 289 fGlyphs[glyphIndex] = glyphID;
|
/external/skia/include/gpu/ |
H A D | GrGlyph.h | 52 uint16_t glyphID() const { return UnpackID(fPackedID); } function in struct:GrGlyph 61 static inline PackedID Pack(uint16_t glyphID, GrFixed x, GrFixed y) { argument 64 return (x << 18) | (y << 16) | glyphID;
|
/external/webkit/Source/WebCore/platform/graphics/android/fonts/ |
H A D | GlyphMapAndroid.cpp | 150 uint16_t glyphID = glyphs[i]; local 152 if (!glyphID) 153 glyphID = EmojiFont::UnicharToGlyph(uni); 154 setGlyphDataForIndex(offset + i, glyphID, fontData); 155 allGlyphs |= glyphID; 159 uint16_t glyphID = glyphs[i]; local 160 setGlyphDataForIndex(offset + i, glyphID, fontData); 161 allGlyphs |= glyphID;
|
/external/skia/emoji/ |
H A D | EmojiFont.cpp | 162 SkScalar EmojiFont::GetAdvanceWidth(uint16_t glyphID, const SkPaint& paint) { argument 163 if (glyphID < kGlyphBase) { 165 glyphID); 169 const SkBitmap* bitmap = get_bitmap(glyphID - kGlyphBase); 183 void EmojiFont::Draw(SkCanvas* canvas, uint16_t glyphID, argument 185 if (glyphID < kGlyphBase) { 186 SkDebugf("-------- bad glyph passed to EmojiFont::Draw %d\n", glyphID); 189 const SkBitmap* bitmap = get_bitmap(glyphID - kGlyphBase);
|
/external/skia/src/gpu/ |
H A D | SkGrFontScaler.cpp | 162 bool SkGrFontScaler::getGlyphPath(uint16_t glyphID, GrPath* path) { argument 164 const SkGlyph& glyph = fStrike->getGlyphIDMetrics(glyphID);
|
/external/harfbuzz/src/ |
H A D | harfbuzz-gdef.c | 651 HB_UShort glyphID, 661 if ( glyphID >= gdef->LastGlyph ) 668 if ( index < count && glyphID < gcrr[index].Start ) 672 glyph_index = glyphID; 674 glyph_index = glyphID - gcrr[index - 1].End - 1; 679 glyph_index = glyphID - gcrr[index].End - 1; 691 HB_UShort glyphID, 706 error = _HB_OPEN_Get_Class( &gdef->MarkAttachClassDef, glyphID, &class, &index ); 716 error = _HB_OPEN_Get_Class( &gdef->GlyphClassDef, glyphID, &class, &index ); 724 class = Get_New_Class( gdef, glyphID, inde 650 Get_New_Class( HB_GDEFHeader* gdef, HB_UShort glyphID, HB_UShort index ) argument 690 HB_GDEF_Get_Glyph_Property( HB_GDEFHeader* gdef, HB_UShort glyphID, HB_UShort* property ) argument 982 _HB_GDEF_Add_Glyph_Property( HB_GDEFHeader* gdef, HB_UShort glyphID, HB_UShort property ) argument [all...] |
H A D | harfbuzz-open.c | 813 HB_UShort glyphID, 839 if ( glyphID == array[middle] ) 844 else if ( glyphID < array[middle] ) 863 HB_UShort glyphID, 889 if ( glyphID >= rr[middle].Start && glyphID <= rr[middle].End ) 891 *index = rr[middle].StartCoverageIndex + glyphID - rr[middle].Start; 894 else if ( glyphID < rr[middle].Start ) 914 HB_UShort glyphID, 919 case 1: return Coverage_Index1( &c->cf.cf1, glyphID, inde 812 Coverage_Index1( HB_CoverageFormat1* cf1, HB_UShort glyphID, HB_UShort* index ) argument 862 Coverage_Index2( HB_CoverageFormat2* cf2, HB_UShort glyphID, HB_UShort* index ) argument 913 _HB_OPEN_Coverage_Index( HB_Coverage* c, HB_UShort glyphID, HB_UShort* index ) argument 1163 Get_Class1( HB_ClassDefFormat1* cdf1, HB_UShort glyphID, HB_UShort* klass, HB_UShort* index ) argument 1191 Get_Class2( HB_ClassDefFormat2* cdf2, HB_UShort glyphID, HB_UShort* klass, HB_UShort* index ) argument 1262 _HB_OPEN_Get_Class( HB_ClassDefinition* cd, HB_UShort glyphID, HB_UShort* klass, HB_UShort* index ) argument [all...] |
/external/skia/src/core/ |
H A D | SkGlyphCache.cpp | 110 SkUnichar SkGlyphCache::glyphToUnichar(uint16_t glyphID) { argument 111 return fScalerContext->glyphIDToChar(glyphID); 135 const SkGlyph& SkGlyphCache::getGlyphIDAdvance(uint16_t glyphID) { argument 137 uint32_t id = SkGlyph::MakeID(glyphID); 142 glyph = this->lookupMetrics(glyphID, kJustAdvance_MetricsType); 195 const SkGlyph& SkGlyphCache::getGlyphIDMetrics(uint16_t glyphID) { argument 197 uint32_t id = SkGlyph::MakeID(glyphID); 203 glyph = this->lookupMetrics(glyphID, kFull_MetricsType); 215 const SkGlyph& SkGlyphCache::getGlyphIDMetrics(uint16_t glyphID, argument 218 uint32_t id = SkGlyph::MakeID(glyphID, [all...] |
H A D | SkScalerContext.cpp | 160 unsigned glyphID = glyph.getGlyphID(); local 164 if (glyphID < count) { 167 glyphID -= count; 187 unsigned glyphID; local 189 glyphID = ctx->generateCharToGlyph(uni); 190 if (glyphID) { 209 unsigned glyphID; local 211 glyphID = ctx->generateCharToGlyph(uni); 212 if (glyphID) { 220 // add the ctx's base, making glyphID uniqu 229 glyphIDToChar(uint16_t glyphID) argument [all...] |
H A D | SkPaint.cpp | 544 const uint16_t* glyphID = static_cast<const uint16_t*>(textData); local 547 if (0 == glyphID[i]) { 642 unsigned glyphID = *ptr; local 645 return cache->getGlyphIDMetrics(glyphID); 655 unsigned glyphID = *ptr; local 657 return cache->getGlyphIDMetrics(glyphID); 698 unsigned glyphID = *ptr; local 701 return cache->getGlyphIDAdvance(glyphID); 711 unsigned glyphID = *ptr; local 713 return cache->getGlyphIDAdvance(glyphID); 790 unsigned glyphID = *ptr; local 802 unsigned glyphID = *ptr; local [all...] |
/external/skia/src/ports/ |
H A D | SkFontHost_mac_atsui.cpp | 203 glyph = layoutPtr->glyphID; 224 GlyphID glyphID = glyph->getGlyphID(fBaseGlyphCount); local 228 OSStatus err = ATSUGlyphGetScreenMetrics(fStyle, 1, &glyphID, 0, true, true, 234 err = ATSUGlyphGetIdealMetrics(fStyle, 1, &glyphID, 0, &idealMetrics); 274 CGGlyph glyphID = glyph.getGlyphID(fBaseGlyphCount); local 280 glyph.fTop + glyph.fHeight, &glyphID, 1);
|
H A D | SkFontHost_win.cpp | 400 uint16_t glyphID = glyph.getGlyphID(); local 401 BOOL ret = ExtTextOutW(fDC, 0, 0, ETO_GLYPH_INDEX, NULL, reinterpret_cast<LPCWSTR>(&glyphID), 1, NULL);
|
H A D | SkFontHost_mac_coretext.cpp | 277 bool fgColorIsWhite, CGGlyph glyphID, size_t* rowBytesPtr); 590 void getVerticalOffset(CGGlyph glyphID, SkIPoint* offset) const; 700 bool fgColorIsWhite, CGGlyph glyphID, size_t* rowBytesPtr) { 791 context.getVerticalOffset(glyphID, &offset); 797 &glyphID, 1); 804 void SkScalerContext_Mac::getVerticalOffset(CGGlyph glyphID, SkIPoint* offset) const { argument 806 CTFontGetVerticalTranslationsForGlyphs(fCTVerticalFont, &glyphID, &vertOffset, 1); 699 getCG(const SkScalerContext_Mac& context, const SkGlyph& glyph, bool fgColorIsWhite, CGGlyph glyphID, size_t* rowBytesPtr) argument
|
/external/skia/src/pdf/ |
H A D | SkPDFDevice.cpp | 1472 void SkPDFDevice::updateFont(const SkPaint& paint, uint16_t glyphID, argument 1477 !contentEntry->fState.fFont->hasGlyph(glyphID)) { 1478 int fontIndex = getFontResourceIndex(typeface, glyphID); 1488 int SkPDFDevice::getFontResourceIndex(SkTypeface* typeface, uint16_t glyphID) { argument 1489 SkRefPtr<SkPDFFont> newFont = SkPDFFont::GetFontResource(typeface, glyphID);
|