CleverRaven / Cataclysm-DDA

Cataclysm - Dark Days Ahead. A turn-based survival game set in a post-apocalyptic world.
http://cataclysmdda.org
Other
10.65k stars 4.18k forks source link

Different text format in the same place #77756

Open IdleSol opened 3 days ago

IdleSol commented 3 days ago

Describe the bug

1

Notice the line is not highlighted in white (?).

Perhaps this also applies to the rest of the gray lines? But they are not as conspicuous.

Attach save file

n/a

Steps to reproduce

n/a

Expected behavior

n/a

Screenshots

No response

Versions and configuration

cdda-windows-tiles-x64-2024-11-11-0430

Additional context

How to make everything gray and remove the bold font? I mean go back to the pre ImGui look. Bold white font on a black background is too bright for my eyes.

db48x commented 1 day ago

The font isn’t bold, it’s just an ordinary medium–weight font. You could edit your fonts.json file to specify another font if you prefer.

IdleSol commented 1 day ago

I need to add a line?

  "gui_typeface": [ "data/font/Terminus.ttf", "data/font/unifont.ttf" ],

And maybe I don't understand something. But in #76529, you made changes to data/fontdata.json. Isn't that the pattern on which config/fonts.json is based?

Because even on a fresh version, I don't have a line in it:

{
  "typeface": [ "data/font/Terminus.ttf", "data/font/unifont.ttf" ],
  "map_typeface": [ "data/font/Terminus.ttf", "data/font/unifont.ttf" ],
  "overmap_typeface": [ "data/font/Terminus.ttf", "data/font/unifont.ttf" ]
}

Is this an error or should it be? (does it need a separate report?)

P.S. Thank you.

CLIDragon commented 7 hours ago

Theming will be fixed by #77842. As for the issue of colours being different, this is because the information is inserted as BASE not DESCRIPTION. If desired, replace the above inside item::properties_info