bugGNU roff - Bugs: bug #62996, [mom] type size weirdness in...

 
 

bug #62996: [mom] type size weirdness in mom-pdf.pdf

Submitter:  G. Branden Robinson <gbranden>
Submitted:  Thu 01 Sep 2022 05:58:10 AM UTC
   
 
Category:  Macro mom Severity:  2 - Minor
Item Group:  Rendering/Cosmetics Status:  Fixed
Privacy:  Public Assigned to:  PTPi
Open/Closed:  Closed Planned Release:  1.23.0
* Mandatory Fields

Add a New Comment Rich Markup
   

Fri 02 Sep 2022 11:28:12 PM UTC, comment #5: 

For anyone interested, that makes the 352nd bug fixed since groff 1.22.4 was released.

https://savannah.gnu.org/bugs/index.php?go_report=Apply&group=groff&func=browse&set=custom&msort=0&report_id=223&advsrch=0&bug_id=&details=&summary=&submitted_by=0&resolution_id=1&assigned_to=0&vote=&privacy=0&bug_group_id=0&status_id=3&severity=0&category_id=0&plan_release_id=103&discussion_lock=0&sumORdet=0

G. Branden Robinson <gbranden>
Group administrator
Fri 02 Sep 2022 11:23:18 PM UTC, comment #4: 

Thanks, Peter!  I wish I could fix bugs as fast as you do.  :D


commit 192048f145c405bb447c1026460e429947f01fcc
Author: Peter Schaffter <peter@schaffter.ca>
Date:   Fri Sep 2 19:00:40 2022 -0400

    [mom]: Fixes missing parameter to \*[SIZE] at line 457.

commit 647db0a45ac302b97fa39b503384fc80cd6772d4
Author: Peter Schaffter <peter@schaffter.ca>
Date:   Fri Sep 2 18:51:58 2022 -0400

    [mom]: Fixes CODE <anything> not restoring point size correctly

    * The point size was being stored in a number register instead of a
      string.

    * Also updates BUGS


G. Branden Robinson <gbranden>
Group administrator
Fri 02 Sep 2022 11:17:56 PM UTC, comment #3: 


> At the bottom of page four the type size seems to get mysteriously smaller for no reason obvious to me.


Two bugs: in the CODE macro, the accidental use of a register that should have been a string; in mom-pdf.mom, a missing parameter to the \*[SIZE] inline macro.  Both fixed.

Peter Schaffter <PTPi>
Group Member
Fri 02 Sep 2022 01:54:59 PM UTC, comment #2: 

This may help (using 1.22.4 which also has the problem). It is the -Z output with just the text (t) and size (s) commands:-


s10500
tIf tgr toff ts tP tostScr tipt tde tvice t( tTps t) tis tused ... tthe tT tOC tis
s10440
t.AUTO_RELOCATE_TOC
t[<position>]
s10500
twhere
tthe
toptional
s10505
t<position>  <---
s10000
tcan tbe tone tof tthese tk te tyw tords:
s9300
tT tOP t*
s9500
t(ie t. tat tthe tv ter ty tstar tt tof tthe tdocument)
s9300
tBEFORE_DOCCO tVER tAFTER_DOCCO tVER tBEFORE_CO tVER tAFTER_CO tVER
s10000
s9500
t* tNote: tDocuments twithout ta tCO tVER tor tDOC_CO tVER trequire tthe
s9504
tTOP      <---
s9000
targument.
s10500
t- t4 t-
s10500
s10000
tJ tames t, tSchaffter
s8500
tPR tODUCING tPDFS tWITH tGR tOFF tAND tMOM
s9500
tIt tis tnor tmally tnot tnecessar ty


The paragraphs start with a 10.5pt size but the next paragraph of normal text is 1pt smaller. In the mom file there are two instances where the size loses half a point, between a pair of \*[cod]:\[codx] commands (shown with <-- above), but it is not as simple because other uses of this pair do not lose half a point.


Deri James <deri>
Group Member
Fri 02 Sep 2022 07:47:45 AM UTC, comment #1: 

Deri seems to follow the bug tracker, but Peter has told me he doesn't, so adding him to the cc.

Dave <barx>
Group Member
Thu 01 Sep 2022 05:58:10 AM UTC, original submission:  

At the bottom of page four the type size seems to get mysteriously smaller for no reason obvious to me.

Attaching screenshot (make with Okular).

Can Deri or Peter have a look at this?

G. Branden Robinson <gbranden>
Group administrator

 

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

Attach Files:
   
   
Comment:
   

Attached Files
file #53646:  mom-pdf-weird.png added by gbranden (158KiB - image/png)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by PTPi (Posted a comment)
  • -email is unavailable- added by deri (Posted a comment)
  • -email is unavailable- added by barx (Posted a comment)
  • -email is unavailable- added by barx (pinged by submitter)
  • -email is unavailable- added by gbranden (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 8 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2022-10-05 gbranden Summary[gropdf] mom-pdf: type size weirdness in text [mom] type size weirdness in mom-pdf.pdf
    2022-10-05 gbranden CategoryDriver gropdf Macro mom
    2022-09-02 gbranden Assigned toNone PTPi
        Open/ClosedOpen Closed
        Planned ReleaseNone 1.23.0
    2022-09-02 PTPi StatusNone Fixed
    2022-09-02 barx Carbon-Copy- Added ptpi
    2022-09-01 gbranden Attached File- Added mom-pdf-weird.png, #53646

    Back to the top

    Powered by Savane 3.13-02a9.
    Corresponding source code