Lines Matching defs:glyphs
166 // The 'maxp' table stores the number of glyphs at offset 4, in 2 bytes.
167 uint16_t glyphs;
168 if (GDI_ERROR != GetFontData(hdc, SkOTTableMaximumProfile::TAG, 4, &glyphs, sizeof(glyphs))) {
169 return SkEndian_SwapBE16(glyphs);
283 void onCharsToGlyphs(const SkUnichar* chars, int count, SkGlyphID glyphs[]) const override;
812 WORD glyphs = glyph->getGlyphID();
813 if (0 == GetTextExtentPointI(fDDC, &glyphs, 1, &size)) {
1541 // 25% of glyphs require more than 2KB.
1542 // 1% of glyphs require more than 4KB.
1543 // 0.01% of glyphs require more than 8KB.
1545 // Note that some web fonts glyphs require more than 20KB.
1854 static void bmpCharsToGlyphs(HDC hdc, const WCHAR* bmpChars, int count, uint16_t* glyphs,
1872 DWORD result = GetGlyphIndicesW(hdc, bmpChars, count, glyphs, GGI_MARK_NONEXISTING_GLYPHS);
1875 glyphs[i] = 0;
1882 if (0xFFFF == glyphs[i] || 0x1F == glyphs[i]) {
1883 glyphs[i] = 0;
1888 if (0xFFFF == glyphs[i]){
1889 glyphs[i] = 0;
1910 // Sometimes ScriptShape cannot find a glyph for a non-BMP and returns 2 space glyphs.
1946 SkGlyphID glyphs[]) const
1973 bmpCharsToGlyphs(hdc, scratch, runLength, &glyphs[glyphIndex], Ox1FHack);
1980 glyphs[glyphIndex] = nonBmpCharToGlyph(hdc, &sc, scratch);
2124 // TODO: need to be able to distinguish subpixel positioned glyphs