Open call for Board Member and Moderator positions in Coin Return. More information here.
Sign up to win MNC Dover's voice! Details here.

Comic page - inconsistent fonts

mausmalonemausmalone Registered User regular
edited October 2011 in H.Q. Reception Desk
Not sure if it's okay to post site bugs here or if this should only be forum bugs, but I really did look for a way to contact the site proper admins first. Since I couldn't find one I'm posting it here.

I'm seeing a bug on the current comic page where it doesn't load the Rockwell font for Firefox 7.0. It's apparently just not finding the file at all. EDIT: It appears to be fixed in Firefox 8.0, so this may have just been a one-version glitch.

911.png
(top: current comic page. bottom: archived comic page)

The fix: Update http://penny-arcade.com/assets/css/rockwell.css with root-relative URLs
/*--------------------------------------*/
/* CSS Created by Penny Arcade - 2010 --*/
/* www.penny-arcade.com ----------------*/
/*--------------------------------------*/

@charset "UTF-8";

/*---------------------*/
/* Rockwell Bold ------*/
/*---------------------*/
@font-face {
	font-family: 'RockwellBold';
	src: url('/assets/css/fonts/rockwell_bold-webfont.eot');
	src: local('☺'), url('/assets/css/fonts/rockwell_bold-webfont.woff') format('woff'), url('/assets/css/fonts/rockwell_bold-webfont.ttf') format('truetype'), url('/assets/css/fonts/rockwell_bold-webfont.svg#webfont1tvhQwzh') format('svg');
	font-weight: normal;
	font-style: normal;
}
/*---------------------*/
/* Rockwell Regular ---*/
/*---------------------*/
@font-face {
	font-family: 'Rockwell';
	src: url('/assets/css/fonts/rockwell-webfont.eot');
	src: local('☺'), url('/assets/css/fonts/rockwell-webfont.woff') format('woff'), url('/assets/css/fonts/rockwell-webfont.ttf') format('truetype'), url('/assets/css/fonts/rockwell-webfont.svg#webfontzabTfhFB') format('svg');
	font-weight: normal;
	font-style: normal;
}

Also, those cute smiley faces don't work unless you push out a header on the CSS letting the browser know it's UTF-8 encoded, or add a @charset definition in the CSS file (right now it's being pushed out as ISO-8859-1).

266.jpg
mausmalone on
Sign In or Register to comment.