mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-11-01 13:47:21 -06:00
- A composite (Type 0) font is noted by its descendant CIDFont's BaseFont (ISO 32000-1 9.7.4.1), not its own BaseFont, which ends in "-" and the CMap name (9.7.6.1, e.g. Name-Identity-H); without one, the CMap name is taken off the end of the BaseFont. - A font name's family is the longest part before a hyphen (or the comma of Arial,Bold) that names an available family, so Noto-Sans-Bold is Noto Sans, Bold and Noto-Sans-CJK-JP is Noto Sans CJK JP; a shorter family still matches when no longer one is available. - A missing font is split only at a comma or before the first part that is a style word (Helvetica-BoldOblique); otherwise the whole name is its family (MS-PGothic is reported as MS PGothic, not MS). Synthetic tests (no host fonts): Families::of builds the family list. # Conflicts: # docs/file-format-parity.md # docs/gaps.md # docs/type-parity.md