-
Etienne Bergeron authored
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 R=robliao@chromium.org,asvitkine@chromium.org Bug: 989476 Change-Id: Ie88ccf4452c5156de48e4f4a4bda87bd167850e4 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1732733Reviewed-by:
Alexei Svitkine <asvitkine@chromium.org> Reviewed-by:
Robert Liao <robliao@chromium.org> Commit-Queue: Etienne Bergeron <etienneb@chromium.org> Cr-Commit-Position: refs/heads/master@{#683774}
728cd3a1