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
i am fix call FontLoaderCallback add commit #528
Comments
Thanks - the diff had been garbled by the formatting, so I didn't understand this first... if (SystemFonts.TryGetValue(name.ToLower(), out ff)) return ff; This returns only, if a font was found - so the second check for |
I don't know why, result is true and ff is null. |
Sorry for the delay! |
Sorry, i am undestend. First check not needed, second is required. Beсause FontLoaderCallback can return null, after this dictionary contains null :) (i am debug after first execution) |
Ok, thanks - that makes sense then! I'll add the second check in this case. |
Never called FontLoaderCallback, i am fix it. I use this function to load self fonts.
The text was updated successfully, but these errors were encountered: