Is your feature request related to a problem? Please describe.
The Recursive variable font (Recursive_VF_1.085.ttf) on Windows doesn't allow simultaneous use of both font-variation-settings and font-feature-settings. While font-feature-settings works fine in Chromium-based applications (Chrome, VSCode), accessing variations requires selecting a specific named instance (e.g., "Recursive Mono Casual") instead of just "Recursive". This selection locks out the ability to change variation properties.
Describe the solution you'd like
I'd like a variant of Recursive_VF_1.085.ttf without the named instances, allowing users to edit both font variation and font feature settings simultaneously. This would provide more flexibility in customizing the font's appearance while retaining access to OpenType features.
Describe what you've tried so far
I attempted to create a modified version of the font using FontTools to remove the named instances. However, this naive approach resulted in a broken font:
from fontTools.ttLib import TTFont
font = TTFont("Recursive_VF_1.085.ttf")
fvar = font["fvar"]
fvar.instances = []
font.save("Recursive_VF_1.085_modified.ttf")
Additional context
I'm not sure if my proposed fix actually will allow me access the axes via css but I believe it will. The CSS I'm trying to get working is this.
either I have to set the font-family to "Recursive Mono Casual" and the font-features work, or I set it to "Recursive" and import from google fonts and the variations work.
Is your feature request related to a problem? Please describe. The Recursive variable font (Recursive_VF_1.085.ttf) on Windows doesn't allow simultaneous use of both
font-variation-settings
andfont-feature-settings
. Whilefont-feature-settings
works fine in Chromium-based applications (Chrome, VSCode), accessing variations requires selecting a specific named instance (e.g., "Recursive Mono Casual") instead of just "Recursive". This selection locks out the ability to change variation properties.Describe the solution you'd like I'd like a variant of Recursive_VF_1.085.ttf without the named instances, allowing users to edit both font variation and font feature settings simultaneously. This would provide more flexibility in customizing the font's appearance while retaining access to OpenType features.
Describe what you've tried so far I attempted to create a modified version of the font using FontTools to remove the named instances. However, this naive approach resulted in a broken font:
Additional context I'm not sure if my proposed fix actually will allow me access the axes via css but I believe it will. The CSS I'm trying to get working is this.
either I have to set the font-family to "Recursive Mono Casual" and the font-features work, or I set it to "Recursive" and import from google fonts and the variations work.