-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Unicode characters not showing properly, any solution? #1579
Comments
The usage of FYNE_FONT references a file on the filesystem - when you package and ship your app then the file may not be found. |
@andydotxyz I must bundle the font when ship but now already font file in the same directory where my code base exist, so it should not create any issue for this problem. The same message using c# code base working fine. can you help me how can i fix this issue? |
Go based (and Fyne) apps are designed to distribute as a single file. You can use "fyne bundle" to embed assets in this file https://developer.fyne.io/tutorial/bundle. |
@andydotxyz can you show me a sample code? how can i create custom theme and use distributed font generate using bundle? |
See https://github.com/andydotxyz/beebui/, specifically you can see a custom font bundled in |
This is resolved by PR #4721 |
Looks like this issue #2572 is the root cause, either way both are about to be fixed. |
I am developing a stk based windows gui application and for that using fyne library
but unfortunately it seems fyne package unable to parse unicode character properly, but in golang codebase i can successfully print unicode character...so whats wrong?
I already set environtment variable using
os.Setenv("FYNE_FONT", "SolaimanLipi.ttf")
The text was updated successfully, but these errors were encountered: