[css3-fonts] font-face matching and font-style descriptor

Posted in dotnet, vb, vb.net | No Comments »

Following feedback on one of our public testcases [1], I contacted John
to clarify some of his comments. While we have resolved the issue with #test3
in the testcase [2] and John will soon edit the spec to clarify it, I
am still unclear about the disagreement over #test1 and #test2 which I reduced
to the attached testcase.

Given the following CSS:

            < at >font-face
            {
                font-family: MyTestFont;
                src: local(Arial);
                font-style: italic;
            }
            #test {
                font-family: MyTestFont;
                font-style: italic;
            }     

...does #test render as italic or not ?

Firefox and Opera say no. WebKit and IE9 say yes.
So Firefox/Opera only use the font-style descriptor for font matching.
IE9 and WebKit use it for both matching and styling.

The first question is: what does the spec say ? Is there prose that unambiguously
states who is right ?

spec's intent.

If that is the case my next question is: is this rea

Similar:

  1. [css3-fonts] font-face and !important Hi, I was trying to figure out what to do about !important and properties of the < at >viewport rule. I checked how it's handled...
  2. [css3-fonts] How to handle download error in case of multiple font-face for a font-family? Hi, Assume we have the following < at >font-face rules: /* First*/ < at >font-face { font-family:myfont; src: url(General.ttf); } /* Second */ < at...
  3. Firefox 3.5 on a Mac and @font-face Hello all, Im having a problem with @font-face. It actually works flawlessly on Safari, internet explorer 7+ and Firefox for windows but not at all...
  4. Why are my descenders being cut off when using CSS @font-face? I’m using the Google webfonts API to embed Droid Sans on a page. All is fine, except for the descenders (i.e. the dangly bits on...
  5. Using FontSquirrel @Font-Face Generator: font quite fuzzy in Firefox Mac Firefox (3.6.3). Font looks sharp in Chrome, Safari, IE8 (not as good as other 2, but less fuzzy than Firefox). Any work arounds? How...

Leave a Reply