-
-
Notifications
You must be signed in to change notification settings - Fork 9
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
Slice does not seem to activate axis-based (rvrn) substitutions #109
Comments
The
Here is the font: CorpSemiMono-Regular.ttf.zip Also exported an OTF from FontLab with the same settings: So Slice appears to work if you specifically set the axes. |
Hey! You know exactly what issue I'm trying to solve! Thank you for being so helpful regarding this issue (across two different sites nonetheless!) :) Windows' font viewer seems to result in a different output than what the typeface actually displays in certian applications, specifically Affinity Designer which was a bonus struggle when trying to nail down what the actual issue was? Perhaps something that Affinity Designer is doing here is unstandard and this could be a bug on their end (I will go ahead and close this if you think that's the case), but after testing in Inkscape and Figma (both of which support variable fonts) your output is identical to Recursive with similar settings. In Designer the FigmaAffinity DesignerWeird eh? |
Interesting... I can see the issue. The The Since the font from FontLab does work in APub as expected... |
@chrissimpkins |
Briefly looking at the code it seems Slice actually calls FontTools for creating the instance... Perhaps I've opened this issue in the wrong repo? I can confirm that FontTools' EDIT: Have opened a discussion question in the FontTools repo discussions: fonttools/fonttools#3057 |
Hmmm... I wonder if there is a function in fonttools which could affect how that is done (if Yes, that should be an option in Slice). And how is it being done when the Recursive statics are built? |
As my final(?) update to this issue, this is not a feature currently built into fontTools and as such, is not built into Slice. In order to solve it (thanks to the helpful suggestion from Jens Kutilek in that GH Discussions thread) I used OpenType Feature Freezer to freeze the I will leave this issue open to track the status of it being added to fontTools? If a corresponding issue is made over there I'll link it here. :) EDIT: Here's the fontTools issue: fonttools/fonttools#3128 |
@behdad should this be added to fontTools? |
Yes, this sounds like something the fonttools instancer should do. I'll follow up in fonttools/fonttools#3057 |
I'm trying to create a single cut of the excellent Recursive with its mono axis set to
0.51
. At this value a bunch of characters are substituted for their monospaced slab-serif alternates (check out r which is substituted for r.mono). Unfortunately when I set up slice with a mono value of0.51
it does not perform this substitution, and because the typeface is output as a single axis I cannot select this substitution in most (any?) software as it's a contextual alternate and won't appear in a stylistic set or ligatures option.It would be helpful to have the option to bake those types of character substitutions specifically into the sliced font file? Somewhat niche use case, I know!
Otherwise this tool works quite well and is very helpful! Thank you for making it :)
The text was updated successfully, but these errors were encountered: