bug-groff
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug #57506] Suspicious "slant" values in devps/TI, devlbp/HI, devlbp/HB


From: Deri James
Subject: [bug #57506] Suspicious "slant" values in devps/TI, devlbp/HI, devlbp/HBI
Date: Fri, 30 Jun 2023 17:48:46 -0400 (EDT)

Follow-up Comment #11, bug #57506 (project groff):

Your utf8 example has the diacritical mark above the n. If I run it as a pdf
using Tinos fonts the mark is above the a!

[derij@pip build (new-gropdf)]$ echo '\fIThis is Spin\[u0308]al Tap' |
./test-groff -Tpdf -fTINO -ms -P-e -Z 
x T pdf
x res 72000 1 1
x init
p1
x font 41 TINOI
f41
s10000
V84000
H72000
md
DFd
tThis
wh2500
tis
wh2500
tSpin   <- current xpos after the n 
Cu0308  <- special char - no move
tal     <- overprint a
wh2500
tT
H133570
tap
n12000 0
V768000
H540000
n12000 0
x trailer
V792000
x stop

Contrast with:-

[derij@pip build (new-gropdf)]$ echo '\fIThis is Spin\[u0308]al Tap' |
./test-groff -Tutf8 -fTINO -ms -P-e -Z
x T utf8
x res 240 24 40
x init
p1
x font 2 I
f2
s10
V280
H0
md
DFd
tThis
wh24
tis
wh24
tSpin
Cu0308
h24
tal
wh24
tTap
n40 0
V2560
H1560
n40 0
x trailer
V2640
x stop

I have never looked at grotty so I don't know what is going on.

The "slant" value in the TI font comes from the ItalicAngle parameter in the
corresponding .afm file, it documents the angle of lean which was used when
the font was designed, changing it will have no effect. You can adjust the
italic adjustment which groff uses by fiddling with the numbers in the TI font
(see groff_font(7) for the details).


(file #54903)

    _______________________________________________________

Additional Item Attachment:

File name: SpinalTap.pdf                  Size:9 KB
    <https://file.savannah.gnu.org/file/SpinalTap.pdf?file_id=54903>



    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?57506>

_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]