| 1562 | // Write out trailing information to the PostScript file. |
| 1563 | |
| 1564 | void 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 |
no test coverage detected