Coder Social home page Coder Social logo

Comments (8)

sheepo99 avatar sheepo99 commented on April 29, 2024 1

As far as language support goes, I am perfectionist. Russian/Greek/Hebrew support is important because there is a good chance there will be fan translations made for these languages, and keeping the credits section in English would be lack of polish.

Moreover, with mod support coming through, modders might feel the need to use the font as well for their own projects.

Could you let me know how can I replace the font using a compiled version so I can test it? Is it a simple matter of replacing a font file and renaming it?

from devilutionx.

AJenbo avatar AJenbo commented on April 29, 2024

Looks ok I think:
image

I think now is a good time to do this, the ports are mature enough that they carry some of there own dependencies (a readme in the case of Linux), expect to see this font included in the next release. Thanks for the suggestion.

from devilutionx.

AJenbo avatar AJenbo commented on April 29, 2024

I think I found a better font:
image
CharisSILB.ttf

from devilutionx.

AJenbo avatar AJenbo commented on April 29, 2024

Here is the original for comparison:
image

from devilutionx.

sheepo99 avatar sheepo99 commented on April 29, 2024

My suggestion is for you to look for a font with better Unicode Support. That font looks more metrically exact to times than Liberation Serif, but it will make it impossible to support, for example, Russian translation.

I would suggest you to test the following ones:

FreeSerif: best unicode support of all Times lookalikes
Linux Libertine: better unicode support than liberation, but still inferior to FreeSerif

from devilutionx.

sheepo99 avatar sheepo99 commented on April 29, 2024

My bad, it does appear Charis, does support Russian and Greek. No Hebrew though:

https://software.sil.org/charis/support/character-set-support/

I would still advise to test libertine and FreeSerif

from devilutionx.

AJenbo avatar AJenbo commented on April 29, 2024

The font is only used for the credits and one button, all other text is done via the UI or in-game pixel fonts that are limited to a subset of https://en.wikipedia.org/wiki/Windows-1250 and some times even https://en.wikipedia.org/wiki/ASCII (all in-game text) so before that is solved I don't see much point in looking for a credit front that supports Russian. You're however welcome to experiment with various fonts and report if you find one that looks good for the original text/render-style and also supports full Unicode.

from devilutionx.

AJenbo avatar AJenbo commented on April 29, 2024

If you make a build of the current code then just rename the font to CharisSILB.ttf and place it next to the game program. If you are still running 0.3.1 then you will have to place it in this path /usr/share/fonts/truetype/msttcorefonts/Times_New_Roman_Bold.ttf on Windows it would probably be on the same drive as the program is located c:\usr\share\fonts\truetype\msttcorefonts\Times_New_Roman_Bold.ttf. We still have one remaining bug that blocks us from releasing 0.4.0, it shoudn't be too long until it is solved, but at the moment most focus is still given to cleaning up the code.

from devilutionx.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.