-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Can i change font ? #400
Comments
Unfortunately we don't package a Korean font with Fyne but yes, you can set your own. We are trying to find a better solution without adding too much extra data into every app. Apologies for the inconvenience. |
@andydotxyz Only TTF file? cannot otf? oh. "Cause: freetype: invalid TrueType format: bad TTF version" Thank ur reply |
Only TTF, sorry. If you are experiencing problems can you share the file and we will test it out? |
Assuming that a TTF file was obtained and the issue resolved |
Well, that is because those package You may try the ttf font file from Droid, |
@andydotxyz Can the font file(.ttf) be integrated in app when packaging a graphical app? Otherwise i must provide the font file independently. |
Yes that can be done. You can bundle a font resource using “fyne bundle” and then you could reference this in a custom theme. The theme would then be set with App.Settings().SetTheme(). It’s not exactly the same but it should work until we find a way to package all language fonts. |
Ok, i will try it. Thanks. |
I had to delete the following file as it had 'error reading unexpected EOF' error and kept displaying broken Korean texts (white rectanlgles in the attached image).
$gopath/pkg/windows_amd64/fyne.io/fyne/vendor/golang.org/x/text/encoding/korean.a
Is there a way to change the font in go because it seems to be not supporting Korean language?
Image File - Korean
Image File - English
The text was updated successfully, but these errors were encountered: