Include proportional spacing information
See original GitHub issueHi…I really appreciate all your work on this project and am excited to be able to generate COLR v1 fonts with it!
I see that there was talk about a proportional space flag in issue #230, but that issue was closed and I didn’t find any ongoing discussion. I hope it is okay that I create this issue to revive that discussion, as I would very much appreciate and use a feature like this when generating non-Emoji COLR v1 fonts.
I could imagine it using the width of each SVG’s viewbox as the glyph’s width in the hmtx
table, and avoid modifying the left offset so that the glyph positioned is retained from the SVG. I understand nanoemoji is a tool for making emoji fonts, so feel free to close this issue if you feel this is out of scope.
In case you are interested in how I am using nanoemoji, here is a font I released this week (with a custom written hmtx
table for the proportional spacing):
https://tools.djr.com/misc/bradley-initials/
Thank you for your time, and thanks again for the opportunity to play with this exciting format!
Issue Analytics
- State:
- Created 2 years ago
- Comments:11 (1 by maintainers)
Top GitHub Comments
Yes. Please leave a comment on that thread to show there is more interest in using palettes directly. Fontmake setup will create color palettes on the fly from the colors used, but it will not try to use existing palette indices even if the colors match (this was deliberate to avoid using unrelated colors if multiple palettes are set).
I have an earlier setup (see the make file for pointers) using picosvg, nanoemoji and separate SVG files. It works, but it felt a bit hacky and I figured out I didn’t need much beyond what Glyphs Color Layers provide.
It supports mixing them in the font (since COLRv1 can have COLRv0-style layers) and will always create a COLRv1 table in this case, but not in the same glyph.
It’s great that Glyphs has support for colour layers and gradients. COLRv1 also has other significant capabilities:
The variability isn’t available in a bag o’ SVGs, but the others are. Hopefully we’ll see ask of these supported in Glyphs and other apps.