chiark / gitweb /
Add a "Unique font identifier" string (name ID 3)
authorBen Harris <bjh21@bjh21.me.uk>
Thu, 27 Feb 2025 09:49:38 +0000 (09:49 +0000)
committerBen Harris <bjh21@bjh21.me.uk>
Thu, 27 Feb 2025 09:49:38 +0000 (09:49 +0000)
commit1ebb828fbc01350dad2fd1127f946acd241aec46
treed453efc146aa845ec27f4da863636bd277e84bbb
parent392971588a133f78c5630dedf43a22e4d56aff2c
Add a "Unique font identifier" string (name ID 3)

This seems to be necessary for the font viewer in MS Windows 11 to
consider the font to be valid.  The semantics of this field are not
documented in the OpenType spec, but the Apple TrueType spec does at
least give an example.  I've roughly followed Apple's example, putting
together the full name, version number, and build date that we already
have to hand and include in the font.  Between them those should
uniquely identify reasonable builds of Bedstead fonts without adding
extra complexity or non-reproducibility.
bedstead.c