bugGNU troff - Bugs: bug #48986, gropdf remaps characters to...

 
 

bug #48986: gropdf remaps characters to position 13

Submitted by:  Christopher Yeleighton <yecril71pl>
Submitted on:  Sat 03 Sep 2016 07:58:32 AM UTC  
 
Category: NoneSeverity: 3 - Normal
Item Group: Incorrect behaviourStatus: Fixed
Privacy: PublicAssigned to: Deri James <deri>
Open/Closed: ClosedPlanned Release: 1.22.4

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Tue 01 Nov 2016 10:59:06 PM UTC, comment #1:

I have accepted your patch, thank you. It will shortly be included in the repository.

Deri James <deri>
Project MemberIn charge of this item.
Sat 03 Sep 2016 07:58:32 AM UTC, original submission:

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)

Christopher Yeleighton <yecril71pl>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

Attached Files
file #38421:  man,orig.pdf added by yecril71pl (370KiB - application/pdf - Original and fixed PDF)
file #38422:  man.pdf added by yecril71pl (370KiB - application/pdf - Original and fixed PDF)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by wl (Updated the item)
  • -unavailable- added by deri (Posted a comment)
  • -unavailable- added by yecril71pl (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 6 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sat 19 Nov 2016 06:40:51 AM UTCwlPlanned ReleaseNone=>1.22.4
    Sat 19 Nov 2016 06:33:45 AM UTCwlStatusNone=>Fixed
      Assigned toNone=>deri
    Tue 01 Nov 2016 10:59:06 PM UTCderiOpen/ClosedOpen=>Closed
    Sat 03 Sep 2016 07:58:32 AM UTCyecril71plAttached File-=>Added man,orig.pdf, #38421
      Attached File-=>Added man.pdf, #38422

    Back to the top


    Powered by Savane 3.1-cleanup1