-
Notifications
You must be signed in to change notification settings - Fork 11
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
Font Collection support #28
Comments
I think this is probably out of scope for incxfer given that @font-face doesn't support ttc's, but I suppose we way want to support it for non-browser based use cases. For patch subset we could take two different approaches to support this use case:
That said for patch subset, current subsetter implementations don't support subsetting entire ttc's at once. They can handle ttc's but only operate on and ouput a single font within the ttc. I also suspect that table sharing would become difficult and quite complicated once you have multiple different subsets cut on the individual fonts in the ttc. So given the high complexity in supporting this case combined with the fact that the primary use case for incxfer does not support ttc's I lean towards not supporting it. |
The CSS Fonts spec explicitly mentions a (I'm not sure if any browser currently implements this, but it's certainly included in the spec.) |
We definitely need to make sure that the request format allows clients to identify any relevant info needed to support incremental transfer of font collection files. As far as server implementation is concerned though, I think the level of font collection support will depend entirely on a particular font subsetter capabilities - the process of patch creation won't be in any way dependent on whether subsetter can/cannot process font collection files. |
It is explicitly included in the spec in hope that near-term, browsers will implement it. I remember we made sure that WOFF2 could handle collections, for example, because not handling them would mean browsers would be blocked from supporting collections in the future. |
|
Related, we should make sure the collections bug in the woff2 test suite doesn't also affect the IFT collection tests |
|
While some font collections exist merely for packaging convenience—a single font resource instead of several—some exist for a non-trivial size benefit, such as sharing a single 'glyf', 'CFF ', or 'CFF2' table with multiple fonts.
We should make sure that there are considerations for font collections with incremental transfer.
The text was updated successfully, but these errors were encountered: