-
Notifications
You must be signed in to change notification settings - Fork 483
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
matchFont is not included unsupported features for Web #2303
Comments
Thanks a lot! We will add it to the documentation. |
@wcandillon Thanks! Oh I have a question. Do you have a plan to add canvas.drawParagraph ? |
canvas.drawParagraph is hard because of a cyclic dependency (SkParagraph depends on SkCanvas via paragraph.paint(canvas)). May I ask why do you need it? We use paragraph.paint(canvas): /~https://github.com/Shopify/react-native-skia/blob/main/package/src/renderer/__tests__/e2e/Paragraphs.spec.tsx#L76 |
@wcandillon wow! I didn't notice para.paint api! That's more than enough. Thanks a lot :D |
Hey folks, just ran into this myself – is it possible to obtain an SKFont from a Paragraph on web? I'm using a font manager, but the dependency I'm using that relies on Skia (Victory Native) is requiring an SKFont in order to render. Tried using the |
Description
Hello Skia team. I really love using Skia. This is a great tool ever. :)
I found out matchFont which is so powerful API to handle multiple fonts is not implemented for Web yet and it's not included in the unsupported features in the docs.
I'm not sure this API is unsupported or unplanned so I couldn't make a PR to fix the docs.
Thanks :)
The text was updated successfully, but these errors were encountered: