How to make comment blocks in blueprints use a fixed font?

After carefully formatting my comments with the exact spacing and alignment in a fixed font in a text editor on MSW 10, I copy and paste the text into a comment bubble in my blueprint and the formatting is destroyed because the blueprint editor uses a non-fixed font. Is there any way at all to get the comment bubble to use a fixed font?

(For reasons I won’t waste anyone’s time explaining, it is not suitable for my needs to simply type my text directly into the comment bubble. Been there, done that, it didn’t suit my needs.)

(I Googled, but did not find a suitable answer. I’m hoping something new has come along more recently and someone here knows about it.)

Thanks.

Version: 5.6.1-44394996+++UE5+Release-5.6
Platform: Windows 10 (22H2) [10.0.19045.6466] (x86_64)

Hey there @CarbonedFractals! Welcome back to the community! I don’t believe there is a native method of modification besides changing the source to point at a different font (assuming the fixed fonts apply correctly). However some users have replaced all of the fonts in the engine by replacing the files themselves. Though this may have unintended consequences, as well as obviously changing the font for the entire engine, including comments (assuming they use the same font).

If you do try it, I’d recommend to back up the respective engine file as not to have to repair the installation if anything goes wrong. Hope this helps!

2 Likes

Ok, thanks. This explanation was very clear. It seems to be working now. Thank you.

Just to add some details, what I did was to copy all the Roboto files to a backup directory and then changed the name of each Roboto file by adding the string “_old” to the end of the name. Then I made a copy of DroidSans.tps and renamed it to Roboto.tps. Then for each of the remaining Roboto…whatev.ttf files I made a copy of DroidSansMono.ttf and renamed it to Roboto…whatev.ttf. I used the Mono because I want a fixed-width font. I know this is very tedious, but I tend to make a lot of mistakes and have to double-up on safety measures. You younger, smarter types can do it much more efficiently I’m sure. Again, thanks for the link to the article.

1 Like