render   incorrectly in CentOS Chrome
Reported by
hejinjun...@gmail.com,
Nov 16
|
|||
Issue descriptionUserAgent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.102 Safari/537.36 Steps to reproduce the problem: 1. open the index.html in CentOS chrome or chromium web browser 2. find the underline difference between CentOS and other OS(macOS, windows, ubuntu) What is the expected behavior? the underline is render same as the other OS What went wrong? the underline is render shorter than expect Did this work before? No Does this work in other browsers? Yes Chrome version: 70.0.3538.102 Channel: stable OS Version: CentOS 7.5.1804 Flash Version: this bug is also can reproduce in CentOS 7.3
,
Nov 16
same font, CentOS render longer than other OS
,
Nov 16
@drott, can you comment here? My guess is that the Microsoft YaHei font isn't available on the CentOS system, so these are being rendered with different fonts. Hence the longer underline.
,
Nov 17
It is not guaranteed that two different platforms produce the same horizontal run length, even if the font is identical. This is due to differences in what exact metrics they read from the font, or how rasterization is configured (antialiasing, hinting, subpixel positioning, etc.).
,
Nov 17
Great tip, thank you, now I think it's CentOS's issue to render font not Chrome's. |
|||
►
Sign in to add a comment |
|||
Comment 1 by hejinjun...@gmail.com
, Nov 16