Skip to content
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

chinese char in filename not rendered correctly #27

Open
zbutfly opened this issue Nov 25, 2022 · 3 comments
Open

chinese char in filename not rendered correctly #27

zbutfly opened this issue Nov 25, 2022 · 3 comments
Labels
help wanted Extra attention is needed

Comments

@zbutfly
Copy link

zbutfly commented Nov 25, 2022

not a major bug, but it display some error code

@jonfryd
Copy link
Member

jonfryd commented Nov 25, 2022

Hey @zbutfly,

Yeah, I'm aware of that. The embedded font included in the executable is mostly restricted to the Latin character set. Please see: #25 (comment)

If someone knows of an easy-to-read TTF-font with solid unicode support (including Chinese and Japanese characters) that we can use legally (i.e. no licensing issues!), then please let me know.

I'm keeping the issue open for now.

@jonfryd jonfryd added the help wanted Extra attention is needed label Nov 25, 2022
@zbutfly
Copy link
Author

zbutfly commented Nov 25, 2022

Hey @zbutfly,

Yeah, I'm aware of that. The embedded font included in the executable is mostly restricted to the Latin character set. Please see: #25 (comment)

If someone knows of an easy-to-read TTF-font with solid unicode support (including Chinese and Japanese characters) that we can legitimately use (i.e. no licensing issues!), then please let me know.

I'm keeping the issue open for now.

embedded font (especially jp/cn chars) will increase size of the executable file much! i don't know much about the implementation of video rendering But can it be implemented by a float layer over media with system or external font?

@jonfryd
Copy link
Member

jonfryd commented Nov 25, 2022

Yes, embedding a font with JP/CN support will likely increase the executable file size significantly, but I can't think of a better way which works seamlessly on Linux, Mac OS and Windows. I don't want to introduce new dependencies and/or new ways of rendering the overlaid text. Using SDL's TTF rendering library is the best and simplest option, I think.

To reduce the installed executable file size we can use UPX.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants