/aosp_15_r20/external/skia/tests/ |
H A D | PDFGlyphsToUnicodeTest.cpp | 44 SkTDArray<SkUnichar> glyphToUnicode; in DEF_TEST() local 49 glyphToUnicode.push_back(0); // 0 in DEF_TEST() 50 glyphToUnicode.push_back(0); // 1 in DEF_TEST() 51 glyphToUnicode.push_back(0); // 2 in DEF_TEST() 53 glyphToUnicode.push_back(0x20); // 3 in DEF_TEST() 55 glyphToUnicode.push_back(0x25); // 4 in DEF_TEST() 57 glyphToUnicode.push_back(0x27); // 5 in DEF_TEST() 59 glyphToUnicode.push_back(0x28); // 6 in DEF_TEST() 61 glyphToUnicode.push_back(0x29); // 7 in DEF_TEST() 63 glyphToUnicode.push_back(0x2F); // 8 in DEF_TEST() [all …]
|
/aosp_15_r20/external/skia/src/pdf/ |
H A D | SkPDFMakeToUnicodeCmap.cpp | 207 void SkPDFAppendCmapSections(const SkUnichar* glyphToUnicode, in SkPDFAppendCmapSections() argument 237 glyphToUnicode[gid] == in SkPDFAppendCmapSections() 252 currentRangeEntry.fUnicode = glyphToUnicode[gid]; in SkPDFAppendCmapSections() 266 const SkUnichar* glyphToUnicode, in SkPDFMakeToUnicodeCmap() argument 274 SkPDFAppendCmapSections(glyphToUnicode, glyphToUnicodeEx, subset, &cmap, multiByteGlyphs, in SkPDFMakeToUnicodeCmap()
|
H A D | SkPDFMakeToUnicodeCmap.h | 21 const SkUnichar* glyphToUnicode, 29 void SkPDFAppendCmapSections(const SkUnichar* glyphToUnicode,
|
H A D | SkPDFFont.cpp | 537 const std::vector<SkUnichar>& glyphToUnicode = in emit_subset_type0() local 539 SkASSERT(SkToSizeT(typeface.countGlyphs()) == glyphToUnicode.size()); in emit_subset_type0() 541 SkPDFMakeToUnicodeCmap(glyphToUnicode.data(), in emit_subset_type0() 902 const std::vector<SkUnichar>& glyphToUnicode = SkPDFFont::GetUnicodeMap(pathTypeface, doc); in emit_subset_type3() local 903 SkASSERT(glyphToUnicode.size() == SkToSizeT(pathTypeface.countGlyphs())); in emit_subset_type3() 904 auto toUnicodeCmap = SkPDFMakeToUnicodeCmap(glyphToUnicode.data(), in emit_subset_type3()
|
H A D | SkPDFDevice.cpp | 918 const std::vector<SkUnichar>& glyphToUnicode = SkPDFFont::GetUnicodeMap(typeface, fDocument); in internalDrawGlyphRun() local 992 SkUnichar fontUnichar = gid < glyphToUnicode.size() ? glyphToUnicode[gid] : 0; in internalDrawGlyphRun()
|
/aosp_15_r20/external/skia/src/ports/ |
H A D | SkTypeface_mac_ct.cpp | 402 SkUnichar* glyphToUnicode, in get_plane_glyph_map() argument 428 if (glyphToUnicode[glyphs[0]] < 0x20) { in get_plane_glyph_map() 429 glyphToUnicode[glyphs[0]] = codepoint; in get_plane_glyph_map() 437 SkUnichar* glyphToUnicode) { in populate_glyph_to_unicode() argument 438 sk_bzero(glyphToUnicode, sizeof(SkUnichar) * glyphCount); in populate_glyph_to_unicode() 441 populate_glyph_to_unicode_slow(ctFont, glyphCount, glyphToUnicode); in populate_glyph_to_unicode() 457 get_plane_glyph_map(bits, ctFont, glyphCount, glyphToUnicode, 0); in populate_glyph_to_unicode() 479 get_plane_glyph_map(bits, ctFont, glyphCount, glyphToUnicode, planeIndex); in populate_glyph_to_unicode()
|
H A D | SkTypeface_win_dw.cpp | 691 SkUnichar* glyphToUnicode) in glyph_to_unicode_map() argument 709 if (0 < glyph && glyphToUnicode[glyph] == 0) { in glyph_to_unicode_map() 710 glyphToUnicode[glyph] = c + i; // Always use lowest-index unichar. in glyph_to_unicode_map() 717 void DWriteFontTypeface::getGlyphToUnicodeMap(SkUnichar* glyphToUnicode) const { in getGlyphToUnicodeMap() 720 sk_bzero(glyphToUnicode, sizeof(SkUnichar) * numGlyphs); in getGlyphToUnicodeMap() 733 glyph_to_unicode_map(face1, ranges[i], &remainingGlyphCount, numGlyphs, glyphToUnicode); in getGlyphToUnicodeMap() 736 glyph_to_unicode_map(face, {0, 0x10FFFF}, &remainingGlyphCount, numGlyphs, glyphToUnicode); in getGlyphToUnicodeMap()
|
H A D | SkTypeface_proxy.cpp | 89 void SkTypeface_proxy::getGlyphToUnicodeMap(SkUnichar* glyphToUnicode) const { in getGlyphToUnicodeMap() 90 fProxy->getGlyphToUnicodeMap(glyphToUnicode); in getGlyphToUnicodeMap()
|
H A D | SkTypeface_win_dw.h | 123 void getGlyphToUnicodeMap(SkUnichar* glyphToUnicode) const override;
|
H A D | SkFontHost_win.cpp | 398 SkUnichar* glyphToUnicode) { in populate_glyph_to_unicode() argument 399 sk_bzero(glyphToUnicode, sizeof(SkUnichar) * glyphCount); in populate_glyph_to_unicode() 434 if (glyph[j] != 0xFFFF && glyph[j] < glyphCount && glyphToUnicode[glyph[j]] == 0) { in populate_glyph_to_unicode() 435 glyphToUnicode[glyph[j]] = chars[j]; in populate_glyph_to_unicode()
|
/aosp_15_r20/external/skia/src/utils/ |
H A D | SkCustomTypeface.cpp | 102 void getGlyphToUnicodeMap(SkUnichar* glyphToUnicode) const override; 208 void SkUserTypeface::getGlyphToUnicodeMap(SkUnichar* glyphToUnicode) const { in getGlyphToUnicodeMap() 210 glyphToUnicode[gid] = SkTo<SkUnichar>(gid); in getGlyphToUnicodeMap()
|
/aosp_15_r20/external/skia/tools/fonts/ |
H A D | RandomScalerContext.cpp | 184 void SkRandomTypeface::getGlyphToUnicodeMap(SkUnichar* glyphToUnicode) const { in getGlyphToUnicodeMap() 185 fProxy->getGlyphToUnicodeMap(glyphToUnicode); in getGlyphToUnicodeMap()
|
H A D | TestTypeface.cpp | 150 void TestTypeface::getGlyphToUnicodeMap(SkUnichar* glyphToUnicode) const { in getGlyphToUnicodeMap() 153 glyphToUnicode[gid] = SkTo<SkUnichar>(fTestFont->fCharCodes[gid]); in getGlyphToUnicodeMap()
|
H A D | TestTypeface.h | 90 void getGlyphToUnicodeMap(SkUnichar* glyphToUnicode) const override;
|
H A D | TestSVGTypeface.cpp | 139 void TestSVGTypeface::getGlyphToUnicodeMap(SkUnichar* glyphToUnicode) const { in getGlyphToUnicodeMap() 143 glyphToUnicode[g] = c; in getGlyphToUnicodeMap()
|