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/
_______________________________________________
bug-groff mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/bug-groff