Help | Site Map
Connecting Tech Pros Worldwide
 
 
LinkBack Thread Tools
  #1  
Old July 20th, 2005, 06:48 PM
London Geek
Guest
 
Posts: n/a
Default Italic rendering problem in Safari

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
  #2  
Old July 20th, 2005, 06:48 PM
Jukka K. Korpela
Guest
 
Posts: n/a
Default Re: Italic rendering problem in Safari

geek@f2s.com (London Geek) wrote:
[color=blue]
> I'm having a rendering problem with italics in Safari 1.2.[/color]

Sounds like you have something that could be asked better in a
stylesheet group or in a browser group.
[color=blue]
> .Title { font-family: Impact; font-size: 96px; }
> <div class="Title">Blahblah</div>[/color]

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.
[color=blue]
> 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).[/color]

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

  #3  
Old July 20th, 2005, 06:49 PM
Andreas Prilop
Guest
 
Posts: n/a
Default Re: Italic rendering problem in Safari

On 23 Feb 2004, London Geek wrote:
[color=blue]
> 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).[/color]

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.

  #4  
Old July 20th, 2005, 06:49 PM
Jukka K. Korpela
Guest
 
Posts: n/a
Default Re: Italic rendering problem in Safari

Andreas Prilop <nhtcapri@rrzn-user.uni-hannover.de> wrote:
[color=blue]
> 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.[/color]

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

  #5  
Old July 20th, 2005, 06:49 PM
Andreas Prilop
Guest
 
Posts: n/a
Default Re: Italic rendering problem in Safari

On Wed, 25 Feb 2004, Jukka K. Korpela wrote:
[color=blue]
> This means that on such platforms (which?), _any_ attempt to make text
> bold or italic (e.g., font-weight: bold and <b>) will fail.[/color]

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.
[color=blue]
> Is there any difference between font-style: italic and font-style:
> oblique in this respect, or between different font-weight values?[/color]

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

 

Bookmarks

Thread Tools

Posting 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 Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

What is Bytes?

We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights. Get the best answers to your questions from over network members.
Post your question now . . .
It's fast and it's free

Popular Articles