chiark / gitweb /
Rework PANOSE generation
authorBen Harris <bjh21@bjh21.me.uk>
Thu, 26 Sep 2024 23:54:20 +0000 (00:54 +0100)
committerBen Harris <bjh21@bjh21.me.uk>
Fri, 27 Sep 2024 09:12:56 +0000 (10:12 +0100)
commit11d38bb34e756a8c8e5eac63df64cec7ccba6333
tree1b8d03a386e1ab7eaee885fcfd83370d495ddd34
parent157eece073b6858ba3dcce3a189e9beed1088482
Rework PANOSE generation

The code predated the introduction of bold variants, so it was
significantly incorrect.  Also it appears that some software uses the
PANOSE classification to distinguish monospaced fonts.  After careful
study of the specification, I think all the variants of Bedstead can
be classified as text fonts, so I've removed the code that described
some variants as decorative.  Then I did some calculations and a lot
of playing around with GeoGebra to work out which parts of the design
space give which values of Stroke Variation, Letterform, and Midline.
bedstead.c