how to stop UXP from doing "gaped underlines"

This board is for discussions, bug reports, etc. for pre-releases of the v28 milestone building on UXP.
User avatar
ketmar
Lunatic
Lunatic
Posts: 369
Joined: 2015-07-28, 11:10
Location: Earth

how to stop UXP from doing "gaped underlines"

Unread post by ketmar » 2018-06-13, 23:08

see the attached image: glyphs that extends under the base line breaks underlining. i don't like this visual style, so can i tweak something, and the rendering engine will stop doing that, and will always use a simple "ungapped" line instead?
Attachments
2018_06_14_02_06_22_141x20.png
2018_06_14_02_06_22_141x20.png (612 Bytes) Viewed 472 times

User avatar
Moonchild
Pale Moon guru
Pale Moon guru
Posts: 35481
Joined: 2011-08-28, 17:27
Location: Motala, SE
Contact:

Re: how to stop UXP from doing "gaped underlines"

Unread post by Moonchild » 2018-06-14, 09:12

I'm pretty sure this is handled by the operating system's font rendering back-end.
"Sometimes, the best way to get what you want is to be a good person." -- Louis Rossmann
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
"Linux makes everything difficult." -- Lyceus Anubite

User avatar
ketmar
Lunatic
Lunatic
Posts: 369
Joined: 2015-07-28, 11:10
Location: Earth

Re: how to stop UXP from doing "gaped underlines"

Unread post by ketmar » 2018-06-14, 14:48

i tought that that PM does that by itself, using font info it got from the system, and therefore it can just stop asking for "special glyphs" (and therefore there can be an option)... but ok, i don't have code evidence at hand for now, so let's assume that is somehow magically calls something that do the rendering for it. at least until i'll get some time to dig into the code myself. ;-)

it is not pointed at you, don't take it personal, please. but it is pointed to that person who thought that breaking good old typewriter-style underlines will be a great idea. sooner or later, me or someone another will find you. and you WILL regret! you will manually paint each pixel ommited due to your bright "innovation"! (with usual 5 day working week, 8 working hours per day and so on: we want justice, not torture!)

Locked