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
What did you expect to see?
I expect to see the Default font being used.
What did you see instead?
I'm getting the following error: freetype: invalid TrueType format: bad maxp length: 6 on both MacOS and iOS when using the Default font.
The monospace font works on these OSes.
The default font works on Android.
I've found 2 issues mentioning the same kind of problem: #10644 and #10136
Also the test on default font fails on MacOS:
--- FAIL: TestLoadFonts (0.02s)
font_test.go:41: default font: not a TTF: missing "glyf" table
FAIL
exit status 1
FAIL golang.org/x/mobile/exp/font 0.035s
Is there a way to use the default font on Darwin?
Is there any known workaround?
Thank you
Antoine
The text was updated successfully, but these errors were encountered:
Hello,
go version
)?I'm using Go version 1.6.2 and Gomobile version +c435d0b
go env
)?I'm on MacOS (darwin / amd64)
I'm trying to use the Default system font on MacOS and iOS (gomobile).
The complete program can be found here: https://github.com/antoine-richard/gomobile-text
See this line: https://github.com/antoine-richard/gomobile-text/blob/master/game.go#L47
I expect to see the Default font being used.
I'm getting the following error:
freetype: invalid TrueType format: bad maxp length: 6
on both MacOS and iOS when using the Default font.The monospace font works on these OSes.
The default font works on Android.
I've found 2 issues mentioning the same kind of problem: #10644 and #10136
Also the test on default font fails on MacOS:
Is there a way to use the default font on Darwin?
Is there any known workaround?
Thank you
Antoine
The text was updated successfully, but these errors were encountered: