Hi Martin,
Variable Weight Fonts are indeed supported!
However, instead of the numerical values often associated with Variable Weight Fonts, in Studio these are set using the 'named' weights found under the "Weight" Property.
Their mapping is as follows:
FontWeight_Thin = 100,
FontWeight_ExtraLight = 200,
FontWeight_UltraLight = 200,
FontWeight_Light = 300,
FontWeight_SemiLight = 350,
FontWeight_Normal = 400,
FontWeight_Regular = 400,
FontWeight_Medium = 500,
FontWeight_DemiBold = 600,
FontWeight_SemiBold = 600,
FontWeight_Bold = 700,
FontWeight_ExtraBold = 800,
FontWeight_UltraBold = 800,
FontWeight_Black = 900,
FontWeight_Heavy = 900,
FontWeight_ExtraBlack = 950,
FontWeight_UltraBlack = 950
As for the ability to use numerical input instead of using these preset 'named' weights, I've created a Ticket
#4604 for us to look into this.
Let us know if this helps, or if this was instead about a Variable Weight Font not showing up at all, we can continue this further and investigate that.
(On my end, I verified our support of this using the
Arimo Variable Weight Font)
- Dorian