mirror of
https://bjh21.me.uk/bedstead/.git
synced 2026-07-09 21:43:06 -04:00
Correct PANOSE Letterform value and extend to implausible weights
This commit is contained in:
parent
11d38bb34e
commit
9c346371c7
10
bedstead.c
10
bedstead.c
@ -3042,10 +3042,14 @@ dopanose(void)
|
||||
/*
|
||||
* We declare that our O is not Off Center.
|
||||
*
|
||||
* OutCurv similarly seems to be independent of XPIX, and for
|
||||
* all reasonable weights it falls within the "Boxed" range.
|
||||
* Like Speed, OutCurv seems to be independent of XPIX.
|
||||
*/
|
||||
panose[7] = 5; /* Normal/Boxed */
|
||||
if (weight->weight <= -80)
|
||||
panose[7] = 3; /* Normal/Weighted */
|
||||
else if (weight->weight <= 90)
|
||||
panose[7] = 4; /* Normal/Boxed */
|
||||
else
|
||||
panose[7] = 5; /* Normal/Flattened */
|
||||
/*
|
||||
* TrimRat is independent of XPIX.
|
||||
* TrimRat = ((100-2*XQTR_S) + weight->weight) / (100 + weight->weight)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user