Bug #3288

Text in GUI is rendered at lower resolutions, then scaled up to your set size rather than being rendered at the correct size.

Added by Isak L over 1 year ago. Updated 23 days ago.

Target version:
Start date:
% Done:


Operating system:


Wherever any GUI elements are being scaled, for example books, or all parts of the GUI if you have scaling enabled in settings.cfg, text will be rendered at what the game considers to be normal size, then scaled up to match your settings, meaning it can't take advantage of the higher resolution to provide better clarity and sharper text. Using Morrowind's original bitmap font, this would not make any difference, but when you use a TrueType/OpenType font, you'd expect to be able to take full advantage of the added resolution. This also applies to the console, which is rendered using a TrueType font by default. The following screenshots were taken at 4K resolution with scaling factor 2.0 set.

screenshot009.png View (5.82 MB) Isak L, 05/28/2016 09:23 AM

Related issues

Duplicated by OpenMW - Bug #3685: Even with True Type font, the text in books and journal lacks legibility Rejected 12/21/2016


#1 Updated by Nathan Strong over 1 year ago

What about it you increase the text size by editing openmw_font.xml? How does that look? (It will still probably look bad in specific spots, like books.)

#2 Updated by Isak L over 1 year ago

Tried that already, did not work, just forgot to mention it. If you just increase the size, all the ingame text will become physically larger, therefore you have to also decrease the resolution value. The screenshots at the top were taken with a size of 24 and a resolution of 50. I've attached a screenshot taken with a size of 48 and a resolution of 25. If you do it the other way around, decrease size but increase resolution, exactly the same thing happens. Unfortunately there's no way to increase just size or resolution while keeping the text the same physical size.

#3 Updated by scrawl . over 1 year ago

I could think of two possible fixes for this, both of them need minor changes to MyGUI though.

1. Explicitely set a font size for all the text skins in the game. This is currently not working because the FontName property interferes with FontHeight in a way that I would call a bug.
2. Change ResourceTrueTypeFont to allow user adjustment of getDefaultHeight() independent of the texture size. In theory this could be added within OpenMW code (as a sub-class of ResourceTrueTypeFont that is registered with the MyGUI factory), it's slightly annoying to do that though because including MyGUI_ResourceTrueTypeFont.h adds a build dependency on freetype.

#4 Updated by Miroslav Remák 9 months ago

  • Duplicated by Bug #3685: Even with True Type font, the text in books and journal lacks legibility added

#5 Updated by Alexei Dobrohotov 8 months ago

  • Category set to GUI
  • Target version set to openmw-0.42

#6 Updated by Marc Zinnschlag 6 months ago

  • Target version changed from openmw-0.42 to openmw-0.43

#7 Updated by Alexei Dobrohotov about 1 month ago

  • Target version changed from openmw-0.43 to openmw-1.0

#8 Updated by Alexei Dobrohotov 23 days ago

  • Status changed from New to Confirmed

Also available in: Atom PDF