-
Notifications
You must be signed in to change notification settings - Fork 34
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
How to use a font that is an Avalonia resource? #56
Comments
In HtmlContainer class, there is |
"In HtmlContainer class, there is AddFontFamilyMapping method. You can map your CSS font name to Avalonia font with this method." Oh, thank you, I will try that out ;) Hm, it seems that the nuget package (i installed it using |
ps .. using the package, I have tried the following:
But somehow sadly it did not work, hm .... |
Hi again. |
Hi,
thank you all for the HtmlRenderer project. Is there a way to use as "font-family" a font that is registered in the Avalonia resources? F.e. I have added "Work Sans" to my resources and now want to do something like
where I at the moment don't know what to write in place of "???".
Thank you very much for any help ;)
The text was updated successfully, but these errors were encountered: