[Webkit-unassigned] [Bug 150100] New: Italic text using web font is rendering as bold

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Oct 13 14:11:48 PDT 2015


https://bugs.webkit.org/show_bug.cgi?id=150100

            Bug ID: 150100
           Summary: Italic text using web font is rendering as bold
    Classification: Unclassified
           Product: WebKit
           Version: Safari 9
          Hardware: Macintosh
                OS: Mac OS X 10.11
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Text
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: ehinter at gmail.com

I have some text using Gotham with @font-face and is wrapped in an <i> tag. It's rendering as both bold and italic on Safari. In Chrome and Firefox it shows as italic only. If I change it to use the default system font then it renders properly in Safari (just italic). This just started happening when I upgraded to El Capitan (it did not happen in Yosemite).

Here is my font face declaration:

    @font-face {
        font-family: 'Gotham';
        font-weight: 400;
        src: url({{font_url_prefix}}/Gotham-Book.otf);
    }
    @font-face {
        font-family: 'Gotham';
        font-weight: 700;
        src: url({{font_url_prefix}}/Gotham-Bold.otf);
    }

Here is my markup:

<p>
    <i>Note: This proposal is based off of a preliminary blueprint of your property, created from publicly available satellite imagery. Your proposal may need to be refined if the blueprint significantly misrepresents the current layout of your property. Additionally, some properties may require an initial cleanup before we can begin our regular service.</i>
</p>

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20151013/dd37c3a8/attachment.html>


More information about the webkit-unassigned mailing list