What would it look like if you designed a font source format with the following goals:
- Suitable for large font projects with multiple scripts moving at different speeds and with different scopes
- Trying hard to avoid Git merge conflicts by reducing their surface area
- Easier diffing for human eyes by structuring data in tables where it makes sense
- Avoiding data duplication where reasonably possible
A format aimed at font gardeners, or engineers, rather than font designers and design applications.
- Organize sources into disjoint sets, e.g. a Common, Latin, Cyrillic and Arabic set with a disjoint glyph set.
- Each set can contain arbitrary sources, e.g. Regular, Bold, Condensed Regular, containing the designed part of the design space
- Each source is roughly akin to a standalone UFO and will contain a default layer and any number of arbitrary other layers, just like a standalone UFO
- A layer in a source can have composites referencing glyphs from the same source or from the identically named source in a different set, e.g. the Cyrillic set regular "A-cy" can reference the Latin set regular "A". Glyphs in non-default layers can reference glyphs from the same non-default layer or from the default layer of the same source in any other set.
- Sets contain global glyph data like Unicode values, Postscript names, Unicode variation sequences, OpenType GDEF category, whether to export the glyph, etc. sources and layers can contain local data that may override some data higher up the chain.
- An integrated designspace file describes the design space like the Designspace v5 format does with continuous and discrete axes and instances.
- An external fontproject.toml file describes the products to be produced from the font set, which fonts to be assembled from which sets, which variable fonts are going to contain which axis subset, etc.
- An external tool has to "complete" the design space as appropriate for e.g. variable font compilation, e.g. if only a single .notdef glyph is present but you have 10 axes, the glyph may need to be copied into all places unless the tool produces deltas directly. E.g. a script that does not have italics, like Arabic, may require the compiler to copy the uprights into all Italic slots, taking into consideration that the Light uprights need to be copied to the Light italics and the Bold uprights to the Bold italics.
- Sources for design applications are generated by exporting sets to e.g. UFO or Glyphs.app formats. They are later imported into sets again.