Lines Matching refs:glyphs
165 // The 'maxp' table stores the number of glyphs at offset 4, in 2 bytes.
166 uint16_t glyphs;
167 if (GDI_ERROR != GetFontData(hdc, SkOTTableMaximumProfile::TAG, 4, &glyphs, sizeof(glyphs))) {
168 return SkEndian_SwapBE16(glyphs);
271 uint16_t glyphs[], int glyphCount) const override;
847 // Sometimes ScriptShape cannot find a glyph for a non-BMP and returns 2 space glyphs.
874 WORD glyphs = glyph->getGlyphID();
875 if (0 == GetTextExtentPointI(fDDC, &glyphs, 1, &size)) {
1548 // 25% of glyphs require more than 2KB.
1549 // 1% of glyphs require more than 4KB.
1550 // 0.01% of glyphs require more than 8KB.
1552 // Note that some web fonts glyphs require more than 20KB.
1899 static void bmpCharsToGlyphs(HDC hdc, const WCHAR* bmpChars, int count, uint16_t* glyphs,
1902 DWORD result = GetGlyphIndicesW(hdc, bmpChars, count, glyphs, GGI_MARK_NONEXISTING_GLYPHS);
1905 glyphs[i] = 0;
1912 if (0xFFFF == glyphs[i] || 0x1F == glyphs[i]) {
1913 glyphs[i] = 0;
1918 if (0xFFFF == glyphs[i]){
1919 glyphs[i] = 0;
1940 // Sometimes ScriptShape cannot find a glyph for a non-BMP and returns 2 space glyphs.
1990 uint16_t* glyphs;
1992 glyphs = userGlyphs;
1994 glyphs = scratchGlyphs.reset(glyphCount);
2020 bmpCharsToGlyphs(hdc, scratch, runLength, &glyphs[glyphIndex], Ox1FHack);
2027 glyphs[glyphIndex] = nonBmpCharToGlyph(hdc, &sc, scratch);
2047 bmpCharsToGlyphs(hdc, currentUtf16, runLength, &glyphs[glyphIndex], Ox1FHack);
2054 glyphs[glyphIndex] = nonBmpCharToGlyph(hdc, &sc, currentUtf16);
2075 bmpCharsToGlyphs(hdc, scratch, runLength, &glyphs[glyphIndex], Ox1FHack);
2082 glyphs[glyphIndex] = nonBmpCharToGlyph(hdc, &sc, scratch);
2097 if (0 == glyphs[i]) {
2230 // TODO: need to be able to distinguish subpixel positioned glyphs