It is currently September 8th, 2024, 2:59 am

Variable font support

Report bugs with the Rainmeter application and suggest features.
User avatar
JelleDekkers
Posts: 139
Joined: September 27th, 2017, 6:32 pm
Location: Netherlands

Variable font support

Post by JelleDekkers »

Could we get support for the various axes that variable fonts use? I was thinking something along the lines of

FontVariables=<axis> <value> | <axis> <value> | <axis> <value> | <axis> <value> | etc

So for example,

FontVariables=FILL 0 | GRAD 0 | opsz 24 | wght 400

Having support for variable fonts would really take text in Rainmeter to the next level, and it enables highly customizable text and icons.

Perhaps it would be nice to have this as an InlineSetting option too!
Crest
Posts: 148
Joined: August 16th, 2013, 12:47 pm

Re: Variable font support

Post by Crest »

What a coincidence, was searching just the other day for whether Rainmeter had implemented variable font support :) Among other things would be useful for being able to animate axis transitions via values and changing for example glyph widths while keeping the same overall consumed width of different strings.

Edit: forgot to add that another nice benefit would be much lower skin filesizes, for any that bundle typeface families with them. Something can go from being say 5MB for multiple styles down to just a few hundred KB if all the axes are in a single font file.