Reputation: 152
I am trying to use an OpenType font with an alternate stylistic set to draw to a canvas element. I have it working with the standard html and fonts with
font-feature-settings: "ss01";
However, I also need to write the font to a canvas element. Is there anyway to do this? Or is this not supported?
Upvotes: 4
Views: 766
Reputation: 63862
As of right now you still can't, not with font-feature-settings
nor with font-variant
, and for that matter it's not even in the specification yet for Canvas.
But it might be someday: https://github.com/whatwg/html/issues/592
Upvotes: 2