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

Special Character Support #3

Open
TheTort opened this issue Oct 3, 2021 · 5 comments
Open

Special Character Support #3

TheTort opened this issue Oct 3, 2021 · 5 comments

Comments

@TheTort
Copy link

TheTort commented Oct 3, 2021

Hello! I am currently making a French Translation for SuperTux Advance, but I have found that the font doesn't support Special Characters, so I Cannot make a Translation in French without these Characters, and I was wondering If you could add support for these Characters.

@KelvinShadewing
Copy link
Owner

Currently, this is an issue with Brux not supporting characters above ascii 127. I've tried using codepage 437 fonts in the past and found only the first half of them ever get used. I'm going to look into how to use higher-level characters.

@Busybody64
Copy link
Contributor

This is a bit of a problem.

Especially if i'm going to make a russian translation.

@KelvinShadewing
Copy link
Owner

It seems Unicode is already supported natively by C++; it just wasn't working because Codepage 437 is not Unicode-compliant. I have a new font for it that I'll add to the game once I have dynamic font width working, since it has a lot of wide characters that would make English and similar alphabets awkwardly spaced without it. So special characters are technically already supported, they just don't play well with others right now.

@Busybody64
Copy link
Contributor

Do you think you could try to use a copy of the current font that LOOKS like the needed characters?
That seems like a patchwork fix, and it is, but it'd allow us to at least translate other languages.

@KelvinShadewing
Copy link
Owner

Translation can already be done in the language files. I'm working on dynamic-width font support so the unicode font can be used without having huge gaps between each letter or under kerning making square characters overlap each other, which would make Asian languages unreadable.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants