[Webkit-unassigned] [Bug 174031] New: Safari always assumes mono-spaced square characters when loading fonts

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Jun 30 11:12:29 PDT 2017


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

            Bug ID: 174031
           Summary: Safari always assumes mono-spaced square characters
                    when loading fonts
           Product: WebKit
           Version: Safari 10
          Hardware: All
                OS: All
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: CSS
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: dvoytenko at google.com

See example: http://output.jsbin.com/jexixam/quiet

Initially, before the "Slow" font-face has been loaded or timed out, the sample text takes about 2.5-3x more space to layout (on iOS, it takes about 8-9 lines and once the font is loaded/timed out, it takes only 3 lines). In other words, the estimate is too rough.

It appears that Safari assumes mono-wide square characters, which is very uncommon. It might be a better option to use a fallback font to estimate character layout before the desired font is loaded (as in `font-family: Slow, Arial` where "Arial" is already available as the fallback). This would also reduce the work the browser has to do in case of timeout.

-- 
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/20170630/949353eb/attachment.html>


More information about the webkit-unassigned mailing list