djrrb / Bungee

A chromatic signage typeface for vertical and horizontal setting.
https://djr.com/bungee
SIL Open Font License 1.1
336 stars 42 forks source link

COLR fonts require GID 1 = .null #53

Open djrrb opened 8 years ago

djrrb commented 8 years ago

(Posting this on behalf of Dwayne from MS, who very helpfully sent a couple issues my way. @RoelN may be interested.)

COLR fonts require that glyph id 1 is the .null glyph. Currently an Eth (D with slash) is allocated to that position which exhibits some bugginess in certain cases with apps.

https://www.microsoft.com/typography/otspec/colr.htm

unnamed-4

Comparison with Segoe UI Emoji.

unnamed-1 unnamed

RoelN commented 8 years ago

@djrrb Do you have control over which character is mapped to which ID? This can easily be patched in a post processing script, but it's cleaner to do this in the source.

davelab6 commented 8 years ago

Your GIDs seem to be randomly ordered. Where did that order come from?

djrrb commented 8 years ago

I'm not entirely sure why the COLR font's GID order differs from the other styles in the Bungee family or where it comes from exactly. I'm traveling this week but will try to reset it in the source (it means we'll have to re-do the post Robochrome changes). More soon...