You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We are looking to plumb font-variation-settings through to render variable fonts. To do this we need to be able to set variation values by their tags (wght, slnt, etc) in shaping and painting. I think exposing the above api should cover it, though this is new to me and I may be missing something.
The text was updated successfully, but these errors were encountered:
@mattleibow I hope it's not that hard to add a single api method and a struct into the api, please help us. SkiaSharp needs support for variable fonts for years.
Is your feature request related to a problem? Please describe.
I'd like to paint text with font variation options but the needed API is not exposed to HarfBuzzSharp nor SkiaSharp.
Describe the solution you'd like
Requested Skia api:
https://api.skia.org/structSkFontParameters.html
https://api.skia.org/classSkTypeface.html#a01b379aa05f1d89af547e32ce3fabbe1
Requested HarfBuzz api:
https://harfbuzz.github.io/harfbuzz-hb-font.html#hb-font-set-variations
We are looking to plumb font-variation-settings through to render variable fonts. To do this we need to be able to set variation values by their tags (
wght
,slnt
, etc) in shaping and painting. I think exposing the above api should cover it, though this is new to me and I may be missing something.The text was updated successfully, but these errors were encountered: