Dwarf Fortress Bug Tracker - Dwarf Fortress
View Issue Details
0011922Dwarf FortressTechnical -- Renderingpublic2022-10-25 03:562023-09-05 12:56
Blue-Maned_Hawk 
 
normalmajoralways
newopen 
ASUS Chromebook Flip C302CGalliumOS3.1
0.47.05 
 
0011922: PRINT_MODE:TEXT uses the wrong escape codes for bright colors
https://en.wikipedia.org/wiki/ANSI_escape_code#Colors [^]

PRINT_MODE:TEXT assumes that a terminal will use bright colors when a dark color is combined with bold, despite the fact that there exist escape codes to specify the bright colors directly.
I am using the Kitty terminal emulator, which has no setting to allow the bold escape code to turn colors bright.
No tags attached.
Issue History
2022-10-25 03:56Blue-Maned_HawkNew Issue
2023-09-05 12:56anakojmNote Added: 0041374
2023-09-05 12:58anakojmNote Edited: 0041374bug_revision_view_page.php?bugnote_id=0041374#r16876
2023-09-05 12:58anakojmNote Edited: 0041374bug_revision_view_page.php?bugnote_id=0041374#r16877
2023-09-05 13:02anakojmNote Edited: 0041374bug_revision_view_page.php?bugnote_id=0041374#r16878

Notes
(0041374)
anakojm   
2023-09-05 12:56   
(edited on: 2023-09-05 13:02)
There is a fork: https://github.com/KittyPatch/kitty [^] but it’s pretty out of date and even if you are able to compile it [^1], it still doesn’t work [^2].
It just shifts the problem and i have no idea of what is causing the new problem.

Any way, this issue is with dwarf fortress incorrectly printing characters: https://github.com/kovidgoyal/kitty/issues/197#issuecomment-348062665 [^] .

Is there any chance of this being fixed? I’m currently forced to use a specific terminal emulator just to play dwarffortress.

[^1]: I was able to compile it by removing the -Werror flag: `find . \( -type d -name .git -prune \) -o -type f -print0 | xargs -0 sed -i -e "s/'-Werror', //g" -e "s/ -Werror'/'/g" && make`

[^2]: base kitty: https://i.imgur.com/FjtAvPa.png [^] vs fork: https://i.imgur.com/hh5lZ2S.png [^]