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
I have searched the issue tracker for open issues that relate to the same problem, before opening a new one.
This issue only relates to a single bug. I will open new issues for any other problems.
Describe the bug
I noticed the previous issues, someone mentioned this problem, and some developers said that they will fix it in the next minor version, but I found that it will still panic directly in version v233
There is likely a better answer (I have not quite read into how the fonts are handled) but I think #3245 will have to be closed before then. It is not currently supported in v2.3.3 as far as I know.
FYI: We appreciate that you opened this issue but I just want to say that we prefer to use discussions for questions and would appreciate if you use that next time. The issue tracker is intended for bug reports and feature requests. I think the bug part of might be a duplicate of the issue mentioned above.
I noticed the previous issues, someone mentioned this problem, and some developers said that they will fix it in the next minor version
It would be better to follow up on the ticket you found. Which I suspect is the one @Jacalz linked. Opening a new issue to ask about an open one doesn't help us get it done.
Checklist
Describe the bug
I noticed the previous issues, someone mentioned this problem, and some developers said that they will fix it in the next minor version, but I found that it will still panic directly in version v233
How to reproduce
Screenshots
2023/04/09 08:17:27 Fyne error: font load error
2023/04/09 08:17:27 Cause: unsupported font format
2023/04/09 08:17:27 At: C:/Users/zhonger/go/pkg/mod/fyne.io/fyne/[email protected]/internal/painter/font.go:150
panic: runtime error: invalid memory address or nil pointer dereference
[signal 0xc0000005 code=0x0 addr=0x4ec pc=0x7ff7fd7549e0]
goroutine 1 [running, locked to thread]:
github.com/benoitkugler/textlayout/fonts/truetype.(*Font).Upem(0x1?)
C:/Users/zhonger/go/pkg/mod/github.com/benoitkugler/[email protected]/fonts/truetype/metrics.go:34
github.com/benoitkugler/textlayout/harfbuzz.NewFont({0x7ff7fdf2b078?, 0x0})
Example code
Fyne version
223
Go compiler version
1.19+
Operating system and version
win10
Additional Information
No response
The text was updated successfully, but these errors were encountered: