[Webkit-unassigned] [Bug 152393] REGRESSION (r172008): Icon fonts using hinting blurred at odd window widths
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Fri Dec 18 02:18:38 PST 2015
https://bugs.webkit.org/show_bug.cgi?id=152393
--- Comment #9 from Adam Strzelecki <ono at java.pl> ---
It is not reproducible with my test case on Retina because simple (math) reason - 100.5px logical pixels when windows size is 1001, are 201 physical pixels on Retina, so text box begins on physical pixel boundary -> no blur. However one can make some other example such as using divs with percent sizes where calculated with is not integer of Retina pixel, see:
--- octiretina.html
<!DOCTYPE html>
<html>
<head>
<link crossorigin="anonymous" href="https://cdnjs.cloudflare.com/ajax/libs/octicons/3.3.0/octicons.css" media="all" rel="stylesheet">
<head>
<style>
#container {
border: 1px solid silver;
padding: 10px;
width: 500px;
margin: auto;
height: 100%;
}
#left { float: left; width: 33.66667%; }
#right { float: right; width: 33.33333%; }
#clear { clear: both; }
</style>
</head>
</head>
<body>
<div id="container">
<div id="left">
<span class="octicon octicon-repo"></span>
<span class="octicon octicon-plus"></span>
</div>
<div id="right">
<span class="octicon octicon-repo"></span>
<span class="octicon octicon-plus"></span>
</div>
<div id="clear"></div>
</div>
</body>
</html>
--- /octiretina.html
Blur is visible on Retina at right column. So WebKit is not obeying hinting and right font is not pixel aligned on Retina. Tested on my MBP.
--
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/20151218/fb36d6a1/attachment-0001.html>
More information about the webkit-unassigned
mailing list