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: Dave
Subject: [bug #57506] Suspicious "slant" values in devps/TI, devlbp/HI, devlbp/HBI
Date: Fri, 30 Jun 2023 20:11:18 -0400 (EDT)

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

[comment #11 comment #11:]
> Your utf8 example has the diacritical mark above the n.

That's the expected result.  From
http://en.wikipedia.org/wiki/Combining_character : "In Unicode, diacritics are
always added after the main character."

> If I run it as a pdf using Tinos fonts the mark is above the a!

Stranger still, if I edit your PDF grout to change the "font" line to one I
have on my system (Linux Libertine), then run the results through gropdf, I
get a PDF with the mark above the n!  (See attached.)  So the fonts themselves
seem to interpret the combining mark differently, since the grout is otherwise
identical.

> 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.

afmtodit has a command-line switch to specify a value for "slant" different
from the .afm file's ItalicAngle.  The passage of afmtodit(1) quoted in
comment #6 claims groff uses this value to adjust diacritic placement, but
I've been unable to prove this.  (But the Libertine result shown in the
attachment here sure could use that adjustment.)

(file #54904)

    _______________________________________________________

Additional Item Attachment:

File name: SpinalTapLibertine.pdf         Size:507 KB
    <https://file.savannah.gnu.org/file/SpinalTapLibertine.pdf?file_id=54904>



    _______________________________________________________

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]