Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Applications > Weird Safari/iframe Font Issue

Weird Safari/iframe Font Issue
Thread Tools
Addicted to MacNN
Join Date: Jan 2000
Location: Stoneham, MA, USA
Status: Offline
Reply With Quote
Dec 1, 2011, 07:22 AM
 
So I have this web page that loads into an iFrame. It does this on purpose, so the parent page can check that the child server is actually up. That way, if that server is down, you'll get an offline page right away, rather than waiting and waiting for a time-out. And also I do it this way so it's less confusing for people, as the child server has to run on a non-standard TCP/IP port.

So on to the issue. In safari, and only safari, the web page that loads into the iframe get's it's fonts "thinned". It's very strange. The font is not bold, it's normal. And in other browsers, it's normal even in the frame. But in safari, when you load the page directly, the font is normal. But when you load in the iframe, the font gets extra thinned.

Here's a sample. Safari on the left, FireFox on the right. As I said, this isn't just a matter of "different browsers, different font rendering". Pages that are not in an iframe DO look the same across browsers. It's only the iframe that causes the anorexic type.


If you want to check this effect out in person, just click the 'ColdMac' link in my sig.
     
l008com  (op)
Addicted to MacNN
Join Date: Jan 2000
Location: Stoneham, MA, USA
Status: Offline
Reply With Quote
Dec 1, 2011, 07:23 AM
 
Actually that's a better example than I even thought. The box 'titles', the "Status", "Extremes" text is standard font-weight: bold; and all of the rest of the text is normal text. Even bold gets less bold.
     
   
Thread Tools
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 05:49 AM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2