Searched refs:glyphToUnicode (Results 1 – 8 of 8) sorted by relevance
/external/skia/tests/ |
D | PDFGlyphsToUnicodeTest.cpp | 37 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/ |
D | SkPDFMakeToUnicodeCmap.cpp | 150 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()
|
D | SkPDFMakeToUnicodeCmap.h | 15 const SkTDArray<SkUnichar>& glyphToUnicode, 22 void SkPDFAppendCmapSections(const SkTDArray<SkUnichar>& glyphToUnicode,
|
D | SkPDFDevice.cpp | 1224 static SkUnichar map_glyph(const SkTDArray<SkUnichar>& glyphToUnicode, SkGlyphID glyph) { in map_glyph() argument 1225 return SkToInt(glyph) < glyphToUnicode.count() ? glyphToUnicode[SkToInt(glyph)] : -1; in map_glyph() 1333 const SkTDArray<SkUnichar>& glyphToUnicode = metrics->fGlyphToUnicode; in internalDrawText() local 1368 unichar != map_glyph(glyphToUnicode, glyphs[index])) // test single Unichar map in internalDrawText()
|
/external/skia/src/ports/ |
D | SkTypeface_win_dw.cpp | 298 SkTDArray<SkUnichar>* glyphToUnicode) { in populate_glyph_to_unicode() argument 316 SkTDArray<SkUnichar>(glyphToUni, maxGlyph + 1).swap(*glyphToUnicode); in populate_glyph_to_unicode()
|
D | SkFontHost_FreeType.cpp | 526 static void populate_glyph_to_unicode(FT_Face& face, SkTDArray<SkUnichar>* glyphToUnicode) { in populate_glyph_to_unicode() argument 528 glyphToUnicode->setCount(SkToInt(numGlyphs)); in populate_glyph_to_unicode() 529 sk_bzero(glyphToUnicode->begin(), sizeof((*glyphToUnicode)[0]) * numGlyphs); in populate_glyph_to_unicode() 536 if (0 == (*glyphToUnicode)[glyphIndex]) { in populate_glyph_to_unicode() 537 (*glyphToUnicode)[glyphIndex] = charCode; in populate_glyph_to_unicode()
|
D | SkFontHost_mac.cpp | 1398 SkTDArray<SkUnichar>* glyphToUnicode) { in populate_glyph_to_unicode_slow() argument 1399 glyphToUnicode->setCount(SkToInt(glyphCount)); in populate_glyph_to_unicode_slow() 1400 SkUnichar* out = glyphToUnicode->begin(); in populate_glyph_to_unicode_slow() 1419 SkTDArray<SkUnichar>* glyphToUnicode) { in populate_glyph_to_unicode() argument 1422 populate_glyph_to_unicode_slow(ctFont, glyphCount, glyphToUnicode); in populate_glyph_to_unicode() 1442 glyphToUnicode->setCount(SkToInt(glyphCount)); in populate_glyph_to_unicode() 1443 SkUnichar* out = glyphToUnicode->begin(); in populate_glyph_to_unicode()
|
D | SkFontHost_win.cpp | 364 SkTDArray<SkUnichar>* glyphToUnicode) { in populate_glyph_to_unicode() argument 377 glyphToUnicode->setCount(glyphCount); in populate_glyph_to_unicode() 378 memset(glyphToUnicode->begin(), 0, glyphCount * sizeof(SkUnichar)); in populate_glyph_to_unicode() 402 (*glyphToUnicode)[glyph[j]] == 0) { in populate_glyph_to_unicode() 403 (*glyphToUnicode)[glyph[j]] = chars[j]; in populate_glyph_to_unicode()
|