Lines Matching refs:outf

434 static HexFmt *HexFmtNew(FILE *outf)  in HexFmtNew()  argument
438 res->o = outf; in HexFmtNew()
1992 int CreateT3FromTTGlyphs(TrueTypeFont *ttf, FILE *outf, const char *fname, /*FOLD00*/ in CreateT3FromTTGlyphs() argument
2055 …fprintf(outf, h01, GetInt16(table, 0, 1), GetUInt16(table, 2, 1), GetInt16(table, 4, 1), GetUInt16… in CreateT3FromTTGlyphs()
2056 fprintf(outf, h02, modname, modver, modextra); in CreateT3FromTTGlyphs()
2057 fprintf(outf, h09, ttf->psname); in CreateT3FromTTGlyphs()
2059 fprintf(outf, h10); in CreateT3FromTTGlyphs()
2060 fprintf(outf, h11, fname); in CreateT3FromTTGlyphs()
2073 …fprintf(outf, h17, rtl_crc32(0, ttf->ptr, ttf->fsize), nGlyphs, rtl_crc32(0, glyphArray, nGlyphs *… in CreateT3FromTTGlyphs()
2074 fprintf(outf, h13); in CreateT3FromTTGlyphs()
2075 …fprintf(outf, h14, XUnits(UPEm, GetInt16(table, 36, 1)), XUnits(UPEm, GetInt16(table, 38, 1)), XUn… in CreateT3FromTTGlyphs()
2076 fprintf(outf, h15); in CreateT3FromTTGlyphs()
2079 fprintf(outf, h16, encoding[i], i); in CreateT3FromTTGlyphs()
2082 fprintf(outf, h30, nGlyphs+1); in CreateT3FromTTGlyphs()
2083 fprintf(outf, h31); in CreateT3FromTTGlyphs()
2084 fprintf(outf, h32); in CreateT3FromTTGlyphs()
2087 fprintf(outf, h33, i); in CreateT3FromTTGlyphs()
2099 fprintf(outf, "\t%d %d %d %d %d %d setcachedevice\n", in CreateT3FromTTGlyphs()
2112 … fprintf(outf, "\t%d %d moveto\n", XUnits(UPEm, path[j].x1), XUnits(UPEm, path[j].y1)); in CreateT3FromTTGlyphs()
2116 … fprintf(outf, "\t%d %d lineto\n", XUnits(UPEm, path[j].x1), XUnits(UPEm, path[j].y1)); in CreateT3FromTTGlyphs()
2120 …fprintf(outf, "\t%d %d %d %d %d %d curveto\n", XUnits(UPEm, path[j].x1), XUnits(UPEm, path[j].y1),… in CreateT3FromTTGlyphs()
2124 fprintf(outf, "\tclosepath\n"); in CreateT3FromTTGlyphs()
2130 if (n > 0) fprintf(outf, "\tfill\n"); /* if glyph is not a whitespace character */ in CreateT3FromTTGlyphs()
2132 fprintf(outf, h34); in CreateT3FromTTGlyphs()
2137 fprintf(outf, h35); in CreateT3FromTTGlyphs()
2139 fprintf(outf, h40); in CreateT3FromTTGlyphs()
2140 fprintf(outf, h41, fname); in CreateT3FromTTGlyphs()
2338 static void DumpSfnts(FILE *outf, sal_uInt8 *sfntP) in DumpSfnts() argument
2340 HexFmt *h = HexFmtNew(outf); in DumpSfnts()
2350 fputs("/sfnts [", outf); in DumpSfnts()
2374 fputs("] def\n", outf); in DumpSfnts()
2382 FILE *outf, in CreateT42FromTTGlyphs() argument
2456 …fprintf(outf, "%%!PS-TrueTypeFont-%d.%d-%d.%d\n", (int)(ver>>16), (int)(ver & 0xFFFF), (int)(rev>>… in CreateT42FromTTGlyphs()
2457 fprintf(outf, "%%%%Creator: %s %s %s\n", modname, modver, modextra); in CreateT42FromTTGlyphs()
2458 fprintf(outf, "%%- Font subset generated from a source font file: '%s'\n", ttf->fname); in CreateT42FromTTGlyphs()
2459 fprintf(outf, "%%- Original font name: %s\n", ttf->psname); in CreateT42FromTTGlyphs()
2460 fprintf(outf, "%%- Original font family: %s\n", ttf->family); in CreateT42FromTTGlyphs()
2461 fprintf(outf, "%%- Original font sub-family: %s\n", ttf->subfamily); in CreateT42FromTTGlyphs()
2462 fprintf(outf, "11 dict begin\n"); in CreateT42FromTTGlyphs()
2463 fprintf(outf, "/FontName (%s) cvn def\n", psname); in CreateT42FromTTGlyphs()
2464 fprintf(outf, "/PaintType 0 def\n"); in CreateT42FromTTGlyphs()
2465 fprintf(outf, "/FontMatrix [1 0 0 1 0 0] def\n"); in CreateT42FromTTGlyphs()
2466 …fprintf(outf, "/FontBBox [%d %d %d %d] def\n", XUnits(UPEm, GetInt16(headP, 36, 1)), XUnits(UPEm, … in CreateT42FromTTGlyphs()
2467 fprintf(outf, "/FontType 42 def\n"); in CreateT42FromTTGlyphs()
2468 fprintf(outf, "/Encoding 256 array def\n"); in CreateT42FromTTGlyphs()
2469 fprintf(outf, " 0 1 255 {Encoding exch /.notdef put} for\n"); in CreateT42FromTTGlyphs()
2472 fprintf(outf, "Encoding %d /glyph%d put\n", encoding[i], gID[i]); in CreateT42FromTTGlyphs()
2474 …fprintf(outf, "/XUID [103 0 1 16#%08X %d 16#%08X 16#%08X] def\n", (unsigned int)rtl_crc32(0, ttf->… in CreateT42FromTTGlyphs()
2476 DumpSfnts(outf, sfntP); in CreateT42FromTTGlyphs()
2479 fprintf(outf, "/CharStrings %d dict dup begin\n", nGlyphs); in CreateT42FromTTGlyphs()
2480 fprintf(outf, "/.notdef 0 def\n"); in CreateT42FromTTGlyphs()
2482 fprintf(outf,"/glyph%d %d def\n", i, i); in CreateT42FromTTGlyphs()
2484 fprintf(outf, "end readonly def\n"); in CreateT42FromTTGlyphs()
2486 fprintf(outf, "FontName currentdict end definefont pop\n"); in CreateT42FromTTGlyphs()