-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
32-bit glyph IDs #8
Comments
Yes, this was my intention.
That's a non-issue to me since everyone has to support unaligned anyway.
Right. But will definitely be a tiny bit of the font size, so I'm happy to "waste" that. Compression takes care of it for any download situations as always. |
For forward-compatibility, see googlefonts/colr-gradients-spec#8
We care about the size at rest (e.g. in a system image) as well as the transfer size. I suggest we use |
I agree with Rod, it feels odd to have 32-bit GlyphIDs only in COLRv1. We can always change it later and bump COLR table version. |
I propose to close this issue and pickup 32 bit gids and offsets as a standalone project, likely a W3C WG spawned from the shiny new CG. I imagine the end result of that is COLR gains the ability to support 16 or 32 bit gids, compiler can choose as appropriate for the specific font. @behdad would that work for you? |
Definitely works for me, yes. Just be more code and spec to maintain. Go ahead and close though. |
Reopening and filing under the "COLRv2" milestone Also, I note that making GIDs 32-bit compatible before |
Relevant crosslink: MPEGGroup/OpenFontFormat#10 |
I would like to treat 32 bit gids as a standalone thing - ideally forming a group for it, filed w3c/font-text-cg#8 - rather than scattering issues like this all over the place. Accordingly, I propose to close this (again). |
It's unclear what the thinking was behind using 32-bit glyph IDs in the base glyph and layer records. (Note that v0 structures use uint16.)
Note that this adds at least 6 bytes of padding to every colour glyph. For an emoji font, that will be an additional 12K to 20K (or more?) of padding.
(I'm not opposed, just want to understand the thinking behind proposing it, and to make sure the size implications are understood.)
The text was updated successfully, but these errors were encountered: