New Font Implementation

Feedback on past, current, and future development.
User avatar
Zoran
Posts: 16
Joined: 13 Jun 2018, 07:40
Location: Novi Sad, Serbia
Github profile: https://github.com/Emperor-Zoran

New Font Implementation

Post by Zoran » 17 Jun 2018, 22:26

Morrowind uses bitmap font, and OpenMW engine has replicated that, but I would like to see OpenMW to have Morrowind font compatible with standard font formats. I really don't like vanilla font, and all the other bitmap font replacers that I found.

User avatar
Thunderforge
Posts: 403
Joined: 06 Jun 2017, 05:57
Github profile: https://github.com/Thunderforge

Re: New Font Implementation

Post by Thunderforge » 17 Jun 2018, 22:36

There are two TrueType fonts available that replace the original fonts; one for the standard text and one for Daedric. Is that what you're looking for?

User avatar
Ravenwing
Posts: 166
Joined: 02 Jan 2016, 02:51

Re: New Font Implementation

Post by Ravenwing » 18 Jun 2018, 04:29

Thunderforge wrote:
17 Jun 2018, 22:36
There are two TrueType fonts available that replace the original fonts; one for the standard text and one for Daedric. Is that what you're looking for?
I thought that OpenMW doesn't currently use them properly. Doesn't OpenMW generate bitmaps from those TT fonts. I remember it being a problem with GUI scaling because it generates the standard size as bitmaps and then scales the bitmaps, negating the point of TT being vectors.

User avatar
drummyfish
Posts: 151
Joined: 22 Oct 2017, 10:13
Github profile: https://gitlab.com/drummyfish
Contact:

Re: New Font Implementation

Post by drummyfish » 18 Jun 2018, 05:26

Ravenwing wrote:
18 Jun 2018, 04:29
I thought that OpenMW doesn't currently use them properly. Doesn't OpenMW generate bitmaps from those TT fonts. I remember it being a problem with GUI scaling because it generates the standard size as bitmaps and then scales the bitmaps, negating the point of TT being vectors.
Yes, see this.

User avatar
wareya
Posts: 176
Joined: 09 May 2015, 13:07

Re: New Font Implementation

Post by wareya » 18 Jun 2018, 06:39

To clarify, almost all well-performing programs pre-rasterize vector fonts before using them. It's just that OpenMW currently does it at the unscaled resolution then scales them up instead of using the eventual resolution in the first place.
paying attention to #1751/#1816 #2473 #3609 #3862/#3929 #3807 #4297

User avatar
Zoran
Posts: 16
Joined: 13 Jun 2018, 07:40
Location: Novi Sad, Serbia
Github profile: https://github.com/Emperor-Zoran

Re: New Font Implementation

Post by Zoran » 18 Jun 2018, 09:18

So how can I use for example Open Sans font in OpenMW? If I can, can someone write me a technical instruction how to do it or point me in the right direction?

User avatar
psi29a
Posts: 3984
Joined: 29 Sep 2011, 10:13
Github profile: https://github.com/psi29a/
Contact:

Re: New Font Implementation

Post by psi29a » 18 Jun 2018, 09:29

I thought this was written up in the wiki somewhere? https://wiki.openmw.org/index.php?title=Fonts

This should eventually be migrated to our docs section so it can be rendered on RTD. (TODO/HELP)

Anyway, in your resources directory there should be a xml file, in that file you can change the font out to your ttf of your choice. The ttf file has to be in the resources directory too. This is what we do with our OpenMW-Template and OpenMW-Example suite... which we _really_ would love people to help work on. Getting OpenMW on it's own two feet, installable and playable out of the box without Morrowind is a goal of ours.

User avatar
pvdk
Posts: 520
Joined: 12 Aug 2011, 16:34

Re: New Font Implementation

Post by pvdk » 18 Jun 2018, 09:32

I would really like it if we could just ship the .ttf/otf fonts, and have the user choose between those or bitmap. That way I can use them in the launcher too, for skinning purposes etc. T'was the reason I asked for the Ayembedt font in the first place, have a properly licensed version so we could ship it.

User avatar
Zoran
Posts: 16
Joined: 13 Jun 2018, 07:40
Location: Novi Sad, Serbia
Github profile: https://github.com/Emperor-Zoran

Re: New Font Implementation

Post by Zoran » 18 Jun 2018, 10:35

psi29a wrote:
18 Jun 2018, 09:29
I thought this was written up in the wiki somewhere? https://wiki.openmw.org/index.php?title=Fonts

This should eventually be migrated to our docs section so it can be rendered on RTD. (TODO/HELP)

Anyway, in your resources directory there should be a xml file, in that file you can change the font out to your ttf of your choice. The ttf file has to be in the resources directory too. This is what we do with our OpenMW-Template and OpenMW-Example suite... which we _really_ would love people to help work on. Getting OpenMW on it's own two feet, installable and playable out of the box without Morrowind is a goal of ours.
Thank you very much for your answer. I will try to change the font on my OpenMW installation.

User avatar
akortunov
Posts: 296
Joined: 13 Mar 2017, 13:49
Location: Samara, Russian Federation
Github profile: https://github.com/akortunov

Re: New Font Implementation

Post by akortunov » 18 Jun 2018, 11:13


Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest