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

Use GNU Unifont as default SDL font #19965

Merged
merged 1 commit into from
Jan 12, 2017
Merged

Conversation

BrettDong
Copy link
Member

@BrettDong BrettDong commented Jan 7, 2017

An effective solution to #14814 . All currently supported languages are able to be drawn correctly in this font:

  • English
  • French
  • German
  • Spanish
  • Portuguese
  • Chinese
  • Japanese
  • Korean
  • Russian
    zhcn
    rus
    ko

@BrettDong BrettDong changed the title [WIP][CR] Add GNU Unifont as default SDL font Use GNU Unifont as default SDL font Jan 12, 2017
@kevingranade kevingranade merged commit ccab39d into CleverRaven:master Jan 12, 2017
@BrettDong BrettDong deleted the unifont branch January 14, 2017 15:08
@codemime
Copy link
Contributor

codemime commented Jan 15, 2017

I liked Terminus much more. Unifont looks ugly (especially without font blending):
font

@BrettDong
Copy link
Member Author

Then how about select default font according to system language? On English OS the game will use Terminus by default, and on non-English OS the game will choose GNU Unifont.

@Firestorm01X2
Copy link
Contributor

There is Terminus TTF Bold that looks similar to Terminus.
https://files.ax86.net/terminus-ttf/

@BrettDong
Copy link
Member Author

The second solution is to make "SDL Font" an option in game. Players are able to choose the font they would like to use on their own preference. And keep GNU Unifont the default font, to ensure players using different languages can see the UI texts, instead of tofu boxes.

@codemime
Copy link
Contributor

I see now. That wasn't Terminus after all. I've renamed unifont.ttf to unifont.fon and then I got a proper typeface:
font2
Looks like a bug.

@BrettDong
Copy link
Member Author

@codemime Which OS are you using? How to reproduce the problem?

@codemime
Copy link
Contributor

Which OS are you using?

Ubuntu 15 x64 with Xfce.

How to reproduce the problem?

Simply write "unifont" to the config file and run the game. Then rename unifont.ttf to unifont.fon and run the game again. That's probably Linux specified.

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

Successfully merging this pull request may close these issues.

4 participants