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

Custom fonts do not work #109

Open
gtrafford opened this issue Oct 20, 2020 · 0 comments
Open

Custom fonts do not work #109

gtrafford opened this issue Oct 20, 2020 · 0 comments

Comments

@gtrafford
Copy link

I can only say with certainty that they don't work for Android as I haven't been able to test on anything else. I followed the instructions here and while that did get the custom font to work for pretty much everything (labels, entry boxes, etc) it wouldn't work for Oxyplot no matter what FontFamily property I set.

So then I tried adding it as an Asset to the android project but it was still ignored.

Eventually I created a fork and got it working (at least for Android) by looking up the font asset in DrawText in CanvasRenderContext.cs, but upon reading the contributing guidelines when making a pull request it said to create an issue first and wait for it to be assigned.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant