NATION

PASSWORD

Fonts Changing Depending On What Device You View Them On?

Bug reports, general help, ideas for improvements, and questions about how things are meant to work.
User avatar
Wentsworth
Secretary
 
Posts: 29
Founded: Aug 23, 2012
Father Knows Best State

Fonts Changing Depending On What Device You View Them On?

Postby Wentsworth » Tue Nov 13, 2018 1:29 am

I've noticed my Factbook changes fonts depending on what device I'm looking at. For example on my desktop screen, it appears as this;
https://i.imgur.com/qlt73Uu.png

While viewing it on my laptop and phone, it appears like this;
https://imgur.com/8ikAUDE
and this;
https://imgur.com/n20bjtx

As you can probably see, the font in the desktop's pic is different from the laptop and phone. The font is supposed to be Century Gothic, yet it appears as Garamound.

I confirmed this by making a new factbook on my desktop monitor, writing the same text, but one with Century Gothic and the other with Garamound. You can check it yourself here.
This is what it looks like for me on my desktop screen;
https://imgur.com/tj614cF

Also the font sizes look a little off for me, all these factbooks were made with normal fontsizes, yet they look considerably shrunken down for me. This issue occurs for every factbook I've made with Century Gothic as a font but only with this monitor, and not with other computers, which show the font correctly.

Also the monitor I'm using is 24inch, 1080p, 75hz, 16:9 aspect ratio, just a typical monitor. Used Chrome as the browser on all of them and all on the full site.

Any clue on whats going on here?
E pluribus unum

User avatar
USS Monitor
Retired Moderator
 
Posts: 30747
Founded: Jul 01, 2015
Inoffensive Centrist Democracy

Postby USS Monitor » Tue Nov 13, 2018 1:39 am

It sounds like something to do with the settings on your browser or device, not a problem with NS.
Don't take life so serious... it isn't permanent... RIP Dyakovo and Ashmoria
19th century steamships may be harmful or fatal if swallowed. In case of accidental ingestion, please seek immediate medical assistance.
༄༅། །འགྲོ་བ་མི་རིགས་ག་ར་དབང་ཆ་འདྲ་མཉམ་འབད་སྒྱེཝ་ལས་ག་ར་གིས་གཅིག་གིས་གཅིག་ལུ་སྤུན་ཆའི་དམ་ཚིག་བསྟན་དགོས།

User avatar
Wentsworth
Secretary
 
Posts: 29
Founded: Aug 23, 2012
Father Knows Best State

Postby Wentsworth » Tue Nov 13, 2018 1:54 am

USS Monitor wrote:It sounds like something to do with the settings on your browser or device, not a problem with NS.

The browser is the same, Google Chrome, and as far as I can tell, on the same version. Tried it on Firefox to be sure, same issue.

Also I don't think its possible for my monitor to visually change a font on a specific website, especially since when viewing it on another website, I can see the difference;

Century Gothic for me on another site;
https://imgur.com/wzpOObS

Garamond for me on another site;
https://imgur.com/QvFYSAF

Also comparing Garamond to Arial on NS, I can see the difference;
https://imgur.com/mLjXhvR

Also I actually misspelled the font a couple of times, its "Garamond", not "Garamound", yet they actually both work in NS (even though "Garamound" isn't a real font) so I don't know whats up with that as well.

EDIT; Here it is for me on Firefox, same issue.
https://imgur.com/4KTKrW1

Interested in knowing what other people see on that factbook and what they're viewing it on.
Last edited by Wentsworth on Tue Nov 13, 2018 2:02 am, edited 1 time in total.
E pluribus unum

User avatar
Trotterdam
Postmaster-General
 
Posts: 10541
Founded: Jan 12, 2012
Left-Leaning College State

Postby Trotterdam » Tue Nov 13, 2018 5:25 am

NationStates has nothing at all to do with which fonts you can see. That depends entirely on which fonts are installed on your device, and how your device recognizes font names. If different devices show different fonts, that's because you have different fonts installed on them (note that this typically has more to do with your operating system, i.e. Windows/iOS/Linux/etc., than your internet browser, i.e. Mozilla/Chrome/Opera/etc.). Most likely, your desktop computer simply doesn't have Century Gothic installed, and so falls back to Garamond because you've configured that as your default font on your browser.

The only universally safe fonts on the WWW are "serif", "sans-serif", and "monospace", which your browser will interpret as whatever matching fonts you happen to have on your system. You can also list multiple fonts, separated by commas, as a safety net: if a device doesn't have one font installed, the browser will try the next in line.

One thing that might depend on your browser, though: spaces. When a font name contains a space or other weird characters in it, try enclosing it in "quotes" to prevent browsers from getting confused. (Don't enclose serif/sans-serif/monospace in quotes when actually using them.)

User avatar
Wentsworth
Secretary
 
Posts: 29
Founded: Aug 23, 2012
Father Knows Best State

Postby Wentsworth » Tue Nov 13, 2018 7:21 pm

After some file digging, it does appear that I was missing the Century Gothic font file. Just copied the font file from the PC that did have it to the one that didn't. Seems like it was just random Windows shenanigans.

Guess this issue is resolved.
E pluribus unum


Return to Technical

Who is online

Users browsing this forum: Autumn Meadows, Bormiar, Heromerland, Kaweah Orosi, Khantin, Nerasian Empire, Rusrunia, Soveriegn, The Terren Dominion, Thorn1000, Untecna

Advertisement

Remove ads