By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
454,632 Members | 1,425 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 454,632 IT Pros & Developers. It's quick & easy.

Italic rendering problem in Safari

P: n/a
Hello,

I'm having a rendering problem with italics in Safari 1.2. The
following displays correctly and is consistent with other Mac and
non-Mac browsers:

..Title { font-family: Impact; font-size: 96px; }
<div class="Title">Blahblah</div>

If I change the stylesheet into
..Title { font-family: Impact; font-size: 96px; font-style: italic }
I get complete rubbish in Safari (correctly sized, though).

Is this a known bug in Safari or is there something I can do in the
above code to fix the problem?
Thanks

geek
Jul 20 '05 #1
Share this Question
Share on Google+
4 Replies


P: n/a
ge**@f2s.com (London Geek) wrote:
I'm having a rendering problem with italics in Safari 1.2.
Sounds like you have something that could be asked better in a
stylesheet group or in a browser group.
.Title { font-family: Impact; font-size: 96px; }
<div class="Title">Blahblah</div>
ObHTML: It looks very much like you should actually use
<h1>Blahblah</h1>. If Blahblah is meant to be a 1st level heading, that
markup would be more logical - and actually easier to use.
If I change the stylesheet into
.Title { font-family: Impact; font-size: 96px; font-style: italic }
I get complete rubbish in Safari (correctly sized, though).


Before composing a question to be posted to a more suitable group, you
might try to interpolate at which size this happens. But it looks like
a browser bug - maybe the poor browser just gets confused when trying
to construct a large version of the font.

--
Yucca, http://www.cs.tut.fi/~jkorpela/
Pages about Web authoring: http://www.cs.tut.fi/~jkorpela/www.html

Jul 20 '05 #2

P: n/a
On 23 Feb 2004, London Geek wrote:
I'm having a rendering problem with italics in Safari 1.2.

If I change the stylesheet into
.Title { font-family: Impact; font-size: 96px; font-style: italic }
I get complete rubbish in Safari (correctly sized, though).


The font "family" Impact consists of a single font. There is no bold
and no italic font of Impact. Some platforms do not render "bold"
or "italic" when the specified typeface has only one style.
Famous example is Arial Unicode MS.

Jul 20 '05 #3

P: n/a
Andreas Prilop <nh******@rrzn-user.uni-hannover.de> wrote:
The font "family" Impact consists of a single font. There is no bold
and no italic font of Impact. Some platforms do not render "bold"
or "italic" when the specified typeface has only one style.
Famous example is Arial Unicode MS.


Just for clarification, or to confirm my fears:

This means that on such platforms (which?), _any_ attempt to make text
bold or italic (e.g., font-weight: bold and <b>) will fail. Moreover,
HTML elements that by browser defaults have bold or italic rendering as
and no other visual effect, such as <em>, will effectively fail to
convey their message - e.g., emphasized text will look like normal text
(unless style sheets are used to change this).

The impact (no pun intended) looks serious, but I would classify it as
a browser bug more than anything else.

Is there any difference between font-style: italic and font-style:
oblique in this respect, or between different font-weight values?

--
Yucca, http://www.cs.tut.fi/~jkorpela/
Pages about Web authoring: http://www.cs.tut.fi/~jkorpela/www.html

Jul 20 '05 #4

P: n/a
On Wed, 25 Feb 2004, Jukka K. Korpela wrote:
This means that on such platforms (which?), _any_ attempt to make text
bold or italic (e.g., font-weight: bold and <b>) will fail.
This has been reported in this (or the stylesheet) group a few times.
IIRC, it always referred to Linux. I have no personal experience
with this effect.
Is there any difference between font-style: italic and font-style:
oblique in this respect, or between different font-weight values?


Don't know. Set up a test page and ask in the browsers' groups?

Jul 20 '05 #5

This discussion thread is closed

Replies have been disabled for this discussion.