Originally reported by: chlick@users.sourceforge.net Some PDF files I created using PDFTeX and Adobe Minion are not displayed correctly : the hyphen char '-' (and only this one) is treated as if it had null width, so the following letter is superposed. I use gs 7.04, I compiled with egcs-2.91.66 on a tuned RH 6.2 system, i686. No special compilation option, nor env variables. Here is a sample testfile : <http://damien.wyart.free.fr/laballade.pdf> This problem doesn't occur when using Acrobat Reader (any version) nor Xpdf (v1.0), so I guess the PDF file is OK.
Comment originally by chlick@users.sourceforge.net Logged In: YES user_id=402822 I forgot to tell that the same file in PS (via latex+dvips) is displayed correctly. So this really looks like a PDF interpreter problem.
Comment originally by jackiem@users.sourceforge.net Logged In: YES user_id=206537 Where is the file can I see the problem? A cursory glance did not reveal anything obvious. What page/paragraph?
Comment originally by jackiem@users.sourceforge.net Logged In: YES user_id=206537 Also, if it's font specific, you might want to email the font to me directly at jack@artifex.com unless Adobe Minion is freely available from the web somewhere.
Comment originally by raph@users.sourceforge.net Logged In: YES user_id=379 Some observations: 1. The font is embedded in the file, so it's straightforward to reproduce the problem. No need to send the font separately. 2. The first occurrence is on line 3 of page 2. In "Est-ce", the hyphen overprints the "c", so it looks like Est\epsilon e. 3. This problem does not occur in the GS_6_5 branch. It is reproducible in 7.04 and HEAD. I haven't checked any of the other 7.0x releases, but it might be worth doing so to help isolate the change that introduced the bug. 4. Running the file through pdfwrite "freezes" the hyphen location. After running the file through pdfwrite on 6.54, it displays with correct spacing on all tested versions of gs. The same test using 7.04 pdfwrite displays incorrect spacing on all tested versions of gs. I've attached a couple of these pdf files. Hopefully, this will help narrow down the problem. We'll add the file to our regression test suite so we don't re-introduce the bug later. Thanks for the report!
Comment originally by chlick@users.sourceforge.net Logged In: YES user_id=402822 Dear raph, Thanks for this very precise feedback and confirmation of the problem. A friend of mine told the problem does *not* occur with gs 7.00. I hope the bug will be located soon. Thanks again for your reply !
Comment originally by igorm@users.sourceforge.net Logged In: YES user_id=79484 The reason is that 'hypen' appears twice in Differences. A hack in getfontmetrics has been improved for this case. See the patch http://www.ghostscript.com/pipermail/gs-code-review/2002- February/002008.html
Comment originally by igorm@users.sourceforge.net Logged In: YES user_id=79484 The patch has been committed.