Jump to content
The Dark Mod Forums

Smaller console font


duzenko
 Share

Recommended Posts

I think the time has come to "do something" with the console text layout, prompted by user feedback on discord

I suppose since the original console was designed for 17` 4:3 screens, it does looks weird to modern eyes. What is the common setup these days - 24' 16:9? With increasing share of even wider and bigger screens.

As always, I'm willing to minimize the changes in the code (unless the change is deletion, which I can never have enough of ;))

Unless someone else wants to step up, I'd like to make the following changes

  • configurable console line length (text buffer width), which would automatically make symbols narrower (or, quite unlikely, wider)
  • configurable number of lines to show in the console -> make lines more dense or sparse
  • maybe also allow the console to take 1/3, 2/3, etc vertical space when dealing with large amounts of text info
  • unicode?
  • Like 3
Link to comment
Share on other sites

  • 2 weeks later...
On 7/16/2021 at 2:14 AM, duzenko said:

configurable console line length (text buffer width), which would automatically make symbols narrower (or, quite unlikely, wider)
configurable number of lines to show in the console -> make lines more dense or sparse

I think it should be one setting, so that the font letters remain proportional (at least approximately).

Quote

maybe also allow the console to take 1/3, 2/3, etc vertical space when dealing with large amounts of text info

As far as I remember, there is already a way to open console for 1/3 of screen or even 1/4.
I don't see any need to make another shortcut for 2/3, especially if you are going to allow reducing font size.

Quote

unicode?

No way.
The whole engine uses 8-bit characters, Unicode will break just everything.

Link to comment
Share on other sites

+1. I'm not a fan of the overly large console font. I wouldn't want it to be too tiny either, but definitely a bit smaller than this.

Also is there a reason why we make the normal console font cyan? It doesn't look very appealing. I'd prefer normal text being white, colorized only for errors (red) or warnings (yellow) or the other types of colors used only for specific messages (cyan could be given its own category of info prints).

Link to comment
Share on other sites

At revision: 9531

Before

[url=https://ibb.co/NpGS84Q][img]https://i.ibb.co/P4VQ7S3/image.png[/img][/url]

https://ibb.co/NpGS84Q

After

[url=https://ibb.co/Yt2PKbc][img]https://i.ibb.co/MRnZj9c/image.png[/img][/url]

https://ibb.co/Yt2PKbc

You can see that the left margin is gone - is it ok?

@stgatilovI think some of the new code might be unsafe - I got an AV at some point but couldn't reproduce ever since

I also understand that we generally don't want to use std::wstring? I'm just not sure what should be a better alternative - idList<short>?

  • Thanks 1
Link to comment
Share on other sites

I definitely like the later appearance better! Could be even a tad smaller IMHO, though the new version is good.

Would it be alright to ask for a screenshot with the cyan font turned to white too? Was curious to at least see if that feels better. I know that's a slightly different matter, sorry if I'm conflating two similar but unrelated issues here.

Link to comment
Share on other sites

4 hours ago, MirceaKitsune said:

I definitely like the later appearance better! Could be even a tad smaller IMHO, though the new version is good.

It accepts all font sizes now

8 is default

7 is on the screenshot abover

Never went beyond 6 which already feels too small

Quote

Would it be alright to ask for a screenshot with the cyan font turned to white too? Was curious to at least see if that feels better. I know that's a slightly different matter, sorry if I'm conflating two similar but unrelated issues here.

I kinda like cyan๐Ÿคช. Will need more votes for that.

Link to comment
Share on other sites

Smaller font looks good, on a 24" screen it could be even smaller, but if it's tweakable, that's great. I don't mind the current color (that saturation though...). If anything, it has to be versatile enough to work on both light and dark backgrounds, so white and black are off the table by default.

Link to comment
Share on other sites

If both the font size and color can be customized, I am a happy player: If I don't like the new defaults I'll write my own in autoexec.cfg. Can't wait for the next dev snapshot, now for yet another reason... the past few months / weeks have been amazing for TDM ๐Ÿ˜Š

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

  • Recent Status Updates

    • STiFU

      We are taking our son on his very first holiday trip to see the sea for the first time. ๐Ÿ™‚ Will be back in a week.
      · 0 replies
    • Gilkar

      When I was a young man my father was so ignorant I could hardly stand to have him around. As I grew older I was amazed at how much the old man had learned in such a short time.
      · 1 reply
    • jaxa

      RTX 3090 Super, RTX 3070 Ti 16 GB, RTX 2060 12 GB
      https://wccftech.com/nvidia-launching-rtx-3090-super-rtx-3070-ti-16gb-and-rtx-2060-12gb-by-january-2022/
      · 0 replies
    • duzenko

      CPU benchmark time - compiling DarkRadiant (2nd run)
      i5 8600K 6C/6T@4.4GHz DDR4 2x2133MHz 9MB cache
      Parallel builds: 1. 3:57 Parallel builds: 6 (default). 2:28 r5 1600AF 6C/12T@3.3GHz DDR4 1x2666MHz 16 MB cache, temp folder on HDD
      Parallel builds: 1. 5:05 Parallel builds: 4. 2:47 Parallel builds: 6. 2:55 Parallel builds: 12 (default). 2:57
      · 6 replies
    • nbohr1more

      Status updates are back so it is also a good time to return to contests!
      https://forums.thedarkmod.com/index.php?/topic/21095-christmas-connections-contest-2021
      ย 
      · 0 replies
×
×
  • Create New...