commit | 728cd3a19fa4e1876e9bfcab9cf3bf52514460c6 | [log] [tgz] |
---|---|---|
author | Etienne Bergeron <[email protected]> | Fri Aug 02 22:34:25 2019 |
committer | Commit Bot <[email protected]> | Fri Aug 02 22:34:25 2019 |
tree | dc692747c188db975067cba34d2e7cdc24727b9f | |
parent | 6f6005037957af633b2cc6c1ca7aefb30e66d28d [diff] |
Keep font styles for system fonts This CL is fixing the imports of the system fonts. The previous code was not taking care of the font styles. The bug was introduced here: https://chromium-review.googlesource.com/c/chromium/src/+/1544229 The system font is created only by it's name and size: return Font(PlatformFont::CreateFromNameAndSize(font_name, font_size)); Some users are overriding the system font with a custom one. That font may have some styles. The default windows configuration doesn't allow to change the font styles, but advanced fonts software may do. Advanced System Font Changer: https://www.wintools.info/index.php/advanced-system-font-changer-icon-settings [email protected],[email protected] Bug: 989476 Change-Id: Ie88ccf4452c5156de48e4f4a4bda87bd167850e4 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1732733 Reviewed-by: Alexei Svitkine <[email protected]> Reviewed-by: Robert Liao <[email protected]> Commit-Queue: Etienne Bergeron <[email protected]> Cr-Commit-Position: refs/heads/master@{#683774}
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 .