Consolidate fetching Windows system fonts into platform_font_win.
Half of requested cleanup following text scaling issues with Windows Text Zoom accessibility feature. Removes calls to GetNonClientMetrics() sprinkled around the code, as well as most uses of the Windows LOGFONT struct outside of platform_font_win and its callbacks. The remainder of the cleanup will be in a followup CL, which will consolidate all of the fiddly scaling and other uses of LOGFONT into platform_font_win. Bug: 888788 Change-Id: Iff47d2037b6a70210bd1eb0f24ab2f0430c59f86 Reviewed-on: https://chromium-review.googlesource.com/1246824Reviewed-by:Robert Liao <robliao@chromium.org> Reviewed-by:
Scott Violet <sky@chromium.org> Commit-Queue: Dana Fried <dfried@chromium.org> Cr-Commit-Position: refs/heads/master@{#594889}
Showing
Please register or sign in to comment