[Webkit-unassigned] [Bug 155319] "Font-Variant-East-Asian: proportional-width" does not work while being defined within @font-face block in cooperation with unicode-range. (Font features specified in @font-face blocks can't force us down the complex text codepath)

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Mar 10 15:07:57 PST 2016


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

--- Comment #27 from Shiki Suen <shikisuen at outlook.com> ---
(In reply to comment #21)
> Actually, the original content had "HiraKana, 'Hiragino Kaku Gothic ProN'"
> which means were were falling back to Hiragino Kaku Gothic ProN, except that
> fallback font doesn't have font-variant-east-asian: proportional-width
> enabled, so it is treated as a distinct font.

You were absolutely not falling back to Hiragino Kaku Gothic ProN at first. You create an HTML which consists the following contents, and you could see that the @font-face with Unicode Range also omits western font variants:

=================
<!DOCTYPE html>
<html>
  <head>
  <meta charset="UTF-8">
  <title>"font-variant-east-asian" in "@font-face"</title>
<style>

@font-face {unicode-range: U+0061;   /* a */
font-family: SMALLCAPS-A; src: local('Georgia'); font-variant: small-caps;}
sample {font-family: SMALLCAPS-A, Helvetica;}
sample2 {font-family: Georgia; font-variant: small-caps;}

</style>
  </head>
  <body>
      <h1></h1>
    <p><sample>
    Idea.
    </sample></p>
    <p><sample2>
    Idea.
    </sample2></p>
  </body>
</html>

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20160310/9cf7860c/attachment-0001.html>


More information about the webkit-unassigned mailing list