commit | e1b855d4545dc4fff19cee500d7ce105126f3bd2 | [log] [tgz] |
---|---|---|
author | Maksim Kolesin <mkolesin@gmail.com> | Tue Feb 13 23:08:53 2018 |
committer | Commit Bot <commit-bot@chromium.org> | Tue Feb 13 23:08:53 2018 |
tree | a286818202b2610617b76fa25cbc97c422b5ac66 | |
parent | 4af8458721cdfcb5aa83011e154960a0e4020987 [diff] |
using HINTING_FULL by default in headless builds, added command line parameter to override it These changes fix font rendering differences between headless and non-headless runs on linux. Default font hinting is HINTING_MEDIUM, which leads to usage of subpixel glyphs positioning in Skia. But in desktop environment hinting eventually resolves to HINTING_FULL and we get slightly different font rendering as a result and no option to control it using command line flags. In this commit --font-render-hinting is added as a new command line parameter for headless runs with HINTING_FULL as a default value R=dvallet@chromium.org, skyostil@google.com Bug: 744577 Change-Id: Iffac55899a7ac98c418d9ee5b4af961017cfb09a Reviewed-on: https://chromium-review.googlesource.com/899248 Reviewed-by: Sami Kyöstilä <skyostil@chromium.org> Commit-Queue: David Vallet <dvallet@chromium.org> Cr-Commit-Position: refs/heads/master@{#536535}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .