Home
last modified time | relevance | path

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

/external/skia/tests/
DPDFGlyphsToUnicodeTest.cpp37 SkTDArray<SkUnichar> glyphToUnicode; in DEF_TEST() local
41 glyphToUnicode.push(0); // 0 in DEF_TEST()
42 glyphToUnicode.push(0); // 1 in DEF_TEST()
43 glyphToUnicode.push(0); // 2 in DEF_TEST()
45 glyphToUnicode.push(0x20); // 3 in DEF_TEST()
47 glyphToUnicode.push(0x25); // 4 in DEF_TEST()
49 glyphToUnicode.push(0x27); // 5 in DEF_TEST()
51 glyphToUnicode.push(0x28); // 6 in DEF_TEST()
53 glyphToUnicode.push(0x29); // 7 in DEF_TEST()
55 glyphToUnicode.push(0x2F); // 8 in DEF_TEST()
[all …]
/external/skia/src/pdf/
DSkPDFMakeToUnicodeCmap.cpp150 void SkPDFAppendCmapSections(const SkTDArray<SkUnichar>& glyphToUnicode, in SkPDFAppendCmapSections() argument
156 if (glyphToUnicode.isEmpty()) { in SkPDFAppendCmapSections()
170 SkMin32(lastGlyphID + 1, glyphToUnicode.count()) - glyphOffset; in SkPDFAppendCmapSections()
183 glyphToUnicode[i + glyphOffset] == in SkPDFAppendCmapSections()
200 currentRangeEntry.fUnicode = glyphToUnicode[i + glyphOffset]; in SkPDFAppendCmapSections()
213 const SkTDArray<SkUnichar>& glyphToUnicode, in SkPDFMakeToUnicodeCmap() argument
220 SkPDFAppendCmapSections(glyphToUnicode, subset, &cmap, multiByteGlyphs, in SkPDFMakeToUnicodeCmap()
DSkPDFMakeToUnicodeCmap.h15 const SkTDArray<SkUnichar>& glyphToUnicode,
22 void SkPDFAppendCmapSections(const SkTDArray<SkUnichar>& glyphToUnicode,
DSkPDFDevice.cpp1283 static SkUnichar map_glyph(const SkTDArray<SkUnichar>& glyphToUnicode, SkGlyphID glyph) { in map_glyph() argument
1284 return SkToInt(glyph) < glyphToUnicode.count() ? glyphToUnicode[SkToInt(glyph)] : -1; in map_glyph()
1499 const SkTDArray<SkUnichar>& glyphToUnicode = metrics->fGlyphToUnicode; in internalDrawText() local
1537 unichar != map_glyph(glyphToUnicode, glyphs[index])) // test single Unichar map in internalDrawText()
/external/skia/src/ports/
DSkTypeface_win_dw.cpp299 SkTDArray<SkUnichar>* glyphToUnicode) { in populate_glyph_to_unicode() argument
319 SkTDArray<SkUnichar>(glyphToUni, maxGlyph + 1).swap(*glyphToUnicode); in populate_glyph_to_unicode()
DSkFontHost_FreeType.cpp516 static void populate_glyph_to_unicode(FT_Face& face, SkTDArray<SkUnichar>* glyphToUnicode) { in populate_glyph_to_unicode() argument
518 glyphToUnicode->setCount(SkToInt(numGlyphs)); in populate_glyph_to_unicode()
519 sk_bzero(glyphToUnicode->begin(), sizeof((*glyphToUnicode)[0]) * numGlyphs); in populate_glyph_to_unicode()
526 if (0 == (*glyphToUnicode)[glyphIndex]) { in populate_glyph_to_unicode()
527 (*glyphToUnicode)[glyphIndex] = charCode; in populate_glyph_to_unicode()
DSkFontHost_mac.cpp1417 SkTDArray<SkUnichar>* glyphToUnicode) { in populate_glyph_to_unicode_slow() argument
1418 glyphToUnicode->setCount(SkToInt(glyphCount)); in populate_glyph_to_unicode_slow()
1419 SkUnichar* out = glyphToUnicode->begin(); in populate_glyph_to_unicode_slow()
1440 SkTDArray<SkUnichar>* glyphToUnicode) { in populate_glyph_to_unicode() argument
1443 populate_glyph_to_unicode_slow(ctFont, glyphCount, glyphToUnicode); in populate_glyph_to_unicode()
1463 glyphToUnicode->setCount(SkToInt(glyphCount)); in populate_glyph_to_unicode()
1464 SkUnichar* out = glyphToUnicode->begin(); in populate_glyph_to_unicode()
DSkFontHost_win.cpp363 SkTDArray<SkUnichar>* glyphToUnicode) { in populate_glyph_to_unicode() argument
376 glyphToUnicode->setCount(glyphCount); in populate_glyph_to_unicode()
377 memset(glyphToUnicode->begin(), 0, glyphCount * sizeof(SkUnichar)); in populate_glyph_to_unicode()
401 (*glyphToUnicode)[glyph[j]] == 0) { in populate_glyph_to_unicode()
402 (*glyphToUnicode)[glyph[j]] = chars[j]; in populate_glyph_to_unicode()