[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug #58581] [PATCH] doc/groff.texi, man/groff_font.5.man: spacewidth va
From: |
Bjarni Ingi Gislason |
Subject: |
[bug #58581] [PATCH] doc/groff.texi, man/groff_font.5.man: spacewidth value is missing units |
Date: |
Thu, 26 Nov 2020 18:19:27 -0500 (EST) |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0 |
Follow-up Comment #4, bug #58581 (project groff):
Yes, the unit can't be absolute scaled points.
Actually the "spacewidth" can't have any absolute unit,
as it must apply to any point size of a font;
that is, a 10 point font must have a smaller space width than a 50
point font.
I read the definition of "unitwidth", so then I understood, that the
numbers in the font files are _relative_(!) to the "unitwidth" value.
So the actual size of a space is "spacewidth / unitwidth" part of the
point size of the font.
In the case of ps- and pdf-fonts it is 250/1000, 1/4 part of the point
size of the font, or (1/4)m, as you already have found out.
Or
The text about "sizescale" says:
"The arguments to the unitwidth and sizes commands are given in scaled
points."
So, if "unitwidth" has an unit (s), then "spacewidth" has the same
unit, as the quotient of them must be dimensionless.
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?58581>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/