Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1495)

Unified Diff: ui/gfx/render_text_mac.mm

Issue 1941293002: RenderTextMac: Invoke SkiaTextRenderer::SetFontRenderParams() (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase? Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ui/gfx/render_text_harfbuzz.h ('k') | ui/gfx/render_text_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gfx/render_text_mac.mm
diff --git a/ui/gfx/render_text_mac.mm b/ui/gfx/render_text_mac.mm
index 5a4e5b115b99aa6f1033438e549d602e954e9a76..584f08d49ea2e2ef6fba1ec6cd999b19c74a3f31 100644
--- a/ui/gfx/render_text_mac.mm
+++ b/ui/gfx/render_text_mac.mm
@@ -207,6 +207,9 @@ void RenderTextMac::DrawVisualText(internal::SkiaTextRenderer* renderer) {
ApplyFadeEffects(renderer);
ApplyTextShadows(renderer);
+ renderer->SetFontRenderParams(
+ font_list().GetPrimaryFont().GetFontRenderParams(),
+ subpixel_rendering_suppressed());
for (size_t i = 0; i < runs_.size(); ++i) {
const TextRun& run = runs_[i];
« no previous file with comments | « ui/gfx/render_text_harfbuzz.h ('k') | ui/gfx/render_text_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698