Font size issues: size difference with Windows Console

Posted by Eurotool on Thu 15 Dec 2022 11:27 PM — 6 posts, 15,061 views.

#0
Hello, I am trying different font sizes, and I realize MUSHclient outputs fonts differently than the standard Windows Console (cmd, PowerShell, WSL, etc.).

Here is Consolas 16px (console) vs Consolas 10pt (MUSHclient):
https://i.imgur.com/dnjD3cR.png

And here is Consolas 16px (console) vs Consolas 11pt (MUSHclient): https://i.imgur.com/g6lzCI1.png

I would like to make both programs match in terms of font size. I have tried using decimals on the "size" field, but unfortunately it only accepts integers. I believe this has to do with MUSHclient using points instead of pixels for font sizes. I suspect I could use raster fonts to fix this issue, but I would rather use fonts with antialiasing.

Thank you for your help.
Amended on Fri 16 Dec 2022 10:59 PM by Eurotool
USA Global Moderator #1

    Here is Consolas 16px (console) vs Consolas 10pt (MUSHclient): 
And here is Consolas 16px (console) vs Consolas 10pt (MUSHclient)

Something is off about your description.
Amended on Fri 16 Dec 2022 12:31 AM by Fiendish
Australia Forum Administrator #2
If the problem is the gaps between the lines, there is a "line spacing" option in the world configuration -> Appearance -> Output pane, where you can configure the distance between lines.
#3
Fiendish said:

Something is off about your description.

Thanks, corrected in the OP. Issue is 10pt being too small, yet 11pt being too large.

Quote:

If the problem is the gaps between the lines, there is a "line spacing" option in the world configuration

Alright -- not exactly what I was looking for, as the font sizes are still unequal, but it does get me closer. I set the line spacing to 16px to match the console, and here is what it looks like: https://i.imgur.com/rhQbd5Z.png
Amended on Fri 16 Dec 2022 11:53 PM by Eurotool
#4
Problem partly solved, MacGyver style -- I followed Nick's above suggestion to make the line spacing match the console's, then used open source program FontForge (https://fontforge.org/en-US/) to size down the font to 85%.

See result here: https://i.imgur.com/KnhFaDj.png

I would suggest having an option to output fonts in px as well as pt, if that's possible! Thank you all for the help.
USA Global Moderator #5
Points have been the standard unit for decades.