Problem displaying text in Safari
W.W. Webster
Registered Users Posts: 3,204 Major grins
I don't know if this is a SmugMug problem or a Safari problem, but it can't be my doing and has been bugging me for a long time.
Some text displayed on my Turbo-based site in Safari is not correctly formed (i.e. partly broken up), whereas any other browser (Chrome, Opera and Firefox examples are shown below) do not show this problem. The problem exists for both standard SmugMug windows (for example, text in galleries) and for text boxes created by me.
See the breadcrumb in the same screen segment displayed in different browsers on the same (Apple 30" Cinema Display) monitor below. What gives?
Safari example (borked) -
Opera example (ok) -
Firefox example (ok) -
Chrome example (ok) -
Some text displayed on my Turbo-based site in Safari is not correctly formed (i.e. partly broken up), whereas any other browser (Chrome, Opera and Firefox examples are shown below) do not show this problem. The problem exists for both standard SmugMug windows (for example, text in galleries) and for text boxes created by me.
See the breadcrumb in the same screen segment displayed in different browsers on the same (Apple 30" Cinema Display) monitor below. What gives?
Safari example (borked) -
Opera example (ok) -
Firefox example (ok) -
Chrome example (ok) -
0
Comments
Former SmugMug Product Team
aaron AT aaronmphotography DOT com
Website: http://www.aaronmphotography.com
My SmugMug CSS Customizations website: http://www.aaronmphotography.com/Customizations
To solve this issue - you could try this CSS code:
.sm-user-ui h1 {
font-weight:300;
-webkit-font-smoothing: antialiased;
}
This will make your font little bit thicker and antialiased, which should improve the look of it when viewed on Safari.
I presume it's not possible to make the fix Safari-specific. And I also presume all Safari-browser visitors to every other SmugMug user site suffers this problem, but that the SmugMug user either doesn't realise it or just accepts it?
Does this work:
Former SmugMug Product Team
aaron AT aaronmphotography DOT com
Website: http://www.aaronmphotography.com
My SmugMug CSS Customizations website: http://www.aaronmphotography.com/Customizations
My Website index | My Blog
It's in the HTML tag at the very top ... hiding!
Former SmugMug Product Team
aaron AT aaronmphotography DOT com
Website: http://www.aaronmphotography.com
My SmugMug CSS Customizations website: http://www.aaronmphotography.com/Customizations
You need:
Note the missing space.
Makes me wonder whether SmugMug should implement this change (and for other font sizes) to maintain compatibility with Safari (which is a supported and widely-used browser), as they have done to deal with the innumerable idiosyncrasies of IE (now in steep decline, if not on a path to extinction) over the years!
BTW what would I replace the "h1" with to apply a minimum font thickness to ordinary text?
might be the simplest rule that would catch the most default cases, but I'm not sure how many that might actually *be*. If it doesn't work, you'd have to return with examples of places of text where you'd like the rules to be applied
Doesn't SmugMug have an obligation to deal with this, rather than individual users needing to hack their sites?
The problem with this is that it's a font by font issue. Some fonts have it, others don't. Each font and each browser on each OS decides to render fonts slightly differently and the fix for them is dependent upon the font, the browser and the OS. Some fonts, like these 2, are fixed by forcing anti-aliasing (which only works for OS X Safari but not for other OS's or other browsers on OS X) while other fonts are fixed by performing a text shadow hack or changing the stroke width. Since it depends upon each font it's really hard to do a global fix that solves the issue entirely. I'll see if we can come up with something more globally though.
Former SmugMug Product Team
aaron AT aaronmphotography DOT com
Website: http://www.aaronmphotography.com
My SmugMug CSS Customizations website: http://www.aaronmphotography.com/Customizations