Home | History | Annotate | Download | only in ports

Lines Matching refs:glyphs

167     // The 'maxp' table stores the number of glyphs at offset 4, in 2 bytes.
168 uint16_t glyphs;
169 if (GDI_ERROR != GetFontData(hdc, SkOTTableMaximumProfile::TAG, 4, &glyphs, sizeof(glyphs))) {
170 return SkEndian_SwapBE16(glyphs);
271 uint16_t glyphs[], int glyphCount) const SK_OVERRIDE;
865 // Sometimes ScriptShape cannot find a glyph for a non-BMP and returns 2 space glyphs.
890 WORD glyphs = glyph->getGlyphID(0);
891 if (0 == GetTextExtentPointI(fDDC, &glyphs, 1, &size)) {
1720 // 25% of glyphs require more than 2KB.
1721 // 1% of glyphs require more than 4KB.
1722 // 0.01% of glyphs require more than 8KB.
1724 // Note that some web fonts glyphs require more than 20KB.
2083 static void bmpCharsToGlyphs(HDC hdc, const WCHAR* bmpChars, int count, uint16_t* glyphs,
2086 DWORD result = GetGlyphIndicesW(hdc, bmpChars, count, glyphs, GGI_MARK_NONEXISTING_GLYPHS);
2089 glyphs[i] = 0;
2096 if (0xFFFF == glyphs[i] || 0x1F == glyphs[i]) {
2097 glyphs[i] = 0;
2102 if (0xFFFF == glyphs[i]){
2103 glyphs[i] = 0;
2123 // Sometimes ScriptShape cannot find a glyph for a non-BMP and returns 2 space glyphs.
2173 uint16_t* glyphs;
2175 glyphs = userGlyphs;
2177 glyphs = scratchGlyphs.reset(glyphCount);
2203 bmpCharsToGlyphs(hdc, scratch, runLength, &glyphs[glyphIndex], Ox1FHack);
2210 glyphs[glyphIndex] = nonBmpCharToGlyph(hdc, &sc, scratch);
2230 bmpCharsToGlyphs(hdc, currentUtf16, runLength, &glyphs[glyphIndex], Ox1FHack);
2237 glyphs
2258 bmpCharsToGlyphs(hdc, scratch, runLength, &glyphs[glyphIndex], Ox1FHack);
2265 glyphs[glyphIndex] = nonBmpCharToGlyph(hdc, &sc, scratch);
2280 if (0 == glyphs[i]) {
2414 // TODO: need to be able to distinguish subpixel positioned glyphs