Home
last modified time | relevance | path

Searched refs:glyphToUnicode (Results 1 – 25 of 26) sorted by relevance

12

/external/skqp/tests/
DPDFGlyphsToUnicodeTest.cpp38 SkTDArray<SkUnichar> glyphToUnicode; in DEF_TEST() local
42 glyphToUnicode.push_back(0); // 0 in DEF_TEST()
43 glyphToUnicode.push_back(0); // 1 in DEF_TEST()
44 glyphToUnicode.push_back(0); // 2 in DEF_TEST()
46 glyphToUnicode.push_back(0x20); // 3 in DEF_TEST()
48 glyphToUnicode.push_back(0x25); // 4 in DEF_TEST()
50 glyphToUnicode.push_back(0x27); // 5 in DEF_TEST()
52 glyphToUnicode.push_back(0x28); // 6 in DEF_TEST()
54 glyphToUnicode.push_back(0x29); // 7 in DEF_TEST()
56 glyphToUnicode.push_back(0x2F); // 8 in DEF_TEST()
[all …]
/external/skia/tests/
DPDFGlyphsToUnicodeTest.cpp38 SkTDArray<SkUnichar> glyphToUnicode; in DEF_TEST() local
42 glyphToUnicode.push_back(0); // 0 in DEF_TEST()
43 glyphToUnicode.push_back(0); // 1 in DEF_TEST()
44 glyphToUnicode.push_back(0); // 2 in DEF_TEST()
46 glyphToUnicode.push_back(0x20); // 3 in DEF_TEST()
48 glyphToUnicode.push_back(0x25); // 4 in DEF_TEST()
50 glyphToUnicode.push_back(0x27); // 5 in DEF_TEST()
52 glyphToUnicode.push_back(0x28); // 6 in DEF_TEST()
54 glyphToUnicode.push_back(0x29); // 7 in DEF_TEST()
56 glyphToUnicode.push_back(0x2F); // 8 in DEF_TEST()
[all …]
/external/skia/src/pdf/
DSkPDFMakeToUnicodeCmap.cpp152 void SkPDFAppendCmapSections(const SkUnichar* glyphToUnicode, in SkPDFAppendCmapSections() argument
181 glyphToUnicode[gid] == in SkPDFAppendCmapSections()
196 currentRangeEntry.fUnicode = glyphToUnicode[gid]; in SkPDFAppendCmapSections()
209 const SkUnichar* glyphToUnicode, in SkPDFMakeToUnicodeCmap() argument
216 SkPDFAppendCmapSections(glyphToUnicode, subset, &cmap, multiByteGlyphs, in SkPDFMakeToUnicodeCmap()
DSkPDFMakeToUnicodeCmap.h14 const SkUnichar* glyphToUnicode,
21 void SkPDFAppendCmapSections(const SkUnichar* glyphToUnicode,
DSkPDFFont.cpp397 const std::vector<SkUnichar>& glyphToUnicode = in emit_subset_type0() local
399 SkASSERT(SkToSizeT(font.typeface()->countGlyphs()) == glyphToUnicode.size()); in emit_subset_type0()
401 SkPDFMakeToUnicodeCmap(glyphToUnicode.data(), in emit_subset_type0()
746 const std::vector<SkUnichar>& glyphToUnicode = SkPDFFont::GetUnicodeMap(typeface, doc); in emit_subset_type3() local
747 SkASSERT(glyphToUnicode.size() == SkToSizeT(typeface->countGlyphs())); in emit_subset_type3()
748 auto toUnicodeCmap = SkPDFMakeToUnicodeCmap(glyphToUnicode.data(), in emit_subset_type3()
DSkPDFDevice.cpp967 static SkUnichar map_glyph(const std::vector<SkUnichar>& glyphToUnicode, SkGlyphID glyph) { in map_glyph() argument
968 return glyph < glyphToUnicode.size() ? glyphToUnicode[SkToInt(glyph)] : -1; in map_glyph()
1086 const std::vector<SkUnichar>& glyphToUnicode = SkPDFFont::GetUnicodeMap(typeface, fDocument); in internalDrawGlyphRun() local
1155 unichar != map_glyph(glyphToUnicode, glyphs[index])) // test single Unichar map in internalDrawGlyphRun()
/external/skqp/src/pdf/
DSkPDFMakeToUnicodeCmap.cpp152 void SkPDFAppendCmapSections(const SkUnichar* glyphToUnicode, in SkPDFAppendCmapSections() argument
181 glyphToUnicode[gid] == in SkPDFAppendCmapSections()
196 currentRangeEntry.fUnicode = glyphToUnicode[gid]; in SkPDFAppendCmapSections()
209 const SkUnichar* glyphToUnicode, in SkPDFMakeToUnicodeCmap() argument
216 SkPDFAppendCmapSections(glyphToUnicode, subset, &cmap, multiByteGlyphs, in SkPDFMakeToUnicodeCmap()
DSkPDFMakeToUnicodeCmap.h14 const SkUnichar* glyphToUnicode,
21 void SkPDFAppendCmapSections(const SkUnichar* glyphToUnicode,
DSkPDFFont.cpp401 const std::vector<SkUnichar>& glyphToUnicode = in emit_subset_type0() local
403 SkASSERT(SkToSizeT(font.typeface()->countGlyphs()) == glyphToUnicode.size()); in emit_subset_type0()
405 SkPDFMakeToUnicodeCmap(glyphToUnicode.data(), in emit_subset_type0()
750 const std::vector<SkUnichar>& glyphToUnicode = SkPDFFont::GetUnicodeMap(typeface, doc); in emit_subset_type3() local
751 SkASSERT(glyphToUnicode.size() == SkToSizeT(typeface->countGlyphs())); in emit_subset_type3()
752 auto toUnicodeCmap = SkPDFMakeToUnicodeCmap(glyphToUnicode.data(), in emit_subset_type3()
DSkPDFDevice.cpp980 static SkUnichar map_glyph(const std::vector<SkUnichar>& glyphToUnicode, SkGlyphID glyph) { in map_glyph() argument
981 return glyph < glyphToUnicode.size() ? glyphToUnicode[SkToInt(glyph)] : -1; in map_glyph()
1099 const std::vector<SkUnichar>& glyphToUnicode = SkPDFFont::GetUnicodeMap(typeface, fDocument); in internalDrawGlyphRun() local
1168 unichar != map_glyph(glyphToUnicode, glyphs[index])) // test single Unichar map in internalDrawGlyphRun()
/external/skqp/src/ports/
DSkTypeface_win_dw.cpp443 void DWriteFontTypeface::getGlyphToUnicodeMap(SkUnichar* glyphToUnicode) const { in getGlyphToUnicodeMap()
445 sk_bzero(glyphToUnicode, sizeof(SkUnichar) * glyphCount); in getGlyphToUnicodeMap()
456 if (0 < glyph && glyphToUnicode[glyph] == 0) { in getGlyphToUnicodeMap()
458 glyphToUnicode[glyph] = c; // Always use lowest-index unichar. in getGlyphToUnicodeMap()
DSkTypeface_win_dw.h113 void getGlyphToUnicodeMap(SkUnichar* glyphToUnicode) const override;
DSkFontHost_mac.cpp1599 SkUnichar* glyphToUnicode) { in populate_glyph_to_unicode() argument
1600 sk_bzero(glyphToUnicode, sizeof(SkUnichar) * glyphCount); in populate_glyph_to_unicode()
1603 populate_glyph_to_unicode_slow(ctFont, glyphCount, glyphToUnicode); in populate_glyph_to_unicode()
1624 sk_bzero(glyphToUnicode, glyphCount * sizeof(SkUnichar)); in populate_glyph_to_unicode()
1634 glyphToUnicode[glyph] = unichar; in populate_glyph_to_unicode()
DSkFontHost_win.cpp374 SkUnichar* glyphToUnicode) { in populate_glyph_to_unicode() argument
375 sk_bzero(glyphToUnicode, sizeof(SkUnichar) * glyphCount); in populate_glyph_to_unicode()
410 if (glyph[j] != 0xFFFF && glyph[j] < glyphCount && glyphToUnicode[glyph[j]] == 0) { in populate_glyph_to_unicode()
411 glyphToUnicode[glyph[j]] = chars[j]; in populate_glyph_to_unicode()
/external/skia/src/ports/
DSkTypeface_win_dw.cpp443 void DWriteFontTypeface::getGlyphToUnicodeMap(SkUnichar* glyphToUnicode) const { in getGlyphToUnicodeMap()
445 sk_bzero(glyphToUnicode, sizeof(SkUnichar) * glyphCount); in getGlyphToUnicodeMap()
456 if (0 < glyph && glyphToUnicode[glyph] == 0) { in getGlyphToUnicodeMap()
458 glyphToUnicode[glyph] = c; // Always use lowest-index unichar. in getGlyphToUnicodeMap()
DSkTypeface_win_dw.h116 void getGlyphToUnicodeMap(SkUnichar* glyphToUnicode) const override;
DSkFontHost_mac.cpp1600 SkUnichar* glyphToUnicode) { in populate_glyph_to_unicode() argument
1601 sk_bzero(glyphToUnicode, sizeof(SkUnichar) * glyphCount); in populate_glyph_to_unicode()
1604 populate_glyph_to_unicode_slow(ctFont, glyphCount, glyphToUnicode); in populate_glyph_to_unicode()
1625 sk_bzero(glyphToUnicode, glyphCount * sizeof(SkUnichar)); in populate_glyph_to_unicode()
1635 glyphToUnicode[glyph] = unichar; in populate_glyph_to_unicode()
DSkFontHost_win.cpp375 SkUnichar* glyphToUnicode) { in populate_glyph_to_unicode() argument
376 sk_bzero(glyphToUnicode, sizeof(SkUnichar) * glyphCount); in populate_glyph_to_unicode()
411 if (glyph[j] != 0xFFFF && glyph[j] < glyphCount && glyphToUnicode[glyph[j]] == 0) { in populate_glyph_to_unicode()
412 glyphToUnicode[glyph[j]] = chars[j]; in populate_glyph_to_unicode()
/external/skia/tools/fonts/
DSkRandomScalerContext.cpp167 void SkRandomTypeface::getGlyphToUnicodeMap(SkUnichar* glyphToUnicode) const { in getGlyphToUnicodeMap()
168 fProxy->getGlyphToUnicodeMap(glyphToUnicode); in getGlyphToUnicodeMap()
DSkTestTypeface.cpp125 void SkTestTypeface::getGlyphToUnicodeMap(SkUnichar* glyphToUnicode) const { in getGlyphToUnicodeMap()
128 glyphToUnicode[gid] = SkTo<SkUnichar>(fTestFont->fCharCodes[gid]); in getGlyphToUnicodeMap()
DSkTestTypeface.h74 void getGlyphToUnicodeMap(SkUnichar* glyphToUnicode) const override;
/external/skqp/tools/fonts/
DSkRandomScalerContext.cpp167 void SkRandomTypeface::getGlyphToUnicodeMap(SkUnichar* glyphToUnicode) const { in getGlyphToUnicodeMap()
168 fProxy->getGlyphToUnicodeMap(glyphToUnicode); in getGlyphToUnicodeMap()
DSkTestTypeface.cpp125 void SkTestTypeface::getGlyphToUnicodeMap(SkUnichar* glyphToUnicode) const { in getGlyphToUnicodeMap()
128 glyphToUnicode[gid] = SkTo<SkUnichar>(fTestFont->fCharCodes[gid]); in getGlyphToUnicodeMap()
DSkTestTypeface.h74 void getGlyphToUnicodeMap(SkUnichar* glyphToUnicode) const override;
DSkTestSVGTypeface.cpp107 void SkTestSVGTypeface::getGlyphToUnicodeMap(SkUnichar* glyphToUnicode) const { in getGlyphToUnicodeMap()
111 glyphToUnicode[g] = c; in getGlyphToUnicodeMap()

12