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
hi, boss,
I am using Svg.Skia to draw a svg to canvas in blazor wasm, and my svg file have a text and the font-family is PingFang SC,I am trying to load this typeface to application by method: Loading custom typeface
I see the result of loading typeface is ok, but can not get typeface when painting the svg to canvas.
I study the code, and found the typeface is got from SkiaSharp.SKFontManager.Default at SkiaAssetLoader.cs line 38.
SkiaSharp.SKFontManager.Default can got typeface from OS, but in WASM, it is not work.
Is there a good way to solve this problem?
thank you for your great work
hi, boss,
I am using Svg.Skia to draw a svg to canvas in blazor wasm, and my svg file have a text and the font-family is PingFang SC,I am trying to load this typeface to application by method: Loading custom typeface
I see the result of loading typeface is ok, but can not get typeface when painting the svg to canvas.
I study the code, and found the typeface is got from SkiaSharp.SKFontManager.Default at SkiaAssetLoader.cs line 38.
SkiaSharp.SKFontManager.Default can got typeface from OS, but in WASM, it is not work.
Is there a good way to solve this problem?
thank you for your great work
here is my svg content:
The text was updated successfully, but these errors were encountered: