Home
last modified time | relevance | path

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

/external/skqp/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/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.cpp1280 static SkUnichar map_glyph(const SkTDArray<SkUnichar>& glyphToUnicode, SkGlyphID glyph) { in map_glyph() argument
1281 return SkToInt(glyph) < glyphToUnicode.count() ? glyphToUnicode[SkToInt(glyph)] : -1; in map_glyph()
1496 const SkTDArray<SkUnichar>& glyphToUnicode = metrics->fGlyphToUnicode; in internalDrawText() local
1534 unichar != map_glyph(glyphToUnicode, glyphs[index])) // test single Unichar map in internalDrawText()
/external/skqp/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.cpp1280 static SkUnichar map_glyph(const SkTDArray<SkUnichar>& glyphToUnicode, SkGlyphID glyph) { in map_glyph() argument
1281 return SkToInt(glyph) < glyphToUnicode.count() ? glyphToUnicode[SkToInt(glyph)] : -1; in map_glyph()
1496 const SkTDArray<SkUnichar>& glyphToUnicode = metrics->fGlyphToUnicode; in internalDrawText() local
1534 unichar != map_glyph(glyphToUnicode, glyphs[index])) // test single Unichar map in internalDrawText()
/external/skqp/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.cpp514 static void populate_glyph_to_unicode(FT_Face& face, SkTDArray<SkUnichar>* glyphToUnicode) { in populate_glyph_to_unicode() argument
516 glyphToUnicode->setCount(SkToInt(numGlyphs)); in populate_glyph_to_unicode()
517 sk_bzero(glyphToUnicode->begin(), sizeof((*glyphToUnicode)[0]) * numGlyphs); in populate_glyph_to_unicode()
524 if (0 == (*glyphToUnicode)[glyphIndex]) { in populate_glyph_to_unicode()
525 (*glyphToUnicode)[glyphIndex] = charCode; in populate_glyph_to_unicode()
DSkFontHost_mac.cpp1411 SkTDArray<SkUnichar>* glyphToUnicode) { in populate_glyph_to_unicode_slow() argument
1412 glyphToUnicode->setCount(SkToInt(glyphCount)); in populate_glyph_to_unicode_slow()
1413 SkUnichar* out = glyphToUnicode->begin(); in populate_glyph_to_unicode_slow()
1434 SkTDArray<SkUnichar>* glyphToUnicode) { in populate_glyph_to_unicode() argument
1437 populate_glyph_to_unicode_slow(ctFont, glyphCount, glyphToUnicode); in populate_glyph_to_unicode()
1457 glyphToUnicode->setCount(SkToInt(glyphCount)); in populate_glyph_to_unicode()
1458 SkUnichar* out = glyphToUnicode->begin(); in populate_glyph_to_unicode()
DSkFontHost_win.cpp365 SkTDArray<SkUnichar>* glyphToUnicode) { in populate_glyph_to_unicode() argument
378 glyphToUnicode->setCount(glyphCount); in populate_glyph_to_unicode()
379 memset(glyphToUnicode->begin(), 0, glyphCount * sizeof(SkUnichar)); in populate_glyph_to_unicode()
403 (*glyphToUnicode)[glyph[j]] == 0) { in populate_glyph_to_unicode()
404 (*glyphToUnicode)[glyph[j]] = chars[j]; in populate_glyph_to_unicode()
/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.cpp514 static void populate_glyph_to_unicode(FT_Face& face, SkTDArray<SkUnichar>* glyphToUnicode) { in populate_glyph_to_unicode() argument
516 glyphToUnicode->setCount(SkToInt(numGlyphs)); in populate_glyph_to_unicode()
517 sk_bzero(glyphToUnicode->begin(), sizeof((*glyphToUnicode)[0]) * numGlyphs); in populate_glyph_to_unicode()
524 if (0 == (*glyphToUnicode)[glyphIndex]) { in populate_glyph_to_unicode()
525 (*glyphToUnicode)[glyphIndex] = charCode; in populate_glyph_to_unicode()
DSkFontHost_mac.cpp1411 SkTDArray<SkUnichar>* glyphToUnicode) { in populate_glyph_to_unicode_slow() argument
1412 glyphToUnicode->setCount(SkToInt(glyphCount)); in populate_glyph_to_unicode_slow()
1413 SkUnichar* out = glyphToUnicode->begin(); in populate_glyph_to_unicode_slow()
1434 SkTDArray<SkUnichar>* glyphToUnicode) { in populate_glyph_to_unicode() argument
1437 populate_glyph_to_unicode_slow(ctFont, glyphCount, glyphToUnicode); in populate_glyph_to_unicode()
1457 glyphToUnicode->setCount(SkToInt(glyphCount)); in populate_glyph_to_unicode()
1458 SkUnichar* out = glyphToUnicode->begin(); in populate_glyph_to_unicode()
DSkFontHost_win.cpp365 SkTDArray<SkUnichar>* glyphToUnicode) { in populate_glyph_to_unicode() argument
378 glyphToUnicode->setCount(glyphCount); in populate_glyph_to_unicode()
379 memset(glyphToUnicode->begin(), 0, glyphCount * sizeof(SkUnichar)); in populate_glyph_to_unicode()
403 (*glyphToUnicode)[glyph[j]] == 0) { in populate_glyph_to_unicode()
404 (*glyphToUnicode)[glyph[j]] = chars[j]; in populate_glyph_to_unicode()