bug-groff
[Top][All Lists]
Advanced

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

[bug #54759] slide-demo.mom: Wrong kerning for "(°C"


From: Deri James
Subject: [bug #54759] slide-demo.mom: Wrong kerning for "(°C"
Date: Tue, 4 Dec 2018 19:09:12 -0500 (EST)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/60.0

Follow-up Comment #9, bug #54759 (project groff):

Hmm, the font you mention (n0190031.pfb) is one of the URW fonts, which are
intended to be used in the "U" foundry. There are differences in the width and
height metrics for the "ring above" (degree) glyph, between the fonts HR and
U-HR. Since your version of okular is choosing the URW Helvetica font
(n0190031.pfb) if you change the table to use .FAMILY U-H you will find that
the degree symbol prints normally.

The next question is why is okular using this particular fonts since this
particular glyph is not matching the Adobe standard metrics which the default
HR font is built to use. Okular (and evince) use the poppler library which in
turn uses fontconfig. On my system if I type:-

fc-match Helvetica

I get:-

LiberationSans-Regular.ttf: "Liberation Sans" "Regular"

and this is what Okular shows in its font list.

Please check what you get. This font works correctly on my system because it
uses the standard metrics, even though the glyph shapes are different, the
overal widths of the glyph with their spacing are the same. If you try
changing the .FAMILY before the table and remove the extra spacing around the
\[de] it should look Ok, because the metrics in the groff font will match the
metrics in the font okular is using.

However, I entirely agree with you that in this particular case having no
degree sign is perfectly acceptable given the purpose of the document,
however, I decided to investigate, since at some point it may matter.


    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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