Lines Matching refs:sfntP
2295 static GlyphOffsets *GlyphOffsetsNew(sal_uInt8 *sfntP) in GlyphOffsetsNew() argument
2299 sal_uInt16 i, numTables = GetUInt16(sfntP, 4, 1); in GlyphOffsetsNew()
2304 sal_uInt32 tag = GetUInt32(sfntP + 12, 16 * i, 1); in GlyphOffsetsNew()
2305 sal_uInt32 off = GetUInt32(sfntP + 12, 16 * i + 8, 1); in GlyphOffsetsNew()
2306 sal_uInt32 len = GetUInt32(sfntP + 12, 16 * i + 12, 1); in GlyphOffsetsNew()
2309 loca = sfntP + off; in GlyphOffsetsNew()
2312 indexToLocFormat = GetInt16(sfntP + off, 50, 1); in GlyphOffsetsNew()
2338 static void DumpSfnts(FILE *outf, sal_uInt8 *sfntP) in DumpSfnts() argument
2341 sal_uInt16 i, numTables = GetUInt16(sfntP, 4, 1); in DumpSfnts()
2342 GlyphOffsets *go = GlyphOffsetsNew(sfntP); in DumpSfnts()
2352 HexFmtBlockWrite(h, sfntP, 12); /* stream out the Offset Table */ in DumpSfnts()
2353 HexFmtBlockWrite(h, sfntP+12, 16 * numTables); /* stream out the Table Directory */ in DumpSfnts()
2356 sal_uInt32 tag = GetUInt32(sfntP + 12, 16 * i, 1); in DumpSfnts()
2357 sal_uInt32 off = GetUInt32(sfntP + 12, 16 * i + 8, 1); in DumpSfnts()
2358 sal_uInt32 len = GetUInt32(sfntP + 12, 16 * i + 12, 1); in DumpSfnts()
2361 HexFmtBlockWrite(h, sfntP + off, len); in DumpSfnts()
2363 sal_uInt8 *glyf = sfntP + off; in DumpSfnts()
2395 sal_uInt8 *sfntP; in CreateT42FromTTGlyphs() local
2450 if ((res = StreamToMemory(ttcr, &sfntP, &sfntLen)) != SF_OK) { in CreateT42FromTTGlyphs()
2476 DumpSfnts(outf, sfntP); in CreateT42FromTTGlyphs()
2489 free(sfntP); in CreateT42FromTTGlyphs()