PDFdev is a service provided by PDFzone.com | http://www.pdfzone.com _____________________________________________________________

From: Xavier Walhin <[EMAIL PROTECTED]>
When I try to save my pdf document to a .doc file with Acrobat 6, I am
having a strange error message : "bad pdf; could not read page structure (bad page contents)"

You can find the file at this location
ftp://ftp02.irislink.com/ocr/xwalhin/pdf/file1.pdf

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



Reply via email to