Searched refs:glyphToUnicode (Results 1 – 9 of 9) sorted by relevance
/external/skia/tests/ |
D | ToUnicode.cpp | 28 void append_cmap_sections(const SkTDArray<SkUnichar>& glyphToUnicode, 33 SkTDArray<SkUnichar> glyphToUnicode; in TestToUnicode() local 37 glyphToUnicode.push(0); // 0 in TestToUnicode() 38 glyphToUnicode.push(0); // 1 in TestToUnicode() 39 glyphToUnicode.push(0); // 2 in TestToUnicode() 41 glyphToUnicode.push(0x20); // 3 in TestToUnicode() 43 glyphToUnicode.push(0x25); // 4 in TestToUnicode() 45 glyphToUnicode.push(0x27); // 5 in TestToUnicode() 47 glyphToUnicode.push(0x28); // 6 in TestToUnicode() 49 glyphToUnicode.push(0x29); // 7 in TestToUnicode() [all …]
|
/external/skia/src/pdf/ |
D | SkPDFFont.cpp | 467 void append_cmap_sections(const SkTDArray<SkUnichar>& glyphToUnicode, 471 void append_cmap_sections(const SkTDArray<SkUnichar>& glyphToUnicode, in append_cmap_sections() argument 474 if (glyphToUnicode.isEmpty()) { in append_cmap_sections() 483 const int count = glyphToUnicode.count(); in append_cmap_sections() 495 glyphToUnicode[i] == currentRangeEntry.fUnicode + i - in append_cmap_sections() 512 currentRangeEntry.fUnicode = glyphToUnicode[i]; in append_cmap_sections() 525 const SkTDArray<SkUnichar>& glyphToUnicode, in generate_tounicode_cmap() argument 529 append_cmap_sections(glyphToUnicode, subset, &cmap); in generate_tounicode_cmap()
|
/external/skia/src/ports/ |
D | SkFontHost_FreeType.cpp | 401 SkTDArray<SkUnichar>* glyphToUnicode) { in populate_glyph_to_unicode() argument 431 if (glyphToUnicode->isEmpty()) { in populate_glyph_to_unicode() 432 glyphToUnicode->setCount(face->num_glyphs); in populate_glyph_to_unicode() 433 memset(glyphToUnicode->begin(), 0, in populate_glyph_to_unicode() 443 ((*glyphToUnicode)[glyphIndex] == 0 || preferredMap)) { in populate_glyph_to_unicode() 444 (*glyphToUnicode)[glyphIndex] = charCode; in populate_glyph_to_unicode()
|
D | SkFontHost_mac_coretext.cpp | 1379 SkTDArray<SkUnichar>* glyphToUnicode) { in populate_glyph_to_unicode_slow() argument 1380 glyphToUnicode->setCount(glyphCount); in populate_glyph_to_unicode_slow() 1381 SkUnichar* out = glyphToUnicode->begin(); in populate_glyph_to_unicode_slow() 1400 SkTDArray<SkUnichar>* glyphToUnicode) { in populate_glyph_to_unicode() argument 1403 populate_glyph_to_unicode_slow(ctFont, glyphCount, glyphToUnicode); in populate_glyph_to_unicode() 1424 glyphToUnicode->setCount(glyphCount); in populate_glyph_to_unicode() 1425 SkUnichar* out = glyphToUnicode->begin(); in populate_glyph_to_unicode()
|
D | SkFontHost_win_dw.cpp | 1301 SkTDArray<SkUnichar>* glyphToUnicode) { 1333 glyphToUnicode->setCount(maxGlyph+1); 1335 (*glyphToUnicode)[j] = 0; 1340 if (glyph[j] < glyphCount && (*glyphToUnicode)[glyph[j]] == 0) { 1341 (*glyphToUnicode)[glyph[j]] = chars[j];
|
D | SkFontHost_win.cpp | 366 SkTDArray<SkUnichar>* glyphToUnicode) { in populate_glyph_to_unicode() argument 379 glyphToUnicode->setCount(glyphCount); in populate_glyph_to_unicode() 380 memset(glyphToUnicode->begin(), 0, glyphCount * sizeof(SkUnichar)); in populate_glyph_to_unicode() 404 (*glyphToUnicode)[glyph[j]] == 0) { in populate_glyph_to_unicode() 405 (*glyphToUnicode)[glyph[j]] = chars[j]; in populate_glyph_to_unicode()
|
/external/skia/legacy/src/ports/ |
D | SkFontHost_win.cpp | 227 SkTDArray<SkUnichar>* glyphToUnicode) { in populate_glyph_to_unicode() argument 240 glyphToUnicode->setCount(glyphCount); in populate_glyph_to_unicode() 241 memset(glyphToUnicode->begin(), 0, glyphCount * sizeof(SkUnichar)); in populate_glyph_to_unicode() 265 (*glyphToUnicode)[glyph[j]] == 0) { in populate_glyph_to_unicode() 266 (*glyphToUnicode)[glyph[j]] = chars[j]; in populate_glyph_to_unicode()
|
D | SkFontHost_mac_coretext.cpp | 1534 unsigned glyphCount, SkTDArray<SkUnichar>* glyphToUnicode) { in populate_glyph_to_unicode_slow() argument 1535 glyphToUnicode->setCount(glyphCount); in populate_glyph_to_unicode_slow() 1536 SkUnichar* out = glyphToUnicode->begin(); in populate_glyph_to_unicode_slow() 1555 const unsigned glyphCount, SkTDArray<SkUnichar>* glyphToUnicode) { in populate_glyph_to_unicode() argument 1558 populate_glyph_to_unicode_slow(ctFont, glyphCount, glyphToUnicode); in populate_glyph_to_unicode() 1579 glyphToUnicode->setCount(glyphCount); in populate_glyph_to_unicode() 1580 SkUnichar* out = glyphToUnicode->begin(); in populate_glyph_to_unicode()
|
D | SkFontHost_FreeType.cpp | 387 SkTDArray<SkUnichar>* glyphToUnicode) { in populate_glyph_to_unicode() argument 417 if (glyphToUnicode->isEmpty()) { in populate_glyph_to_unicode() 418 glyphToUnicode->setCount(face->num_glyphs); in populate_glyph_to_unicode() 419 memset(glyphToUnicode->begin(), 0, in populate_glyph_to_unicode() 429 ((*glyphToUnicode)[glyphIndex] == 0 || preferredMap)) { in populate_glyph_to_unicode() 430 (*glyphToUnicode)[glyphIndex] = charCode; in populate_glyph_to_unicode()
|