[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#295576: marked as done (Problem with hyphen in PDF)



Your message dated Fri, 28 Jul 2006 23:02:35 +0900
with message-id <20060728140235.918811A79FE@mail.topstudio.co.jp>
and subject line Problem with hyphen in PDF
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--- Begin Message ---
Package: gs-esp
Version: 7.07.1-9
Severity: important
Tags: patch

Viewing the attached PDF file with gs-esp (either directly or via gv), the hyphen is overprinted by the following 'a'. The file displays correctly with xpdf or Acrobat Reader. This is an old bug which was fix but for some reasons never made it to GPL GS and hence ESP GS. See <URL:http://bugs.ghostscript.com/show_bug.cgi?id=517474> and
<URL:http://www.ghostscript.com/pipermail/gs-code-review/2002-February/002030.html>.
The attached patch solves this for me.

cheerio
ralf

Attachment: garamond.pdf
Description: Adobe PDF document

--- /usr/share/gs-esp/7.07/lib/pdf_font.ps.orig	2005-02-16 20:24:34.000000000 +0100
+++ /usr/share/gs-esp/7.07/lib/pdf_font.ps	2005-02-16 20:26:10.000000000 +0100
@@ -141,6 +141,7 @@
 		% dictionary works by character name, not by character code.
 		% We prefer to take (1) non-zero width, and (2) width for 
 		% the character code which appears in Differences.
+	   dup 0 eq { exit } if
 	   Metrics 2 index .knownget not { 0 } if 0 ne {
 	     5 index /Encoding knownoget not { exit } if
 	     dup type /dicttype ne { pop exit } if

--- End Message ---
--- Begin Message ---
Version: 8.15.1.dfsg.1-2.1
thanks

> Viewing the attached PDF file with gs-esp (either directly or via gv),
> the hyphen is overprinted by the following 'a'. The file displays
> correctly with xpdf or Acrobat Reader. This is an old bug which was fix
> but for some reasons never made it to GPL GS and hence ESP GS

This bug seems be already solved since at least 8.15 series.
-- 
Kenshi Muto
kmuto@debian.org

--- End Message ---

Reply to: