bugGNU roff - Bugs: bug #61908, [gropdf] rotated text from pic(1)...

 
 

bug #61908: [gropdf] rotated text from pic(1) not correct in landscape orientation

Submitter:  Deri James <deri>
Submitted:  Mon 24 Jan 2022 02:12:36 PM UTC
   
 
Category:  Driver gropdf Severity:  2 - Minor
Item Group:  Incorrect behaviour Status:  Fixed
Privacy:  Public Assigned to:  deri
Open/Closed:  Closed Planned Release:  1.23.0
* Mandatory Fields

Add a New Comment Rich Markup
   

Thu 03 Mar 2022 12:48:20 AM UTC, comment #5: 

Ah, okay.  Thanks, Deri.  Here's the correct commit message for posterity.


commit 1307a645ca75217f1f287dffe3f9afb8f505a64d
Author: Deri James <deri@chuzzlewit.myzen.co.uk>
Date:   Mon Jan 24 14:39:55 2022 +0000

    [gropdf]: Fix Savannah #61908

            * src/devices/gropdf/gropdf.pl: Adjust text position when
            given landscape media (i.e -P-l).

            Fixes <https://savannah.gnu.org/bugs/?61908>.

            Problem found and patch supplied by KUBO Koichi.


G. Branden Robinson <gbranden>
Group administrator
Thu 03 Mar 2022 12:33:40 AM UTC, comment #4: 

I meant this one!

1307a645ca75217f1f287dffe3f9afb8f505a64d

Deri James <deri>
Group Member
Thu 03 Mar 2022 12:17:22 AM UTC, comment #3: 

Thanks, Deri.  I had no idea that commit was a fix for this bug.  I was sure that a rotational coordinate transform was necessary.  (I still have the scars from Professor Corliss's aeromechanics class, where they taught us the value of Lagrangians without ever teaching us Lagrangians.)


commit 392f88f843c51c59f6dfe6c3bdc4731cd738ddd7
Author: Deri James <deri@chuzzlewit.myzen.co.uk>
Date:   Wed Jan 26 00:17:47 2022 +0000

    Allow multiline text in .pdfinfo

            * src/devices/gropdf/gropdf.pl: Use either '\\\\\\\\n' or
            '\[u000a]' as line separators in the string.


G. Branden Robinson <gbranden>
Group administrator
Wed 02 Mar 2022 08:33:56 PM UTC, comment #2: 

Fixed in 392f88f843c51c59f6dfe6c3bdc4731cd738ddd7

Deri James <deri>
Group Member
Wed 02 Mar 2022 07:44:52 PM UTC, comment #1: 

Any progress on this, Deri?

G. Branden Robinson <gbranden>
Group administrator
Mon 24 Jan 2022 02:12:36 PM UTC, original submission:  

Hi Deri,

I put string aligned on the non-horizontal lines, it will be displayed
in an unexpected position in the landscape. (see attached file)

groff -Tpdf -dpaper=a6l -P-pa6 -P-l -p -ms a.ms >a.pdf      not ok?
groff -Tps -dpaper=a6l -P-pa6 -P-l -p -ms a.ms >a.pdf       ok
groff -Tpdf -dpaper=a6 -P-pa6 -p -ms a.ms >a.pdf            ok

So I made the patch to correct the coordinates.
Would you please check it when you have time?

Thank you

Koichi

Deri James <deri>
Group Member

 

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

Attach Files:
   
   
Comment:
   

Attached Files
file #52718:  a.ms added by deri (2KiB - text/x-troff-ms)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by gbranden (Posted a comment)
  • -email is unavailable- added by deri (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 6 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2022-03-03 gbranden Open/ClosedOpen Closed
        Planned ReleaseNone 1.23.0
    2022-03-02 deri Severity3 - Normal 2 - Minor
        StatusIn Progress Fixed
    2022-03-02 gbranden SummaryProblem with rotated text from pic. [gropdf] rotated text from pic(1) not correct in landscape orientation
    2022-01-24 deri Attached File- Added a.ms, #52718

    Back to the top

    Powered by Savane 3.12.
    Corresponding source code