MCPcopy Create free account
hub / github.com/CruiserOne/Astrolog / PsEnd

Function PsEnd

xdevice.cpp:1564–1581  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1562// Write out trailing information to the PostScript file.
1563
1564void PsEnd()
1565{
1566 int i;
1567
1568 PsStrokeForce();
1569 if (!gs.fPSComplete)
1570 fprintf(gi.file, "%%%%EOF\n");
1571 else {
1572 fprintf(gi.file, "showpage\n");
1573 fprintf(gi.file, "%%%%PageTrailer\n");
1574 fprintf(gi.file, "%%%%Trailer\n");
1575 fprintf(gi.file, "%%%%DocumentFonts: Times-Roman\n");
1576 if (gs.nFontAll > 0)
1577 for (i = 1; i < cFont; i++)
1578 fprintf(gi.file, "%%%%+ %s\n",
1579 i != fiCourier ? rgszFontName[i] : "Courier");
1580 }
1581}
1582#endif // PS
1583
1584

Callers 1

EndFileXFunction · 0.85

Calls 1

PsStrokeForceFunction · 0.85

Tested by

no test coverage detected