[Fixed] Highest in-game messages aren't shown with accent characters

Bugs that have been investigated and resolved somehow.

Moderator: GZDoom Developers

Highest in-game messages aren't shown with accent characters

Postby Xeotroid » Fri Jul 12, 2019 7:12 am

The message bar isn't shifted down to display accented characters in the highest-placed message. Example:
User avatar
Xeotroid
 
Joined: 23 Jun 2012
Location: Czech Rep.

Re: Highest in-game messages aren't shown with accent charac

Postby Undead » Fri Jul 12, 2019 7:40 am

This is a problem with how Doom and GZDoom both expect every glyph to be equal in height. I once suggested that Graf changes the line height per every language, but it was deemed unnecessary. (Though, maybe some kind of system that autodetects the tallest letter in each message and offsets it accordingly would be more efficient.)

Being the font designer for the engine’s extra characters, in the case of Strife, I decided to let letters like this get cut off in ordinary messages in favor of being fully displayed in dialogues, where they see much more use than anywhere else.
User avatar
Undead
 
 
 
Joined: 26 Dec 2013
Location: Sweden

Re: Highest in-game messages aren't shown with accent charac

Postby Graf Zahl » Fri Jul 12, 2019 8:04 am

It is not that it expects every glyph to be the same height but a bogus assumption that no glyph has a positive y-offset - it positions the font with the anchor point at the top of the screen, not with the top of the cell with the largest offset. It's ancient code made for English only. There's probably more such issues buried in the large heap of font printing code.
User avatar
Graf Zahl
Lead GZDoom Developer
Lead GZDoom Developer
 
Joined: 19 Jul 2003
Location: Germany


Return to Closed Bugs

Who is online

Users browsing this forum: No registered users and 1 guest