Home | History | Annotate | Download | only in ports

Lines Matching full:glyphs

163     // The 'maxp' table stores the number of glyphs at offset 4, in 2 bytes.
164 uint16_t glyphs;
165 if (GDI_ERROR != GetFontData(hdc, SkOTTableMaximumProfile::TAG, 4, &glyphs, sizeof(glyphs))) {
166 return SkEndian_SwapBE16(glyphs);
267 uint16_t glyphs[], int glyphCount) const override;
833 // Sometimes ScriptShape cannot find a glyph for a non-BMP and returns 2 space glyphs.
858 WORD glyphs = glyph->getGlyphID();
859 if (0 == GetTextExtentPointI(fDDC, &glyphs, 1, &size)) {
1617 // 25% of glyphs require more than 2KB.
1618 // 1% of glyphs require more than 4KB.
1619 // 0.01% of glyphs require more than 8KB.
1621 // Note that some web fonts glyphs require more than 20KB.
1948 static void bmpCharsToGlyphs(HDC hdc, const WCHAR* bmpChars, int count, uint16_t* glyphs,
1951 DWORD result = GetGlyphIndicesW(hdc, bmpChars, count, glyphs, GGI_MARK_NONEXISTING_GLYPHS);
1954 glyphs[i] = 0;
1961 if (0xFFFF == glyphs[i] || 0x1F == glyphs[i]) {
1962 glyphs[i] = 0;
1967 if (0xFFFF == glyphs[i]){
1968 glyphs[i] = 0;
1989 // Sometimes ScriptShape cannot find a glyph for a non-BMP and returns 2 space glyphs.
2039 uint16_t* glyphs;
2041 glyphs = userGlyphs;
2043 glyphs = scratchGlyphs.reset(glyphCount);
2069 bmpCharsToGlyphs(hdc, scratch, runLength, &glyphs[glyphIndex], Ox1FHack);
2076 glyphs[glyphIndex] = nonBmpCharToGlyph(hdc, &sc, scratch);
2096 bmpCharsToGlyphs(hdc, currentUtf16, runLength, &glyphs[glyphIndex], Ox1FHack);
2103 glyphs[glyphIndex] = nonBmpCharToGlyph(hdc, &sc, currentUtf16);
2124 bmpCharsToGlyphs(hdc, scratch, runLength, &glyphs[glyphIndex], Ox1FHack);
2131 glyphs[glyphIndex] = nonBmpCharToGlyph(hdc, &sc, scratch);
2146 if (0 == glyphs[i]) {
2281 // TODO: need to be able to distinguish subpixel positioned glyphs