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

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

Completed in 154 milliseconds