<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://www.w3.org/Bugs/Public/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4"
          urlbase="https://www.w3.org/Bugs/Public/"
          
          maintainer="sysbot+bugzilla@w3.org"
>

    <bug>
          <bug_id>19475</bug_id>
          
          <creation_ts>2012-10-11 14:27:30 +0000</creation_ts>
          <short_desc>Italic variants of both webfonts not being loaded</short_desc>
          <delta_ts>2012-10-11 15:43:29 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>webplatform.org</product>
          <component>skin</component>
          <version>unspecified</version>
          <rep_platform>All</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Scott Cranfill">scott</reporter>
          <assigned_to name="Lea Verou">lea</assigned_to>
          <cc>lea</cc>
          
          <qa_contact name="public-webplatform-bugs list">public-webplatform-bugs</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>75983</commentid>
    <comment_count>0</comment_count>
    <who name="Scott Cranfill">scott</who>
    <bug_when>2012-10-11 14:27:30 +0000</bug_when>
    <thetext>Both webfont families in use on the site, Bitter and Gudea, have true italic variants that are not being loaded. In Safari, the browser simply shows the upright regular style, but Firefox and Chrome fake the italic style by slanting the text, which looks terrible. (IE still not displaying any webfonts, but I&apos;ll file a separate bug for that.)

A little poking around in Firebug&apos;s Net panel shows that the .woff files are being loaded from these location:

http://docs.webplatform.org/w/skins/webplatform/fonts/gudea-regular-webfont.woff
http://docs.webplatform.org/w/skins/webplatform/fonts/gudea-bold-webfont.woff
http://docs.webplatform.org/w/skins/webplatform/fonts/bitter-regular-webfont.woff
http://docs.webplatform.org/w/skins/webplatform/fonts/bitter-bold-webfont.woff

By simply changing the style in the filename to italic, I was able to download both gudea-italic-webfont.woff and bitter-italic-webfont.woff, so the files are present; it seems they just aren&apos;t being correctly called by the CSS.

Firebug&apos;s CSS panel shows that only the four regular and bold variants are being called. So, all we need to do is add in the calls for the italic variants:

@font-face {
    font-family: &quot;Gudea&quot;;
    font-weight: italic;
    src: url(&quot;skins/webplatform/fonts/gudea-italic-webfont.eot?#iefix&quot;) format(&quot;embedded-opentype&quot;), url(&quot;skins/webplatform/fonts/gudea-italic-webfont.woff&quot;) format(&quot;woff&quot;), url(&quot;skins/webplatform/fonts/gudea-italic-webfont.ttf&quot;) format(&quot;truetype&quot;), url(&quot;skins/webplatform/fonts/gudea-italic-webfont.svg#GudeaItalic&quot;) format(&quot;svg&quot;);
}
@font-face {
    font-family: &quot;Bitter&quot;;
    font-weight: italic;
    src: url(&quot;skins/webplatform/fonts/bitter-italic-webfont.eot?#iefix&quot;) format(&quot;embedded-opentype&quot;), url(&quot;skins/webplatform/fonts/bitter-italic-webfont.woff&quot;) format(&quot;woff&quot;), url(&quot;skins/webplatform/fonts/bitter-italic-webfont.ttf&quot;) format(&quot;truetype&quot;), url(&quot;skins/webplatform/fonts/bitter-italic-webfont.svg#BitterItalic&quot;) format(&quot;svg&quot;);
}

Thanks!</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>75995</commentid>
    <comment_count>1</comment_count>
    <who name="Lea Verou">lea</who>
    <bug_when>2012-10-11 15:32:10 +0000</bug_when>
    <thetext>Should be fixed now, will be live once the cache is refreshed. In the meantime, is there a page with italic test that we can use to test?

Thanks.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>75996</commentid>
    <comment_count>2</comment_count>
    <who name="Scott Cranfill">scott</who>
    <bug_when>2012-10-11 15:39:57 +0000</bug_when>
    <thetext>(In reply to comment #1)
&gt; Should be fixed now, will be live once the cache is refreshed. In the
&gt; meantime, is there a page with italic test that we can use to test?
&gt; 
&gt; Thanks.

Awesome! My cache has updated and I see it now.

If you haven&apos;t dismissed it, the &quot;Alpha&quot; notice at the top of every page in the wiki is in Bitter Italic. Or, see the note in the yellow box in the middle of this page: http://docs.webplatform.org/wiki/Main_Page

And, you can see Gudea Italic in the citation of Alice in Wonderland at the top of this page: http://docs.webplatform.org/wiki/concepts/internet_and_web/the_history_of_the_web

Appreciate the quick turnaround!</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>75997</commentid>
    <comment_count>3</comment_count>
    <who name="Lea Verou">lea</who>
    <bug_when>2012-10-11 15:41:11 +0000</bug_when>
    <thetext>(In reply to comment #2)
&gt; (In reply to comment #1)
&gt; &gt; Should be fixed now, will be live once the cache is refreshed. In the
&gt; &gt; meantime, is there a page with italic test that we can use to test?
&gt; &gt; 
&gt; &gt; Thanks.
&gt; 
&gt; Awesome! My cache has updated and I see it now.
&gt; 
&gt; If you haven&apos;t dismissed it, the &quot;Alpha&quot; notice at the top of every page in
&gt; the wiki is in Bitter Italic. Or, see the note in the yellow box in the
&gt; middle of this page: http://docs.webplatform.org/wiki/Main_Page
&gt; 
&gt; And, you can see Gudea Italic in the citation of Alice in Wonderland at the
&gt; top of this page:
&gt; http://docs.webplatform.org/wiki/concepts/internet_and_web/
&gt; the_history_of_the_web
&gt; 
&gt; Appreciate the quick turnaround!

Scott, are you sure you can see it? I was referring to the server-side cache, and AFAIK it wasn&apos;t updated (unless someone else updated it for another change).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>75998</commentid>
    <comment_count>4</comment_count>
    <who name="Scott Cranfill">scott</who>
    <bug_when>2012-10-11 15:43:29 +0000</bug_when>
    <thetext>(In reply to comment #3)
&gt; Scott, are you sure you can see it? I was referring to the server-side
&gt; cache, and AFAIK it wasn&apos;t updated (unless someone else updated it for
&gt; another change).

Yep, positive! You can tell for certain when you see that the lowercase &apos;f&apos;s now have a descender, or that the lowercase &apos;a&apos;s have changed to single-story &apos;a&apos;s.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>