[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug #40793] "groff -mandoc -Thtml ..." produces huge fonts
From: |
Bjarni Ingi Gislason |
Subject: |
[bug #40793] "groff -mandoc -Thtml ..." produces huge fonts |
Date: |
Sun, 25 Nov 2018 14:25:59 -0500 (EST) |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/60.0 |
Follow-up Comment #2, bug #40793 (project groff):
1) There is a bug in the man page "gcc(1)". The definition of the
string "C*" uses "\s0" instead of an absolute change (here "\s+2").
2) The bug in "grohtml" (post-grohtml) is seen in this simple example
(in gcc(1) it is "\*(C+ \s-1ABI\s+1")
.pl 10v
Begin \s-2UPPER\s+2 \s-1lower\s+1 normal
Output from "test-groff -Thtml <file>" :
...
<hr>
<p>Begin <small>UPPER</small> lower <big>normal</big></p>
<hr>
Output from "test-nroff -Thtml -Z <file>":
...
f1
s10
V80
H0
md
tBegin
ws8
h24
tUPPER
ws9
h24
tlower
ws10
h24
tnormal
n40 0
x trailer
V400
x stop
1) Font size changes around a space (' ', '\ ', '\0', and "\h'2n'")
are summed to one size change.
2) The postprocessor must know (check) the normal (default) font size
to avoid adding "<big>" or "<small>"
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?40793>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
- [bug #40793] "groff -mandoc -Thtml ..." produces huge fonts,
Bjarni Ingi Gislason <=