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

Otclient utf-8 Polish #1080

Open
daniofordon opened this issue Apr 18, 2020 · 3 comments
Open

Otclient utf-8 Polish #1080

daniofordon opened this issue Apr 18, 2020 · 3 comments

Comments

@daniofordon
Copy link

Hello. is it possible to add Polish characters to ot client? utf-8?

@vfjpl
Copy link
Contributor

vfjpl commented Mar 22, 2021

@diath I have looked a bit into adding unicode support. First step would be fonts. As I understand currently we are using bitmap fonts(https://github.com/edubart/otclient/blob/master/src/framework/graphics/bitmapfont.cpp). Should we update that to handle more than 256 characters or rewrite it to use "normal" fonts? I don't know much about fonts.

I can do some work on unicode support in my spare time for fun if anyone is interested :)
#3

@diath
Copy link
Collaborator

diath commented Mar 23, 2021

We'd probably have to add TTF support via https://www.freetype.org/ if we wanted to move past bitmap fonts.

@EgzoT
Copy link
Contributor

EgzoT commented Apr 11, 2021

At this moment I may suggest (not best - but work) solution with Polish character pseudo-font:
otland#6

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

4 participants