Notice: Any messages purporting to come from this site telling you that your password has expired, or that you need to "verify" your details, making threats, or asking for money, are
spam. We do not email users with any such messages. If you have lost your password you can obtain a new one by using the
password reset link.
Entire forum
➜ MUSHclient
➜ General
➜ Font size issues: size difference with Windows Console
Font size issues: size difference with Windows Console
|
It is now over 60 days since the last post. This thread is closed.
Refresh page
Posted by
| Eurotool
(14 posts) Bio
|
Date
| Thu 15 Dec 2022 11:27 PM (UTC) Amended on Fri 16 Dec 2022 10:59 PM (UTC) by Eurotool
|
Message
| 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. | Top |
|
Posted by
| Fiendish
USA (2,533 posts) Bio
Global Moderator |
Date
| Reply #1 on Fri 16 Dec 2022 12:23 AM (UTC) Amended on Fri 16 Dec 2022 12:31 AM (UTC) by Fiendish
|
Message
|
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. |
https://github.com/fiendish/aardwolfclientpackage | Top |
|
Posted by
| Nick Gammon
Australia (23,070 posts) Bio
Forum Administrator |
Date
| Reply #2 on Fri 16 Dec 2022 06:34 AM (UTC) |
Message
| 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. |
- Nick Gammon
www.gammon.com.au, www.mushclient.com | Top |
|
Posted by
| Eurotool
(14 posts) Bio
|
Date
| Reply #3 on Fri 16 Dec 2022 11:16 PM (UTC) Amended on Fri 16 Dec 2022 11:53 PM (UTC) by Eurotool
|
Message
|
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 | Top |
|
Posted by
| Eurotool
(14 posts) Bio
|
Date
| Reply #4 on Sat 17 Dec 2022 12:05 AM (UTC) |
Message
| 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. | Top |
|
Posted by
| Fiendish
USA (2,533 posts) Bio
Global Moderator |
Date
| Reply #5 on Sat 17 Dec 2022 06:50 AM (UTC) Amended on Sat 17 Dec 2022 06:56 AM (UTC) by Fiendish
|
Message
| Points have been the standard unit for decades. |
https://github.com/fiendish/aardwolfclientpackage | Top |
|
The dates and times for posts above are shown in Universal Co-ordinated Time (UTC).
To show them in your local time you can join the forum, and then set the 'time correction' field in your profile to the number of hours difference between your location and UTC time.
6,559 views.
It is now over 60 days since the last post. This thread is closed.
Refresh page
top