PDFdev is a service provided by PDFzone.com | http://www.pdfzone.com _____________________________________________________________
Thank you for pointing this error. Anyway, it does not seem to work when corrected... Concerning the custom encoding, I often need more than the winansi characters, that is why the structure seems so strange :o) Your /Widths array is too short by one entry: /FirstChar 32 /LastChar 43 /Encoding 4 0 R /Widths 5 0 R ... 5 0 obj [722 444 333 500 278 778 500 500 333 278 500] endobj The FirstChar and LastChar entries in the Font dictionary describe 12 characters, while the Width array has only 11 entries; same holds true for the ToUnicode CMap. BTW, the whole construct looks a bit critical to me, given the problems related to custom encodings when used with TrueType fonts. If you need only WinAnsi characters anyway, you may as well stay with "/BaseEncoding /WinAnsiEncoding" (without any /Differences), and include the full /Widths array for 256 entries. Thomas _______________________________________________________________ Thomas Merz [EMAIL PROTECTED] http://www.pdflib.com Personalize PDF: PDFlib Personalization Server and Block plugin _______PDFlib - a library for generating PDF on the fly________ To change your subscription: http://www.pdfzone.com/discussions/lists-pdfdev.html
