Skip to content
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

[QUESTION] System font recall problem #1504

Closed
ChanYoung-Ko opened this issue Sep 23, 2020 · 3 comments · Fixed by #1539
Closed

[QUESTION] System font recall problem #1504

ChanYoung-Ko opened this issue Sep 23, 2020 · 3 comments · Fixed by #1539
Projects

Comments

@ChanYoung-Ko
Copy link

ChanYoung-Ko commented Sep 23, 2020

Hello, I am a developer using xamarin.forms.
I have a question about a problem while drawing text through skiasharp.
First of all, I apologize for my lack of English skills.

I'm currently using 1.68.3 version.

string[] skFontFamily = SkiaSharp.SKFontManager.Default.GetFontFamilies();

Use the code at the top to load the Default font.
The uwp and android normally produce a default font string[].
However, for ios, the number of strings[] is always returned to zero.
What kind of mistake am I making?

@mattleibow
Copy link
Contributor

Not gonna lie, this was actually pretty unexpected... I started digging and then found that iOS just has no implementation and always returns an empty list.

https://groups.google.com/g/skia-discuss/c/FBVhoy8pJ8Q

I started a discussion with Google, but I will also try and get something in for SkiaSharp.

@mattleibow
Copy link
Contributor

Seems the fonts API just was never used in skia. But, I added it to our fork, so the next release should have the list of fonts.

@mattleibow mattleibow added this to To do in v2.80.3 via automation Oct 15, 2020
@ChanYoung-Ko
Copy link
Author

Seems the fonts API just was never used in skia. But, I added it to our fork, so the next release should have the list of fonts.

Thank you for your reply.
I'm looking forward to the next version update.

@mattleibow mattleibow mentioned this issue Oct 27, 2020
4 tasks
v2.80.3 automation moved this from To do to Done Oct 28, 2020
@ghost ghost locked as resolved and limited conversation to collaborators Aug 19, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
No open projects
v2.80.3
  
Done
Development

Successfully merging a pull request may close this issue.

2 participants