Describe the bug
We have found that certain fonts, such as Arial Rounded MT Bold, do not appear correctly on MacOS or iOS despite being present on those platforms. They appear to have a glyph typeface of Helvetica instead.
To Reproduce
A small app, available at https://github.com/Smartbox-Assistive-Technology/Avalonia-Font-Test , shows the effect. When run on Windows it will show "The quick brown fox..." in a bold font, as it is correctly rendered in Arial Rounded MT Bold.
On MacOS or iOS this text appears in Helvetica. The debug text shown below is also different between the platforms, seeming to suggest that an incorrect (or more likely default) glyph typeface is used for this font.
Screenshots of the difference are below. Windows first (expected appearance), then iOS in the simulator (incorrect)
Expected behavior
I note that this font is listed in the FontManager.Current.SystemFonts collection, so my expectation is that it should appear much the same on all platforms.
Avalonia version
12.1.1
OS
No response
Additional context
This issue came to light after porting part of our application from .NET iOS with UI Kit front end to Avalonia. This font is displayed correctly in UI Kit.
Describe the bug
We have found that certain fonts, such as Arial Rounded MT Bold, do not appear correctly on MacOS or iOS despite being present on those platforms. They appear to have a glyph typeface of Helvetica instead.
To Reproduce
A small app, available at https://github.com/Smartbox-Assistive-Technology/Avalonia-Font-Test , shows the effect. When run on Windows it will show "The quick brown fox..." in a bold font, as it is correctly rendered in Arial Rounded MT Bold.
On MacOS or iOS this text appears in Helvetica. The debug text shown below is also different between the platforms, seeming to suggest that an incorrect (or more likely default) glyph typeface is used for this font.
Screenshots of the difference are below. Windows first (expected appearance), then iOS in the simulator (incorrect)
Expected behavior
I note that this font is listed in the
FontManager.Current.SystemFontscollection, so my expectation is that it should appear much the same on all platforms.Avalonia version
12.1.1
OS
No response
Additional context
This issue came to light after porting part of our application from .NET iOS with UI Kit front end to Avalonia. This font is displayed correctly in UI Kit.