Jump to content
The Dark Mod Forums

Smaller console font


duzenko

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.

  • Recent Status Updates

    • OrbWeaver

      Does anyone actually use the Normalise button in the Surface inspector? Even after looking at the code I'm not quite sure what it's for.
      · 5 replies
    • Ansome

      Turns out my 15th anniversary mission idea has already been done once or twice before! I've been beaten to the punch once again, but I suppose that's to be expected when there's over 170 FMs out there, eh? I'm not complaining though, I love learning new tricks and taking inspiration from past FMs. Best of luck on your own fan missions!
      · 4 replies
    • The Black Arrow

      I wanna play Doom 3, but fhDoom has much better features than dhewm3, yet fhDoom is old, outdated and probably not supported. Damn!
      Makes me think that TDM engine for Doom 3 itself would actually be perfect.
      · 6 replies
    • Petike the Taffer

      Maybe a bit of advice ? In the FM series I'm preparing, the two main characters have the given names Toby and Agnes (it's the protagonist and deuteragonist, respectively), I've been toying with the idea of giving them family names as well, since many of the FM series have named protagonists who have surnames. Toby's from a family who were usually farriers, though he eventually wound up working as a cobbler (this serves as a daylight "front" for his night time thieving). Would it make sense if the man's popularly accepted family name was Farrier ? It's an existing, though less common English surname, and it directly refers to the profession practiced by his relatives. Your suggestions ?
      · 9 replies
    • nbohr1more

      Looks like the "Reverse April Fools" releases were too well hidden. Darkfate still hasn't acknowledge all the new releases. Did you play any of the new April Fools missions?
      · 5 replies
×
×
  • Create New...