typography.js icon indicating copy to clipboard operation
typography.js copied to clipboard

Add variable font support

Open vpicone opened this issue 5 years ago • 2 comments

This request is to add support for font-variation-settings as an option. It may, however work better as a plugin. If implemented as a plugin, font properties such as weight and optical size could be adjusted based on the rhythm unit.

vpicone avatar Dec 06 '18 21:12 vpicone

Curious about this. Would you normally want to auto change variable font weights? My impression was that they're more a way to bundle more weights in one font in a cheaper (byte weight) way.

KyleAMathews avatar Dec 06 '18 22:12 KyleAMathews

That’s definitely the more common use case. I think I was more trying to justify why it could warrant a plug-in in addition to/opposed to just adding it to the core options.

Either way, I think it’d be a great core option and help a lot with using a variable font with variations as part of a type system.

vpicone avatar Dec 07 '18 02:12 vpicone