-
Notifications
You must be signed in to change notification settings - Fork 43
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
Unicode Variation Selectors #162
Comments
Adding an entry in the UFO lib.plist should be easier to implement, as it does not need changes in FEA specification and parser. |
That sounds like something which should go into the feature file, no strong opinion though. What I'd do is:
I think feaLib's code is relatively easy to work with? cause what Cosimo suggests would only apply to ufo2ft, afaict. |
Doing this in ufo2ft has the benefit of simplicity since it already generates the cmap table, doing this in the feature file compiler will mean splitting the cmap table over two places and the complications of having to parse the existing cmap table the the feature file compiler and figuring what parts to keep and what to override. |
ufo2ft doesn’t create a cmap_format_14 so there is nothing to parse, keep or override. No? |
To be honest, we could actually do both: have a lib key for cmaps and have some FDK syntax for it. We already have kerning in the UFO which we translate to FDK syntax. |
The proposed feature files extension is generic and allows for specifying the whole cmap table or just overriding parts of it and is not limited to UVS. I never liked the kerning duplication and that is a constant source of headache for me, and I think UFO source is a better place for stuff related to cmap table (USV can also be implemented as GSUB substitutions and this is perfectly fine for feature files to handle). |
Even if the feature files syntax was limited to UVS, there will still be need to parse the other subtables to decide between default vs. non-default UVS. |
I see this issue is closed, but I don't know what the answer to the original question is. That is, how do we [today] use VS in a UFO workflow? (Or if we can't do it today, is there any ongoing development effort in this arena?) |
I’m trying to convert and font that uses several Unicode Variation Selectors to UFO, but there is no support for them in either UFO or feature files. There is a proposal to support them in feature files but does not seem to be implemented.
Has any one managed to use VS with UFO work flow? Would it be better to add support for them in UFO (may be in lib somewhere?) and let ufo2ft compile it when building cmap or wait for the extended feature files syntax (this would mean feaLib would need to do the cmap table generation itself)?
The text was updated successfully, but these errors were encountered: