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

Axis Title Unicode / Skiasharp #2064

Open
gnimor opened this issue Feb 28, 2024 · 2 comments
Open

Axis Title Unicode / Skiasharp #2064

gnimor opened this issue Feb 28, 2024 · 2 comments

Comments

@gnimor
Copy link

gnimor commented Feb 28, 2024

When using the Skisharp plotview, axis titles are not displayed correctly with Unicode strings.

UnicodeIssue

With the default plotview (WPF) the unicode characters are displayed correctly:

Working

The used library version is 2.1.2

@VisualMelon
Copy link
Contributor

Also unhappy with special characters, e.g. in example #1481

@Jonarw is this a known issue?

@Jonarw
Copy link
Member

Jonarw commented Mar 26, 2024

I think that reason may be that SkiaSharp (or really skia) does not automatically fall back to a different typeface if the user-specified typeface does not support a certain character. WPF does this automatically, hence the different behaviour.
If you use a typeface which contains these characters, it should work. See also:
mono/SkiaSharp#232

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

No branches or pull requests

3 participants