You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Those embedded resources are .ttf files directly pulled from an installed font on macOS.
Actual Behavior
Some characters are sometimes missing. Weirdly this only seems to happen when rendering them directly in a Drawable. Label, etc. seem to work fine from testing with the example app.
Additionally it also sometimes crashes inside Eto.Drawing.Font.GetHashCode() by using a Font as a Dictionary key.
Note that this doesn't appear to happen on WPF or GTK.
Steps to Reproduce the Problem
Load font from stream
Use that font inside a drawable
Have it sometimes not render characters
Code that Demonstrates the Problem
This issue can be seen in my project: Celeste Studio (Note that after commit abefee a workaround with "Monaco" is used). Under Setting > Font... changing between the built-in JetBrainsMono and a system install of it, the issue should become obvious after a bit of scrolling. (Just paste this into it to get some file-content)
8mb.video-hzl-olNz9ujp.mp4
Specifications
Version: 2.8.4-ci-20240710.9879198421
Platform(s): Mac64
Operating System(s): macOS 10.15.7 and 14.6.1 (the crash has so far only been observed on this version, but the rendering issues on both)
The text was updated successfully, but these errors were encountered:
Expected Behavior
Creating a font like this should give the same result as
new Font("JetBrainsMono", size, style)
when it's installed on the system:Those embedded resources are .ttf files directly pulled from an installed font on macOS.
Actual Behavior
Some characters are sometimes missing. Weirdly this only seems to happen when rendering them directly in a
Drawable
.Label
, etc. seem to work fine from testing with the example app.Additionally it also sometimes crashes inside
Eto.Drawing.Font.GetHashCode()
by using aFont
as aDictionary
key.Note that this doesn't appear to happen on WPF or GTK.
Steps to Reproduce the Problem
Code that Demonstrates the Problem
This issue can be seen in my project: Celeste Studio (Note that after commit
abefee
a workaround with "Monaco" is used). UnderSetting > Font...
changing between the built-in JetBrainsMono and a system install of it, the issue should become obvious after a bit of scrolling. (Just paste this into it to get some file-content)8mb.video-hzl-olNz9ujp.mp4
Specifications
The text was updated successfully, but these errors were encountered: