Home
last modified time | relevance | path

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

/external/skia/tests/
DPDFGlyphsToUnicodeTest.cpp26 void append_cmap_sections(const SkTDArray<SkUnichar>& glyphToUnicode,
34 SkTDArray<SkUnichar> glyphToUnicode; in DEF_TEST() local
38 glyphToUnicode.push(0); // 0 in DEF_TEST()
39 glyphToUnicode.push(0); // 1 in DEF_TEST()
40 glyphToUnicode.push(0); // 2 in DEF_TEST()
42 glyphToUnicode.push(0x20); // 3 in DEF_TEST()
44 glyphToUnicode.push(0x25); // 4 in DEF_TEST()
46 glyphToUnicode.push(0x27); // 5 in DEF_TEST()
48 glyphToUnicode.push(0x28); // 6 in DEF_TEST()
50 glyphToUnicode.push(0x29); // 7 in DEF_TEST()
[all …]
/external/skia/src/pdf/
DSkPDFFont.cpp493 void append_cmap_sections(const SkTDArray<SkUnichar>& glyphToUnicode,
500 void append_cmap_sections(const SkTDArray<SkUnichar>& glyphToUnicode, in append_cmap_sections() argument
506 if (glyphToUnicode.isEmpty()) { in append_cmap_sections()
520 SkMin32(lastGlyphID + 1, glyphToUnicode.count()) - glyphOffset; in append_cmap_sections()
533 glyphToUnicode[i + glyphOffset] == in append_cmap_sections()
550 currentRangeEntry.fUnicode = glyphToUnicode[i + glyphOffset]; in append_cmap_sections()
563 const SkTDArray<SkUnichar>& glyphToUnicode, in generate_tounicode_cmap() argument
574 append_cmap_sections(glyphToUnicode, subset, &cmap, multiByteGlyphs, in generate_tounicode_cmap()
/external/skia/src/ports/
DSkTypeface_win_dw.cpp295 SkTDArray<SkUnichar>* glyphToUnicode) { in populate_glyph_to_unicode() argument
313 SkTDArray<SkUnichar>(glyphToUni, maxGlyph + 1).swap(*glyphToUnicode); in populate_glyph_to_unicode()
DSkFontHost_mac.cpp1474 SkTDArray<SkUnichar>* glyphToUnicode) { in populate_glyph_to_unicode_slow() argument
1475 glyphToUnicode->setCount(SkToInt(glyphCount)); in populate_glyph_to_unicode_slow()
1476 SkUnichar* out = glyphToUnicode->begin(); in populate_glyph_to_unicode_slow()
1495 SkTDArray<SkUnichar>* glyphToUnicode) { in populate_glyph_to_unicode() argument
1498 populate_glyph_to_unicode_slow(ctFont, glyphCount, glyphToUnicode); in populate_glyph_to_unicode()
1519 glyphToUnicode->setCount(SkToInt(glyphCount)); in populate_glyph_to_unicode()
1520 SkUnichar* out = glyphToUnicode->begin(); in populate_glyph_to_unicode()
DSkFontHost_FreeType.cpp446 static void populate_glyph_to_unicode(FT_Face& face, SkTDArray<SkUnichar>* glyphToUnicode) { in populate_glyph_to_unicode() argument
447 glyphToUnicode->setCount(face->num_glyphs); in populate_glyph_to_unicode()
448 sk_bzero(glyphToUnicode->begin(), sizeof((*glyphToUnicode)[0]) * face->num_glyphs); in populate_glyph_to_unicode()
453 (*glyphToUnicode)[glyphIndex] = charCode; in populate_glyph_to_unicode()
DSkFontHost_win.cpp361 SkTDArray<SkUnichar>* glyphToUnicode) { in populate_glyph_to_unicode() argument
374 glyphToUnicode->setCount(glyphCount); in populate_glyph_to_unicode()
375 memset(glyphToUnicode->begin(), 0, glyphCount * sizeof(SkUnichar)); in populate_glyph_to_unicode()
399 (*glyphToUnicode)[glyph[j]] == 0) { in populate_glyph_to_unicode()
400 (*glyphToUnicode)[glyph[j]] = chars[j]; in populate_glyph_to_unicode()