Home | History | Annotate | Download | only in ports

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;
848 // Sometimes ScriptShape cannot find a glyph for a non-BMP and returns 2 space glyphs.
875 WORD glyphs = glyph->getGlyphID();
876 if (0 == GetTextExtentPointI(fDDC, &glyphs, 1, &size)) {
1549 // 25% of glyphs require more than 2KB.
1550 // 1% of glyphs require more than 4KB.
1551 // 0.01% of glyphs require more than 8KB.
1553 // Note that some web fonts glyphs require more than 20KB.
1898 static void bmpCharsToGlyphs(HDC hdc, const WCHAR* bmpChars, int count, uint16_t* glyphs,
1901 DWORD result = GetGlyphIndicesW(hdc, bmpChars, count, glyphs, GGI_MARK_NONEXISTING_GLYPHS);
1904 glyphs[i] = 0;
1911 if (0xFFFF == glyphs[i] || 0x1F == glyphs[i]) {
1912 glyphs[i] = 0;
1917 if (0xFFFF == glyphs[i]){
1918 glyphs[i] = 0;
1939 // Sometimes ScriptShape cannot find a glyph for a non-BMP and returns 2 space glyphs.
1989 uint16_t* glyphs;
1991 glyphs = userGlyphs;
1993 glyphs = scratchGlyphs.reset(glyphCount);
2019 bmpCharsToGlyphs(hdc, scratch, runLength, &glyphs[glyphIndex], Ox1FHack);
2026 glyphs[glyphIndex] = nonBmpCharToGlyph(hdc, &sc, scratch);
2046 bmpCharsToGlyphs(hdc, currentUtf16, runLength, &glyphs[glyphIndex], Ox1FHack);
2053 glyphs[glyphIndex] = nonBmpCharToGlyph(hdc, &sc, currentUtf16);
2074 bmpCharsToGlyphs(hdc, scratch, runLength, &glyphs[glyphIndex], Ox1FHack);
2081 glyphs[glyphIndex] = nonBmpCharToGlyph(hdc, &sc, scratch);
2096 if (0 == glyphs[i]) {
2229 // TODO: need to be able to distinguish subpixel positioned glyphs