Post subject: Strange Homepage Font
Experienced player (521)
Joined: 11/2/2010
Posts: 359
I have a question about the fonts on the homepage and I figured this was the best place to put it since it really doesn't matter. On the homepage my font looks like this when any video except SNES Mega Man & Bass (JPN) "100 CDs" is listed in the featured movie box. Then when that video is the in slot my font changes to this. I was just wondering why the font changes when that video is the in the box because it stays the normal font on all other pages including other pages that list or feature that particular movie, excluding the home page and its submission page. Like I said it doesn't matter I was just curious why the change happened.
Joined: 6/4/2009
Posts: 570
Location: 33°07'41"S, 160°42'04"W
That looks like a generic Japanese font, your browser is probably automatically switching the page encoding because there are some kanji in the video description. Thus, the whole page displays in a different way. Try to fiddle with the encoding settings.
Banned User
Joined: 3/10/2004
Posts: 7698
Location: Finland
Which browser are you using? Looks like some kind of bug in your browser, which changes the fonts of the entire page if even one character is a kanji. I have never noticed such a phenomenon in any browser I have used in several systems. Are you using an unconventional web browser?
Dwedit
He/Him
Joined: 3/24/2006
Posts: 692
Location: Chicago
I know that browsers sometimes change the fonts when it autodetects Shift-JIS, and there no CSS anywhere else to set a default font.
Joined: 11/22/2004
Posts: 1468
Location: Rotterdam, The Netherlands
Dwedit wrote:
I know that browsers sometimes change the fonts when it autodetects Shift-JIS, and there no CSS anywhere else to set a default font.
TASVideos has utf8 explicitly defined as its character encoding, in the XML declaration. Maybe it needs to have a <meta> tag as well? I'm not sure if it sends an utf8 header.
Emulator Coder, Skilled player (1113)
Joined: 5/1/2010
Posts: 1217
Dada wrote:
TASVideos has utf8 explicitly defined as its character encoding, in the XML declaration. Maybe it needs to have a <meta> tag as well? I'm not sure if it sends an utf8 header.
$ HEAD http://tasvideos.org/
200 OK
Connection: close
Date: Tue, 17 Jan 2012 12:45:17 GMT
Server: Apache/2.2.16 (Debian)
Vary: Accept-Encoding
Content-Type: text/html; charset=utf-8
Client-Date: Tue, 17 Jan 2012 12:45:54 GMT
Client-Peer: 206.51.237.49:80
Client-Response-Num: 1
So it says the front page is HTML using UTF-8 character set. Given that <meta> is for sending the equivalent of headers, I wouldn't see how that would help. But then, given all sorts of browsers out there...
Joined: 11/22/2004
Posts: 1468
Location: Rotterdam, The Netherlands
Yeah, we need browser type and version, and same for OS. Probably a browser specific bug.
Warepire
He/Him
Editor
Joined: 3/2/2010
Posts: 2178
Location: A little to the left of nowhere (Sweden)
It happens with Opera 12 alphas, maybe older Operas also. But I never cared about the problem so I didn't report it. (Seen it for several weeks)
Experienced player (521)
Joined: 11/2/2010
Posts: 359
I am using Opera 11.60 on Windows Vista 32 bit. Like I said it only changes on the homepage and the actual submission page for that movie whereas the list of SNES movies or the special movie pages which also contain the characters it does not change the font. It also occurs on the page for sparky's SNES Rockman & Forte "Rockman" so it seems to clearly have something to do with the characters. I have checked in Firefox and the font change does not occur so it seems to be Opera specific. I tried checking in IE but the fonts in IE don't match with what appears in the other browsers regardless of if those characters are present or not so I can't really comment there.