Summary: | Invisible text not preserved by pdfwrite | ||
---|---|---|---|
Product: | Ghostscript | Reporter: | Marcos H. Woehrmann <marcos.woehrmann> |
Component: | PDF Interpreter | Assignee: | Ken Sharp <ken.sharp> |
Status: | NOTIFIED FIXED | ||
Severity: | enhancement | ||
Priority: | P4 | ||
Version: | master | ||
Hardware: | PC | ||
OS: | All | ||
Customer: | potential | Word Size: | --- |
Description
Marcos H. Woehrmann
2010-09-09 18:05:10 UTC
PostScript part of the PDF interpreter passes the text and the rendering mode to C level. This can be easily checked by changing gs_settextrenderingmode() to no-op. Reassigning to Ken since it seems that the PS part of the PDF interp does pass things in. If this is FAPI dropping the ball, please pass along to Chris. Bizarrely, some of the text is indeed written to the output file (eg '484,20'), but most of it is not, no idea why at the moment. This is caused by the FontDescriptor for the text in rendering mode 3 having Widths which do not match the widths in the font. When this happens the code takes a path which does not add the glyphs to the 'used' list, so they don't get emitted. I have a fix in regression test which I believe will address this. Fixed in revision 11779, patch here: http://ghostscript.com/pipermail/gs-cvs/2010-October/011807.html |