[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug #48986] gropdf remaps characters to position 13
From: |
Christopher Yeleighton |
Subject: |
[bug #48986] gropdf remaps characters to position 13 |
Date: |
Sat, 3 Sep 2016 07:58:34 +0000 (UTC) |
User-agent: |
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.79 Safari/537.36 Edge/14.14393 |
URL:
<http://savannah.gnu.org/bugs/?48986>
Summary: gropdf remaps characters to position 13
Project: GNU troff
Submitted by: yecril71pl
Submitted on: Sat 03 Sep 2016 07:58:32 AM GMT
Severity: 3 - Normal
Item Group: Incorrect behaviour
Status: None
Privacy: Public
Assigned to: None
Open/Closed: Open
Discussion Lock: Any
Planned Release: None
_______________________________________________________
Details:
gropdf remaps characters to position 13 and Adobe Reader does not like that.
It displays the character at position 10 instead.
To reproduce:
{
env LANG=pl_PL.UTF-8 MANROFFOPT='-fU-T' \
man -Tpdf man >man.pdf; }
Open man.pdf with Adobe Reader DC 2015.
To fix:
--- gropdf,orig 2016-09-03 09:41:40.596479800 +0200
+++ gropdf 2016-09-03 09:42:42.377590400 +0200
@@ -3215,7 +3215,7 @@
foreach my $un (2..$#{$fnt->{GNO}})
{
- $unused=$un,last if $fnt->{GNO}->[$un] eq '/.notdef';
+ $unused=$un,last if $fnt->{GNO}->[$un] eq '/.notdef' and $un ne 14;
}
if (--$unused <= 255)
_______________________________________________________
File Attachments:
-------------------------------------------------------
Date: Sat 03 Sep 2016 07:58:32 AM GMT Name: man,orig.pdf Size: 370kB By:
yecril71pl
Original and fixed PDF
<http://savannah.gnu.org/bugs/download.php?file_id=38421>
-------------------------------------------------------
Date: Sat 03 Sep 2016 07:58:32 AM GMT Name: man.pdf Size: 370kB By:
yecril71pl
Original and fixed PDF
<http://savannah.gnu.org/bugs/download.php?file_id=38422>
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?48986>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [bug #48986] gropdf remaps characters to position 13,
Christopher Yeleighton <=