diff options
Diffstat (limited to 'pdf/xpdf/PSOutputDev.cc')
-rw-r--r-- | pdf/xpdf/PSOutputDev.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/pdf/xpdf/PSOutputDev.cc b/pdf/xpdf/PSOutputDev.cc index fa7c13e..edff5cd 100644 --- a/pdf/xpdf/PSOutputDev.cc +++ b/pdf/xpdf/PSOutputDev.cc @@ -481,12 +481,12 @@ void PSOutputDev::setupFont(GfxFont *font) { writePS("/F%d_%d /%s %g\n", font->getID().num, font->getID().gen, psName, scale); for (i = 0; i < 256; i += 8) { - writePS((i == 0) ? (char *)"[ " : (char *)" "); + writePS((i == 0) ? "[ " : " "); for (j = 0; j < 8; ++j) { charName = font->getCharName(i+j); - writePS("/%s", charName ? charName : (char *)".notdef"); + writePS("/%s", charName ? charName : ".notdef"); } - writePS((i == 256-8) ? (char *)"]\n" : (char *)"\n"); + writePS((i == 256-8) ? "]\n" : "\n"); } writePS("pdfMakeFont\n"); } |