mirror of
https://github.com/servo/servo.git
synced 2025-08-06 22:15:33 +01:00
Improve font layout in Linux / Freetype platforms.
This patch contains two small changes: * Fix the font size calculation that is passed to Freetype. This now matches exactly how Webrender and Gecko calculate font size to pass to layout. * Enable light hinting by default for fonts when using Freetype. We should make this configurable in the future, but this is a better default than no hinting (and matches what most Linux distros default to). These two changes (along with the pending WR update) fix a lot of the font layout issues on Linux. There is still at least one remaining issue with hidpi displays on Linux that will be fixed in a follow up patch.
This commit is contained in:
parent
ebfc8f5858
commit
83e5a82388
2 changed files with 17 additions and 12 deletions
|
@ -1,4 +0,0 @@
|
|||
[background-size-contain.htm]
|
||||
type: reftest
|
||||
expected:
|
||||
if os == "linux": FAIL
|
Loading…
Add table
Add a link
Reference in a new issue