/third_party/icu/icu4j/tools/misc/src/com/ibm/icu/dev/tool/layout/ |
D | ClassTable.java | 23 private int glyphID; field in ClassTable.ClassEntry 26 public ClassEntry(int glyphID, int classID) in ClassEntry() argument 28 this.glyphID = glyphID; in ClassEntry() 34 return glyphID; in getGlyphID() 44 return this.glyphID - that.glyphID; in compareTo() 68 public static int search(ClassEntry[] table, int glyphID) in search() argument 76 if (table[extra].glyphID <= glyphID) { in search() 83 if (table[index + probe].glyphID <= glyphID) { in search() 88 if (table[index].glyphID == glyphID) { in search() 149 public int getGlyphClassID(int glyphID) in getGlyphClassID() argument [all …]
|
/third_party/skia/src/core/ |
D | SkGlyph.h | 53 constexpr explicit SkPackedGlyphID(SkGlyphID glyphID) in SkPackedGlyphID() 54 : fID{(uint32_t)glyphID << kGlyphID} { } in SkPackedGlyphID() 56 constexpr SkPackedGlyphID(SkGlyphID glyphID, SkFixed x, SkFixed y) in SkPackedGlyphID() 57 : fID {PackIDXY(glyphID, x, y)} { } in SkPackedGlyphID() 59 constexpr SkPackedGlyphID(SkGlyphID glyphID, uint32_t x, uint32_t y) in SkPackedGlyphID() 60 : fID {PackIDSubXSubY(glyphID, x, y)} { } in SkPackedGlyphID() 62 SkPackedGlyphID(SkGlyphID glyphID, SkPoint pt, SkIPoint mask) in SkPackedGlyphID() 63 : fID{PackIDSkPoint(glyphID, pt, mask)} { } in SkPackedGlyphID() 78 SkGlyphID glyphID() const { in glyphID() function 100 str.appendf("glyphID: %d, x: %d, y:%d", glyphID(), getSubXFixed(), getSubYFixed()); in dump() [all …]
|
D | SkGlyphBuffer.cpp | 65 for (auto [glyphID, pos] : withMappedPos) { in startBitmapDevice() 66 *packedIDCursor++ = SkPackedGlyphID{glyphID, pos, mask}; in startBitmapDevice() 91 for (auto [packedGlyphID, glyphID, pos] in startGPUDevice() 93 packedGlyphID = SkPackedGlyphID{glyphID, pos, roundingSpec.ignorePositionFieldMask}; in startGPUDevice()
|
D | SkStrikeSpec.cpp | 238 const SkGlyph* SkBulkGlyphMetrics::glyph(SkGlyphID glyphID) { in glyph() argument 239 return this->glyphs(SkSpan<const SkGlyphID>{&glyphID, 1})[0]; in glyph() 255 const SkGlyph* SkBulkGlyphMetricsAndPaths::glyph(SkGlyphID glyphID) { in glyph() argument 256 return this->glyphs(SkSpan<const SkGlyphID>{&glyphID, 1})[0]; in glyph()
|
D | SkScalerCache.cpp | 87 for (auto glyphID : glyphIDs) { in internalPrepare() local 88 auto [glyph, size] = this->glyph(SkPackedGlyphID{glyphID}); in internalPrepare() 146 for (auto glyphID : glyphIDs) { in prepareImages() local 147 auto[glyph, glyphSize] = this->glyph(glyphID); in prepareImages()
|
D | SkRemoteGlyphCache.cpp | 306 SkGlyphID glyphID; member 314 return summary.glyphID; in GetKey() 530 SkGlyphID glyphID = packedID.glyphID(); in prepareForPathDrawing() local 531 PathSummary* summary = fSentPaths.find(glyphID); in prepareForPathDrawing() 536 fPathsToSend.emplace_back(fContext->makeGlyph(SkPackedGlyphID{glyphID})); in prepareForPathDrawing() 912 SkPackedGlyphID glyphID; in ReadGlyph() local 913 if (!deserializer->read<SkPackedGlyphID>(&glyphID)) return false; in ReadGlyph() 914 glyph.init(glyphID); in ReadGlyph()
|
/third_party/skia/tools/fonts/ |
D | TestTypeface.cpp | 94 SkGlyphID glyphID = glyph->getGlyphID(); in getAdvance() local 95 glyphID = glyphID < fTestFont->fCharCodesCount ? glyphID : 0; in getAdvance() 98 glyph->fAdvanceX = SkFixedToFloat(fTestFont->fWidths[glyphID]); in getAdvance() 104 SkPath TestTypeface::getPath(SkGlyphID glyphID) { in getPath() argument 105 glyphID = glyphID < fTestFont->fCharCodesCount ? glyphID : 0; in getPath() 106 return fTestFont->fPaths[glyphID]; in getPath()
|
D | TestSVGTypeface.cpp | 121 SkGlyphID glyphID = glyph->getGlyphID(); in getAdvance() local 122 glyphID = glyphID < fGlyphCount ? glyphID : 0; in getAdvance() 124 glyph->fAdvanceX = fGlyphs[glyphID].fAdvance; in getAdvance() 198 SkGlyphID glyphID = glyph->getGlyphID(); in generateMetrics() local 199 glyphID = glyphID < this->getTestSVGTypeface()->fGlyphCount ? glyphID : 0; in generateMetrics() 205 TestSVGTypeface::Glyph& glyphData = this->getTestSVGTypeface()->fGlyphs[glyphID]; in generateMetrics() 226 SkGlyphID glyphID = glyph.getGlyphID(); in generateImage() local 227 glyphID = glyphID < this->getTestSVGTypeface()->fGlyphCount ? glyphID : 0; in generateImage() 236 TestSVGTypeface::Glyph& glyphData = this->getTestSVGTypeface()->fGlyphs[glyphID]; in generateImage()
|
/third_party/skia/tests/ |
D | SkGlyphBufferTest.cpp | 106 for (auto [i, glyphID, pos] : SkMakeEnumerate(rejects.source())) { in DEF_TEST() 107 REPORTER_ASSERT(reporter, glyphID == std::get<0>(source[i])); in DEF_TEST() 115 for (auto [i, glyphID, pos] : SkMakeEnumerate(rejects.source())) { in DEF_TEST() 118 REPORTER_ASSERT(reporter, glyphID == std::get<0>(source[j])); in DEF_TEST() 126 for (auto [i, glyphID, pos] : SkMakeEnumerate(rejects.source())) { in DEF_TEST() 129 REPORTER_ASSERT(reporter, glyphID == std::get<0>(source[j])); in DEF_TEST() 135 for (auto [i, glyphID, pos] : SkMakeEnumerate(rejects.source())) { in DEF_TEST() 136 REPORTER_ASSERT(reporter, glyphID == std::get<0>(source[i])); in DEF_TEST() 145 for (auto [i, glyphID, pos] : SkMakeEnumerate(rejects.source())) { in DEF_TEST() 148 REPORTER_ASSERT(reporter, glyphID == std::get<0>(source[j])); in DEF_TEST() [all …]
|
/third_party/flutter/skia/tools/fonts/ |
D | TestTypeface.cpp | 97 SkGlyphID glyphID = glyph->getGlyphID(); in getAdvance() local 98 glyphID = glyphID < fTestFont->fCharCodesCount ? glyphID : 0; in getAdvance() 101 glyph->fAdvanceX = SkFixedToFloat(fTestFont->fWidths[glyphID]); in getAdvance() 107 void TestTypeface::getPath(SkGlyphID glyphID, SkPath* path) { in getPath() argument 108 glyphID = glyphID < fTestFont->fCharCodesCount ? glyphID : 0; in getPath() 109 *path = *fTestFont->fPaths[glyphID]; in getPath()
|
D | TestSVGTypeface.cpp | 120 SkGlyphID glyphID = glyph->getGlyphID(); in getAdvance() local 121 glyphID = glyphID < fGlyphCount ? glyphID : 0; in getAdvance() 123 glyph->fAdvanceX = fGlyphs[glyphID].fAdvance; in getAdvance() 197 SkGlyphID glyphID = glyph->getGlyphID(); in generateMetrics() local 198 glyphID = glyphID < this->getTestSVGTypeface()->fGlyphCount ? glyphID : 0; in generateMetrics() 204 TestSVGTypeface::Glyph& glyphData = this->getTestSVGTypeface()->fGlyphs[glyphID]; in generateMetrics() 225 SkGlyphID glyphID = glyph.getGlyphID(); in generateImage() local 226 glyphID = glyphID < this->getTestSVGTypeface()->fGlyphCount ? glyphID : 0; in generateImage() 235 TestSVGTypeface::Glyph& glyphData = this->getTestSVGTypeface()->fGlyphs[glyphID]; in generateImage()
|
/third_party/flutter/skia/src/core/ |
D | SkStrike.cpp | 57 SkGlyph* SkStrike::glyph(SkGlyphID glyphID) { in glyph() argument 58 return this->glyph(SkPackedGlyphID{glyphID}); in glyph() 61 SkGlyph* SkStrike::glyph(SkGlyphID glyphID, SkPoint position) { in glyph() argument 66 return this->glyph(SkPackedGlyphID{glyphID, subX, subY}); in glyph() 115 for (auto glyphID : glyphIDs) { in internalPrepare() local 116 SkGlyph* glyphPtr = this->glyph(glyphID); in internalPrepare() 148 const SkGlyph* SkStrike::getCachedGlyphAnySubPix(SkGlyphID glyphID, in getCachedGlyphAnySubPix() argument 152 SkPackedGlyphID packedGlyphID{glyphID, subX, subY}; in getCachedGlyphAnySubPix() 180 for (auto glyphID : glyphIDs) { in prepareImages() local 181 SkGlyph* glyphPtr = this->glyph(glyphID); in prepareImages()
|
D | SkGlyph.h | 39 constexpr explicit SkPackedGlyphID(SkGlyphID glyphID) in SkPackedGlyphID() 40 : fID{glyphID} { } in SkPackedGlyphID() 42 constexpr SkPackedGlyphID(SkGlyphID glyphID, SkFixed x, SkFixed y) in SkPackedGlyphID() 43 : fID {PackIDXY(glyphID, x, y)} { in SkPackedGlyphID() 89 static constexpr uint32_t PackIDXY(SkGlyphID glyphID, SkFixed x, SkFixed y) { in PackIDXY() 92 | glyphID; in PackIDXY()
|
D | SkGlyphRun.cpp | 132 for (auto glyphID : glyphIDs) { in uniquifyGlyphIDs() local 135 if (glyphID >= universeSize) { in uniquifyGlyphIDs() 136 glyphID = kUndefGlyph; in uniquifyGlyphIDs() 140 auto uniqueIndex = fUniverseToUnique[glyphID]; in uniquifyGlyphIDs() 142 if (uniqueIndex >= uniqueSize || uniqueGlyphIDs[uniqueIndex] != glyphID) { in uniquifyGlyphIDs() 144 uniqueGlyphIDs[uniqueSize] = glyphID; in uniquifyGlyphIDs() 145 fUniverseToUnique[glyphID] = uniqueIndex; in uniquifyGlyphIDs()
|
D | SkRemoteGlyphCache.cpp | 236 void writeGlyphPath(const SkPackedGlyphID& glyphID, Serializer* serializer) const; 477 SkGlyphCacheState* cache, SkPackedGlyphID glyphID, bool asPath) { in AddGlyphForTesting() argument 478 cache->addGlyph(glyphID, asPath); in AddGlyphForTesting() 592 for (const auto& glyphID : fPendingGlyphImages) { in writePendingGlyphs() local 593 SkGlyph glyph{glyphID}; in writePendingGlyphs() 610 for (const auto& glyphID : fPendingGlyphPaths) { in writePendingGlyphs() local 611 SkGlyph glyph{glyphID}; in writePendingGlyphs() 616 writeGlyphPath(glyphID, serializer); in writePendingGlyphs() 643 void SkStrikeServer::SkGlyphCacheState::writeGlyphPath(const SkPackedGlyphID& glyphID, in writeGlyphPath() argument 646 if (!fContext->getPath(glyphID, &path)) { in writeGlyphPath() [all …]
|
D | SkTypeface_remote.cpp | 81 bool SkScalerContextProxy::generatePath(SkGlyphID glyphID, SkPath* path) { in generatePath() argument 90 bool foundPath = fStrikeCache && fStrikeCache->desperationSearchForPath(*desc, glyphID, path); in generatePath()
|
/third_party/skia/third_party/externals/harfbuzz/src/ |
D | hb-ot-cmap-table.hh | 547 HBUINT32 glyphID; /* Glyph index; interpretation depends on member 643 hb_codepoint_t gid = this->groups[i].glyphID; in collect_unicodes() 668 hb_codepoint_t gid = this->groups[i].glyphID; in collect_mapping() 711 group.glyphID + (u - group.startCharCode) : 0; } in group_get_glyph() 724 hb_codepoint_t glyphID = 0; in serialize() local 732 glyphID = _.second; in serialize() 734 else if (!_is_gid_consecutive (endCharCode, startCharCode, glyphID, _.first, _.second)) in serialize() 739 grouprecord.glyphID = glyphID; in serialize() 744 glyphID = _.second; in serialize() 753 record.glyphID = glyphID; in serialize() [all …]
|
/third_party/harfbuzz/src/ |
D | hb-ot-cmap-table.hh | 533 HBUINT32 glyphID; /* Glyph index; interpretation depends on member 618 hb_codepoint_t gid = this->groups[i].glyphID; in collect_unicodes() 643 hb_codepoint_t gid = this->groups[i].glyphID; in collect_mapping() 686 group.glyphID + (u - group.startCharCode) : 0; } in group_get_glyph() 699 hb_codepoint_t glyphID = 0; in serialize() local 707 glyphID = _.second; in serialize() 709 else if (!_is_gid_consecutive (endCharCode, startCharCode, glyphID, _.first, _.second)) in serialize() 714 grouprecord.glyphID = glyphID; in serialize() 719 glyphID = _.second; in serialize() 728 record.glyphID = glyphID; in serialize() [all …]
|
/third_party/flutter/skia/gm/ |
D | poly2poly.cpp | 69 uint16_t glyphID = 3; // X in doDraw() local 70 SkTextUtils::Draw(canvas, &glyphID, sizeof(glyphID), SkTextEncoding::kGlyphID, x, y, in doDraw()
|
/third_party/skia/gm/ |
D | poly2poly.cpp | 69 uint16_t glyphID = 3; // X in doDraw() local 70 SkTextUtils::Draw(canvas, &glyphID, sizeof(glyphID), SkTextEncoding::kGlyphID, x, y, in doDraw()
|
/third_party/skia/src/ports/ |
D | SkFontHost_FreeType_common.cpp | 398 bool generateFacePathCOLRv1(FT_Face face, SkGlyphID glyphID, SkPath* path); 724 FT_UInt glyphID = colrv1_paint.u.glyph.glyphID; in colrv1_draw_paint() local 730 if (generateFacePathCOLRv1(face, glyphID, &path)) { in colrv1_draw_paint() 780 FT_UInt glyphID = glyphPaint.u.glyph.glyphID; in colrv1_draw_glyph_with_path() local 786 if (generateFacePathCOLRv1(face, glyphID, &path)) { in colrv1_draw_glyph_with_path() 935 face, paint.u.colr_glyph.glyphID, in colrv1_traverse_paint() 1131 FT_UInt glyphID = paint.u.glyph.glyphID; in colrv1_traverse_paint_bounds() local 1133 if ((traverse_result = generateFacePathCOLRv1(face, glyphID, &path))) { in colrv1_traverse_paint_bounds() 1141 ctm, bounds, face, paint.u.colr_glyph.glyphID, FT_COLOR_NO_ROOT_TRANSFORM); in colrv1_traverse_paint_bounds() 1646 bool generateFacePathStatic(FT_Face face, SkGlyphID glyphID, SkPath* path) { in generateFacePathStatic() argument [all …]
|
D | SkFontHost_FreeType_common.h | 52 bool generateFacePath(FT_Face face, SkGlyphID glyphID, SkPath* path); 61 bool computeColrV1GlyphBoundingBox(FT_Face face, SkGlyphID glyphID, FT_BBox* boundingBox);
|
/third_party/flutter/skia/third_party/externals/harfbuzz/src/ |
D | hb-ot-cmap-table.hh | 414 HBUINT32 glyphID; /* Glyph index; interpretation depends on member 517 group.glyphID + (u - group.startCharCode) : 0; } in group_get_glyph() 557 group->glyphID = new_gid; in create_sub_table_plan() 565 …artCharCode, (uint32_t) group.endCharCode, (uint32_t) group.glyphID, (uint32_t) group.glyphID + ((… in create_sub_table_plan() 577 new_gid == group->glyphID + (cp - group->startCharCode); in _is_gid_consecutive() 586 { return group.glyphID; } in group_get_glyph() 650 GlyphID glyphID; /* Glyph ID of the UVS */ member 661 out->add (arrayZ[i].glyphID); in collect_unicodes() 677 if (nonDefault.glyphID) in get_glyph() 679 *glyph = nonDefault.glyphID; in get_glyph()
|
/third_party/skia/src/utils/ |
D | SkShaperJSONWriter.cpp | 90 for (auto glyphID : fGlyphs) { in commitRunBuffer() local 91 fJSONWriter->appendU32(glyphID); in commitRunBuffer() 231 for (auto glyphID : glyphIDs) { in displayMToN() local 232 fJSONWriter->appendU32(glyphID); in displayMToN()
|
/third_party/flutter/skia/src/utils/ |
D | SkShaperJSONWriter.cpp | 90 for (auto glyphID : fGlyphs) { in commitRunBuffer() local 91 fJSONWriter->appendU32(glyphID); in commitRunBuffer() 231 for (auto glyphID : glyphIDs) { in displayMToN() local 232 fJSONWriter->appendU32(glyphID); in displayMToN()
|