QB64 Phoenix Edition
Problem lining up same font with different heights. - Printable Version

+- QB64 Phoenix Edition (https://qb64phoenix.com/forum)
+-- Forum: QB64 Rising (https://qb64phoenix.com/forum/forumdisplay.php?fid=1)
+--- Forum: Code and Stuff (https://qb64phoenix.com/forum/forumdisplay.php?fid=3)
+---- Forum: Help Me! (https://qb64phoenix.com/forum/forumdisplay.php?fid=10)
+---- Thread: Problem lining up same font with different heights. (/showthread.php?tid=2901)

Pages: 1 2


RE: Problem lining up same font with different heights. - SMcNeill - 08-04-2024

(08-03-2024, 05:09 PM)bplus Wrote: Am I mis-informed or under the wrong impression that all the _U prefix stuff is supposed to help with alignment problems better than the older font stuff?

They help with *rendering* issues that the older stuff misses out on.   

For example, "P" on the old method may only print half the pixels of that letter, looking more like a "D".   The new _UPRINT commands print more pixels on the screen, so that missing "|" in that "P" will end up showing below the "D"

D
|

^Basically the old "P" may have looked similar to the first half above, with pixels clipped or left off.  The new _UPRINT uses more screen space, so it fully prints that character without the clipping and such.   It's especially noticeable with Flourishes and such.