Lines Matching refs:nglyphs

540 	if( glyphID >= ttf->nglyphs )			/*- glyph is not present in the font */  in GetSimpleTTOutline()
633 if (glyphID >= ttf->nglyphs) /*- incorrect glyphID */ in GetCompoundTTOutline()
836 if (glyphID >= ttf->nglyphs) return -1; /**/ in GetTTGlyphOutline()
1551 static void KernGlyphsPrim1(TrueTypeFont *ttf, sal_uInt16 *glyphs, int nglyphs, int wmode, KernData… in KernGlyphsPrim1() argument
1555 (void)nglyphs; /* avoid warning */ in KernGlyphsPrim1()
1557 (void)nglyphs; /* avoid warning */ in KernGlyphsPrim1()
1562 static void KernGlyphsPrim2(TrueTypeFont *ttf, sal_uInt16 *glyphs, int nglyphs, int wmode, KernData… in KernGlyphsPrim2() argument
1567 if( ! nglyphs ) in KernGlyphsPrim2()
1570 for (i = 0; i < (sal_uInt32)nglyphs - 1; i++) { in KernGlyphsPrim2()
1646 (*ttf)->nglyphs = 0xFFFFFFFF; in allocTrueTypeFont()
1873 t->nglyphs = GetUInt16(table, 4, 1); in doOpenTTFont()
1886 if( k < (int)t->nglyphs ) /* Hack for broken Chinese fonts */ in doOpenTTFont()
1887 t->nglyphs = k; in doOpenTTFont()
1890 t->goffsets = (sal_uInt32 *) calloc(1+t->nglyphs, sizeof(sal_uInt32)); in doOpenTTFont()
1893 for( i = 0; i <= (int)t->nglyphs; ++i ) in doOpenTTFont()
1896 t->goffsets = (sal_uInt32 *) calloc(1+t->nglyphs, sizeof(sal_uInt32)); in doOpenTTFont()
1954 if( glyphID >= ttf->nglyphs ) in GetTTGlyphComponents()
2088 … r = GetTTGlyphOutline(ttf, glyphArray[i] < ttf->nglyphs ? glyphArray[i] : 0, &pa, &metrics, 0); in CreateT3FromTTGlyphs()
2581 return ttf->nglyphs; in GetTTGlyphCount()
2627 if( glyphID < ttf->nglyphs ) in GetTTSimpleGlyphMetrics()
2743 void KernGlyphs(TrueTypeFont *ttf, sal_uInt16 *glyphs, int nglyphs, int wmode, KernData *kern) in KernGlyphs() argument
2747 if (!nglyphs || !glyphs || !kern) return; in KernGlyphs()
2749 for (i = 0; i < nglyphs-1; i++) kern[i].x = kern[i].y = 0; in KernGlyphs()
2752 case KT_APPLE_NEW: KernGlyphsPrim1(ttf, glyphs, nglyphs, wmode, kern); return; in KernGlyphs()
2753 case KT_MICROSOFT: KernGlyphsPrim2(ttf, glyphs, nglyphs, wmode, kern); return; in KernGlyphs()
2765 if( glyphID >= ttf->nglyphs ) in GetTTRawGlyphData()
3336 for (i = 0; i < fnt->nglyphs; i++) { in main()