Print String - unwanted padding?

I opened up an old UE 4.22 project that had some extensive Print String debug stats displayed on screen.
All 34 rows of my debugging stats would easily fit on screen because Print String was not padding each string with a new line.

In UE 4.25 however, Print String messages now seems to be double spaced and some of my debug stats are now pushed off-screen beyond the bottom of the viewport.

Previously, it was trivial to add an extra padded line if needed by simply appending an empty new line character to your text, but now it seems mandatory.

Is there a console variable that I can use to reduce the Print String ‘vertical padding’ (i.e., to get it back to single-spacing) so there isn’t an extra line in between each Print String message?

Note:
Using UMG is not an option. I need to use Print String to see construction script debug info when not in PIE.
Also, editing the UE4 engine source is also not an option for me.

Have you check the Output Log to make sure you’re not printing something else?

No, it’s not happening to me.

Here:

PS: also tried with Hello1, Hello2, … and Duration 0.0

Yes, there is nothing else being printed.

You can recreate my issue by creating a blank project from the UE4.25 starting template and adding four “Hello” PrintStrings to the Event Tick.

Could you post a screenshot of your output so I can see what you get? My screenshot is below.
If your PrintStrings don’t have any padding then there’s something weird going on between my UE4.25 and Windows 10.

Thanks EvilCleric! That’s an interesting insight.

That means PrintString is not the problem and there is possibly an issue with my UE4.25 installation …or config files.

Can you confirm which minor version of UE4.25 you have installed? I’m using UE4.25.1

I only use 4.X.3 or above. Never use 4.X.1 versions.

Is this happening in all BPs or only in the Level BP?

>Is this happening in all BPs or only in the Level BP?

All BPs.

My launcher is showing an available update from 4.25.1.
I’m going to back up my system before I install it.

>I only use 4.X.3 or above. Never use 4.X.1 versions.

I agree!
I usually only work one whole release behind the current version (i.e. 4.24) but I had
to install 4.25 because there was a feature I needed.

I’ll now have to experiment by uninstalling/reinstalling UE4.25.1 UE4.25.x
to see if I can figure out what’s causing my PrintString padding.

Thanks for your screenshots, they saved me from going down the wrong rabbit hole.

The only way I’m able to duplicate your issue is by adding a SHIFT+ENTER at the end of the string.

It’s checked. Checked or uncheked, it has no affect.

So if it’s DPI then it must be a display issue. I changed the display scale in windows (to 150%) and I was finally able to get that extra line.

You know what? my DPI is always 125%.

(For others: Right_Click_Desktop->Display Settings->Scale and Layout [ set your DPI ])

To repro your test, I unchecked ‘Enable High DPI’ support in UE4 and temporarily changed my
Windows 10 DPI back to 100% …and the padding goes away, so confirmed, it was a DPI side-effect.

At least I now have a couple of way to resolve the appearance of double-spaced Print String messages.

The weird thing is, my system DPI has always been 125% but I never had this issue in any previous UE4 version. Presumably 4.25 has some DPI related updates that now also affect the size of Print String (debugging) text displayed in the viewport.

Cheers.

Ha!

A ‘completely random thought’ told me to look in the Editor Preferences and check if anything like
a ‘DPI’ setting was enabled. I have absolutely no idea why I had that inclination.

First thing I saw was [x]Enable High DPI support, so I unchecked it, and now…
…the padding is gone! everything is back to normal.

I hate those seemingly random ideas that just happen to be the solution to a problem, but you cannot even explain why you had the thought. tut.

Can you confirm that you also have ‘Editor Preferences->Enable High DPI support’ unchecked?