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: Bjarni Ingi Gislason
Subject: [bug #54759] slide-demo.mom: Wrong kerning for "(°C"
Date: Mon, 3 Dec 2018 18:08:25 -0500 (EST)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/60.0

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

  The degree sign is NOT the culprit, but the used font by the your
pdf-viewer.  You did not mention the name of those.

  Adding a note about the inability of a named pdf-viewer (or font)
(with version) to place the degree sign properly is then appropriate to
put above the table on the slide.

  I changed the following in the file "slide-demo.mom" (besides
"(\[de]C)" to "/\[de]C"):

--- slide-demo.mom.bak.30-11-2018.2960  2018-11-29 23:57:50.000000000 +0000
+++ slide-demo.mom      2018-11-30 21:25:45.000000000 +0000
@@ -285,10 +285,14 @@ typesetting macros, including preprocess
 .TS H BOXED
 tab(^) allbox;
 c c
-n n.
+a a.
 \*[darkred]\s[-.5]\*[DOWN .5p]Year^Mean Temp./\[de]C\s[0]\*[blue2]
 _
 .TH
+|\[de]|^/\[de]C /\[de]F
+(\[de])^(\[de]C) (\[de]F)
+(C)^(F)
+\s[-0.5]Year^Mean Temp./\s-2\[de]\s+2C\s[+0.5]
 \*[cyan4]\fB2015^28.3\*[blue2]
 \*[cyan4]1998^28.3\*[blue2]
 \*[cyan4]1997^28.3\*[blue2]


  So changing "(\[de]C)" to "/\[de]C" showed no (obvious) defects,
adding testing with the following packages with a pdf-viewer:

evince

okular

viewpdf.app

  and

Adobe Acrobat Reader DC version 2019,008,20081 on another computer.

  To see how the degree sign is placed within its boundaries one can
change the file "fonts_n.roff" by adding '|' on each side of a
character, line nr. 128:

\N'\En[c#]'""" \

  My fonts show a central position of the degree sign, except for some
italic fonts, which can be regarded as acceptable.

  With "xpdf" version 3.03 (August 2011?) on another computer, I see
the same displacement of the degree sign as in the example file
"not-adjusted.png".

  So you are (were) using an old, deprecated font.



    _______________________________________________________

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]