Mea Culpa

Posted by Zen Sat, 01 Dec 2007 00:01:00 GMT

Visitors to HGMain may have noticed for about a day HGMain’s font was all weired and screwed up. Some reported a font that was too small, some reported a font that was too big, etc.; in all cases it was BAD.

So what the hell happened?

I was doing a quick demo on-site at a conference to a couple of teachers about how easy it is to configure stuff on the web, and I used my test installation of the forums for the demo. After changing a few styles around we went to the control panel settings, and it was then I realized that the configuration was still set to update HG Main’s configuration, so I changed that live to the right location (the testing forums), but didn’t have a chance to fix it on HGMain until I had free time later that evening.

The reason why everything looked so bad? I put quotes into the font-name style box. The forums auto-quoted fonts with spaces in their names already, so when the change was done, it double-quoted everything, resulting in a parsing error that some browser couldn’t deal with—and subsequently caused them to revert to the default font, which is “Times New Roman” for many, and for it to ignore any size settings set by the forums in places where the size is specified along with the font name.

Oops … =S