You do not have permission to delete messages in this group
Copy link
Report message
Sign in to report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to skia-discuss
Hi,
I just started using CanvasKit for a project and I was wondering if it supports variable fonts or not. Skia obviously does, but does CanvasKit? -- just by looking at the TypeScript definitions I would say no, but I thought I'd double check, as being able to use variable fonts would save me from having to pre-generate thousands of single instances (for combinations of the weight and width axis in the design space).
Thanks a log in advance!
FB
Ben Wagner
unread,
Jun 6, 2022, 11:26:21 AM6/6/22
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Sign in to report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to skia-d...@googlegroups.com
Hmmmm... yes, it looks like CanvasKit doesn't expose
SkTypeface::makeClone or one of the SkFontMgr::makeFrom* methods that
takes an SkFontArguments equivalent. We will probably want to add some
interface for this. Best would be to open an issue for adding this at
bugs.skia.org so we don't lose track.