[NTG-pdftex] \pdfescapestring/convertStringToPDFString

Hartmut Henkel hartmut_henkel at gmx.de
Fri Jun 17 21:05:30 CEST 2005


On Fri, 17 Jun 2005, Hartmut Henkel wrote:

> On Fri, 17 Jun 2005, Martin Schröder wrote:
>
> > It's like \pdflastescapedstring. Don't know if anybody needs it. :-)
> > --------------------------------
> > \pdfcompresslevel=0
> > \tt
> > \pdfescapestring {a ( aä)ßb}
> > \pdflastescapedstring
>
> here i get
>
> (a\134040\134\050\134040a\134344\134\051\134337b)

in utils.c, convertStringToPDFString (), maybe line

        check_buf(j + sizeof(buf), MAX_PSTRING_LEN);

should be

        check_buf(j + sizeof(out), MAX_PSTRING_LEN);

Regards, Hartmut


More information about the ntg-pdftex mailing list