Angband.oook.cz
Angband.oook.cz
AboutVariantsLadderForumCompetitionComicScreenshotsFunniesLinks

Go Back   Angband Forums > Angband > Vanilla

Reply
 
Thread Tools Display Modes
Old January 12, 2010, 17:33   #1
d_m
Angband Devteam member
 
d_m's Avatar
 
Join Date: Aug 2008
Location: Philadelphia, PA, USA
Age: 39
Posts: 1,516
d_m is on a distinguished road
Bold fonts in GCU mode... opinions?

So someone playing Unangband (which is now using main-gcu.c from V) noticed that all the text was being bolded, and commented that it made things look really ugly for him. I checked and sure enough all the text in 256 color mode is bolded.

It looks a lot better for me (in gnome-terminal and xterm) when those fonts are bolded. Also, it's worth noting that in 16 color mode (ANSI) 8 of the colors are bold and 8 aren't (and this can't be changed). I think I chose to bold all the colors because it seemed closer to the way things look in 16 color mode.

What are people's thoughts? I assume no one has noticed so far, or thought it was particularly bad. To see what it looks like unbolded, edit line 652 of main-gcu.c changing:

Code:
colortable[i] = COLOR_PAIR(i + 1) | A_BRIGHT;
to:

Code:
colortable[i] = COLOR_PAIR(i + 1);
Finally this could be a command-line option (or an environment variable), although I'm not excited about either of those.

Thoughts?
__________________
linux->xterm->screen->pmacs
d_m is offline   Reply With Quote
Old January 13, 2010, 10:49   #2
Magnate
Angband Devteam member
 
Join Date: May 2007
Location: London, UK
Posts: 5,057
Magnate is on a distinguished road
Send a message via MSN to Magnate Send a message via Yahoo to Magnate
Is it possible to mix bold and non-bold colours in our new "256"-colour main-gcu? I would much rather see a mixture if possible. Could we add ATTR_BOLD as a flag in monster.txt, for example?Or could we define 52 colours instead of 26, with a bold and non-bold for each? That would be good too.
Magnate is offline   Reply With Quote
Old January 13, 2010, 15:14   #3
d_m
Angband Devteam member
 
d_m's Avatar
 
Join Date: Aug 2008
Location: Philadelphia, PA, USA
Age: 39
Posts: 1,516
d_m is on a distinguished road
Quote:
Originally Posted by Magnate View Post
Is it possible to mix bold and non-bold colours in our new "256"-colour main-gcu? I would much rather see a mixture if possible. Could we add ATTR_BOLD as a flag in monster.txt, for example?Or could we define 52 colours instead of 26, with a bold and non-bold for each? That would be good too.
It would be possible, although like I said only 256-color GCU mode would be able to handle it... ANSI colors would still be bold or unbold depending on which seemed closest.

Presumably all the other ports could easily mix bold and non-bold characters.
__________________
linux->xterm->screen->pmacs
d_m is offline   Reply With Quote
Old January 13, 2010, 15:42   #4
Magnate
Angband Devteam member
 
Join Date: May 2007
Location: London, UK
Posts: 5,057
Magnate is on a distinguished road
Send a message via MSN to Magnate Send a message via Yahoo to Magnate
Quote:
Originally Posted by d_m View Post
It would be possible, although like I said only 256-color GCU mode would be able to handle it... ANSI colors would still be bold or unbold depending on which seemed closest.

Presumably all the other ports could easily mix bold and non-bold characters.
I expect so. Do we need to continue to support ANSI? If people playing in a terminal can now get 256-colours, perhaps not? If we went the second route and defined two sets of colours (one bold, one non-bold), we could always take care to ensure that they were only used to distinguish between similar items (e.g. light and heavy xbow, lesser and greater basilisk, balrog etc.) - this way if anyone did play with ANSI limitations the colour changes would not be fatal.
Magnate is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
improved GCU code in HEAD d_m Vanilla 23 August 19, 2009 20:59
Tales of the Bold Rogue PowerDiver AAR 0 June 12, 2008 01:24
Tales of Angmar the Bold Gnome Mage Garrie AAR 7 May 30, 2008 13:10
[Un] Changing Fonts to be like V fonts? Poop Loops Variants 6 May 16, 2008 03:00
[ALL variants] Getting main-gcu to handle resizes. CJNyfalt Vanilla 5 May 27, 2007 14:47


All times are GMT +1. The time now is 07:33.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2020, vBulletin Solutions Inc.