[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug #62044] [mandoc] combined with 'pdf' device can throw off line adju
From: |
G. Branden Robinson |
Subject: |
[bug #62044] [mandoc] combined with 'pdf' device can throw off line adjustment |
Date: |
Sun, 13 Feb 2022 01:42:24 -0500 (EST) |
URL:
<https://savannah.gnu.org/bugs/?62044>
Summary: [mandoc] combined with 'pdf' device can throw off
line adjustment
Project: GNU troff
Submitted by: gbranden
Submitted on: Sun 13 Feb 2022 06:42:23 AM UTC
Category: Macro - others/general
Severity: 3 - Normal
Item Group: Rendering/Cosmetics
Status: None
Privacy: Public
Assigned to: None
Open/Closed: Open
Discussion Lock: Any
Planned Release: None
_______________________________________________________
Details:
This is a somewhat subtle issue.
Line adjustment of output text gets changed for the same input document IF I
use the 'pdf' output device ('ps' doesn't exhibit it) and only IF I use the
'mandoc' man page wrapper. That latter factor makes it harder for me to blame
the new PDF bookmarking feature or any of the stuff in an-ext.tmac.
Furthermore, this is reproducible when rendering only a single page.
The results are evident in the Authors section of our groff_man(7) page.
I wanted to blame this on mandoc.tmac somehow managing to switch the line
adjustment "parity" (see bug #57836), but the fact that a break occurs in a
different place suggests to me that it's not as simple as that.
Screenshots attached.
Here are input commands and a diff of the troff device-independent output. It
looks lengthy but it affects only a small part of the document--just that
"Authors" section, in fact.
$ alias tg
alias tg='./build/test-groff -b -ww'
$ tg -Z -t -ww -b -Tpdf -man ./build/tmac/groff_man.7 >| angle2.man.grout
$ tg -Z -t -ww -b -Tpdf -mandoc ./build/tmac/groff_man.7 >|
angle2.mandoc.grout
$ diff -u angle2.man*grout
--- angle2.man.grout 2022-02-13 17:33:35.652212655 +1100
+++ angle2.mandoc.grout 2022-02-13 17:33:44.420233214 +1100
@@ -15460,33 +15460,33 @@
V686400
H108000
tM.
-wh4695
+wh4174
tDouglas
-wh4695
+wh4174
tMcIlro
-H189780
+H188738
ty
wx font 11 S
f11
-h4695
+h4174
Cla
f5
h3290
tm.douglas.mcilro
-H272665
+H271102
ty@dartmouth.edu
f11
Cra
-wf5
-h7985
+wwf5
+h11636
tdesigned,
-wh4695
+wh4173
timplemented,
-wh4695
+wh4173
tand
-wh4695
+wh4173
tdocumented
-wh4695
+wh4173
tthe
n12000 0
V698400
@@ -15678,62 +15678,62 @@
tre
H115620
tgisters.
-wh5222
+wh5051
tW
-H158092
+H157921
terner
-wh2722
+wh2551
tLember
-H212274
+H211932
tg
wx font 11 S
f11
-h2722
+h2552
Cla
f5
h3290
twl@gnu.or
-H268146
+H267634
tg
f11
Cra
-wf5
-h6012
+wwf5
+h8394
tsupplied
-wh2722
+wh2552
tthe
wx font 36 TB
f36
-h2722
+h2552
tS
wf5
-h2722
+h2552
tand
wf36
-h2722
+h2552
tcR
wf5
-h2722
+h2552
tre
-H378158
+H379178
tgisters,
-wh2722
+wh2552
tand
-wh2722
+wh2552
te
-H430942
+H431622
txposed
-wh2722
+wh2552
tthe
wf36
-h2722
+h2552
tLL
wf5
-h2722
+h2552
tre
-H500618
+H500788
tgister
-wh2722
+wh2552
t(in
Chy
h3330
@@ -15741,57 +15741,57 @@
V96000
H108000
tternal
-wh3330
+wh3122
tto
-wh3330
+wh3122
tSe
-H154960
+H154544
tv
-H159810
+H159394
tenth
-wh3330
+wh3122
tEdition
-wh3330
+wh3122
tUnix
wf38
-h3710
+h3501
tman
f5
h240
t)
-wh3329
+wh3121
tto
-wh3329
+wh3121
tthe
-wh3329
+wh3121
tuser
-wh3329
+wh3121
tinterf
-H329176
+H327303
tace.
-wh5829
+wh5621
tLarry
-wh3329
+wh3121
tK
-H383234
+H380945
tollar
wf11
-h3329
+h3121
Cla
f5
h3290
tk
-H413083
+H410586
tollar@alltel.net
f11
Cra
-wf5
-h6619
+wwf5
+h9532
tadded
-wh3329
+wh3121
tthe
wf36
-h3329
+h3121
tFT
f5
t,
@@ -15864,42 +15864,42 @@
V120000
H108000
tenth
-wh3025
+wh2792
tEdition
-wh3025
+wh2792
tUnix
wf38
-h3404
+h3172
tman
f5
h240
t)
-wh3024
+wh2792
tto
-wh3024
+wh2792
tthe
-wh3024
+wh2792
tuser
-wh3024
+wh2792
tinterf
-H275230
+H273604
tace.
-wh5524
+wh5291
tG.
-wh3024
+wh2791
tBranden
-wh3024
+wh2791
tRobinson
wf11
-h3024
+h2791
Cla
f5
h3290
tg.branden.robinson@gmail.com
f11
Cra
-wf5
-h6314
+wwf5
+h8872
tim
Chy
h3330
@@ -15995,7 +15995,7 @@
f5
h3290
t,
-wh2500
+wwh5000
tand
wh2500
tRobinson.
@@ -16048,39 +16048,39 @@
f5
h3290
t.
-wh5930
+wwh8904
tIt
-wh3430
+wh3202
tw
-H178690
+H181436
tas
-wh3430
+wh3202
tcorrected
-wh3430
+wh3202
tand
-wh3431
+wh3202
tupdated
-wh3431
+wh3202
tby
-wh3431
+wh3202
tLember
-H328393
+H329996
tg
-wh3431
+wh3202
tand
-wh3431
+wh3202
tRobinson.
-wh5931
+wh5702
tThe
-wh3431
+wh3202
te
-H424737
+H425424
txtension
-wh3431
+wh3202
tmacros
-wh3431
+wh3202
twere
-wh3431
+wh3202
tdocu
Chy
h3330
_______________________________________________________
File Attachments:
-------------------------------------------------------
Date: Sun 13 Feb 2022 06:42:23 AM UTC Name: groff_man_7_authors.man.good.png
Size: 154KiB By: gbranden
<http://savannah.gnu.org/bugs/download.php?file_id=52848>
-------------------------------------------------------
Date: Sun 13 Feb 2022 06:42:23 AM UTC Name:
groff_man_7_authors.mandoc.bad.png Size: 153KiB By: gbranden
<http://savannah.gnu.org/bugs/download.php?file_id=52849>
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?62044>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
- [bug #62044] [mandoc] combined with 'pdf' device can throw off line adjustment,
G. Branden Robinson <=