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

Add support for FreeType #12

Open
yellowberryHN opened this issue Nov 11, 2020 · 3 comments
Open

Add support for FreeType #12

yellowberryHN opened this issue Nov 11, 2020 · 3 comments
Assignees
Labels
feature New feature or request

Comments

@yellowberryHN
Copy link
Member

This is an issue due to 2 factors:

  • The font we are using only provides a few accents plus Cyrillic script
  • The bitmap font rendering system that is being used is incompatible with higher range Unicode, as well as bitmap fonts being an outdated technology.

The way I propose implementing this is to implement the SDL2_ttf extension. That way, a traditional .TTF font can be used by the game to render all text. This will all improve localization efforts, because with the current system, we would need an incredibly massive amount of bitmap font sheets to cover Asian languages.

@yellowberryHN yellowberryHN added the feature New feature or request label Nov 11, 2020
@yellowberryHN yellowberryHN self-assigned this Nov 11, 2020
@yellowberryHN yellowberryHN pinned this issue Nov 11, 2020
@Blueberryy
Copy link
Contributor

Blueberryy commented May 4, 2021

This game engine definitely will need a Japanese localization.

@yellowberryHN
Copy link
Member Author

As of ed37b24 we have basic FreeType rendering code, courtesy of https://github.com/ACBob/Bube. Still a work in progress, hope to be able to contribute back to that project.

@yellowberryHN yellowberryHN changed the title No support for most Unicode characters Add support for FreeType May 6, 2021
@yellowberryHN
Copy link
Member Author

The code previously implemented has been temporarily removed, as it has caused conflicts. It will be merged back into a future branch at a later date. I simply do not have the time to fix said conflicts at the moment.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request
Projects
Status: Todo
Development

No branches or pull requests

2 participants