Page 1 of 1

Color names that can be used in factbooks without hex code?

PostPosted: Mon Dec 19, 2022 10:06 pm
by Hansdeltania
Basically,
Code: Select all
[color=red]this[/color]
turns into this when doing factbooks.

Alternatively, you can do hex codes
Code: Select all
[color=#BFBF00]so you can get that one specific color[/color]
to make the text look like this.

Is there a list of color names that can be used without having to break out the color hex code finder? Red, white, blue, and gold can work using names aloneā€”as do some other really specific ones like cornflower blue.

PostPosted: Mon Dec 19, 2022 10:54 pm
by United Calanworie
Yes. This list, if memory serves.

PostPosted: Mon Dec 19, 2022 11:00 pm
by In-dia
United Calanworie wrote:Yes. This list, if memory serves.

Sorry to budge in, but is there a list of fonts (such as DFKai-SB font)? that can be used relating to Devanagari or Arabic in question?

PostPosted: Mon Dec 19, 2022 11:14 pm
by United Calanworie
In-dia wrote:
United Calanworie wrote:Yes. This list, if memory serves.

Sorry to budge in, but is there a list of fonts (such as DFKai-SB font)? that can be used relating to Devanagari or Arabic in question?

It's mildly threadjacky, but short answer no, long answer... character encoding on the site is a meeeeeesssss. See this stackoverflow answer for more details.

PostPosted: Tue Dec 20, 2022 7:18 am
by Trotterdam
United Calanworie wrote:It's mildly threadjacky, but short answer no, long answer... character encoding on the site is a meeeeeesssss. See this stackoverflow answer for more details.
That link is about character encoding, not fonts. Totally different things.

The problem with fonts is that NationStates itself doesn't actually serve any fonts. Which fonts are available depends on the viewer's computer, which will vary by operating system and personal preferences.

PostPosted: Tue Dec 20, 2022 3:30 pm
by Hansdeltania
United Calanworie wrote:Yes. This list, if memory serves.

Danke. *Leaves mod cookies*
Trotterdam wrote:That link is about character encoding, not fonts. Totally different things.

The problem with fonts is that NationStates itself doesn't actually serve any fonts. Which fonts are available depends on the viewer's computer, which will vary by operating system and personal preferences.

Hypothetically, all default fonts should show up like Arial or Times New Roman or god forbid Comic Sans.

PostPosted: Tue Dec 20, 2022 6:33 pm
by United Calanworie
Trotterdam wrote:
United Calanworie wrote:It's mildly threadjacky, but short answer no, long answer... character encoding on the site is a meeeeeesssss. See this stackoverflow answer for more details.
That link is about character encoding, not fonts. Totally different things.

I suggest a quick readthrough of this SuperUser answer.

PostPosted: Wed Dec 21, 2022 1:35 am
by Trotterdam
United Calanworie wrote:I suggest a quick readthrough of this SuperUser answer.
...Which doesn't appear to say anything I don't already know and doesn't refute my point?

Character encoding is irrelevant to the question In-dia asked. Although Unicode support can be somewhat inconsistent in the game, it usually works, so that isn't the issue. However, while you can use Unicode to represent just about any character of any writing system under the sun, it's much harder to guarantee that it'll look the same way for each viewer, due to different people having different fonts installed. Most modern computers have at least one Devanagari and Arabic font lying around somewhere (probably not the same font), but really old computers, or minimalist installations by people who figured they'd never use those languages, might not.

Hansdeltania wrote:Hypothetically, all default fonts should show up like Arial or Times New Roman or god forbid Comic Sans.
Linux installations usually omit those fonts due to them technically being proprietary and illegal to use without paying, although they have similar-looking fonts that serve as a substitute.