[NTG-pdftex] Bug: <hex> string to () string
Hartmut Henkel
hartmut_henkel@gmx.de
Tue, 29 Jul 2003 21:15:22 +0200 (CEST)
On Tue, 29 Jul 2003, Heiko Oberdiek wrote:
> by pdfTeX, but the colors in some of the images are terrible wrong.
A typecast is missing in pdftexdir/pdftoepdf.cc, function copyObject():
pdf_puts("(");
for (; *p != 0; p++) {
c = (unsigned char) *p; // <--- typecast here!
if (c == '(' || c == ')' || c == '\\')
pdf_printf("\\%c", c);
else if (c < 0x20 || c > 0x7F)
pdf_printf("\\%03o", c);
Greetings Hartmut