[Webkit-unassigned] [Bug 229179] New: Some font doesn't render with font-variant-ligatures: none;

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Aug 16 23:02:18 PDT 2021


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

            Bug ID: 229179
           Summary: Some font doesn't render with font-variant-ligatures:
                    none;
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Text
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: xidorn-webkit at upsuper.org
                CC: mmaxfield at apple.com

Created attachment 435665

  --> https://bugs.webkit.org/attachment.cgi?id=435665&action=review

font with problem

Steps to reproduce:
1. download the attached font file
2. create an HTML with the following code in the same directory and open it
<!DOCTYPE html>
<html>
<style>
  @font-face {
    font-family: "A";
    src: url(GilSBI30.woff);
  }
  p {
    font: 90px/1 A;
    font-variant-ligatures: none;
  }
</style>
<p><span>Hello world</span></p>
<p>Hello world</p>


Expected result:
It should render the text properly

Actual result:
The text is not rendered


It seems that the font has a bad font metrics with CoreText. In Safari 14, the first line wouldn't display even without `font-variant-ligatures: none;`, but this issue is fixed in the Technology Preview.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20210817/c8dafd17/attachment.htm>


More information about the webkit-unassigned mailing list