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

Unified Diff: core/fxge/apple/fx_apple_platform.cpp

Issue 2411833002: Fix negative font rendering on Mac by reversing matrix c component. (Closed)
Patch Set: Created 4 years, 2 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: core/fxge/apple/fx_apple_platform.cpp
diff --git a/core/fxge/apple/fx_apple_platform.cpp b/core/fxge/apple/fx_apple_platform.cpp
index 2108d4d2e46432124cec8d62e48a9692d1b40261..211e5745e21b787c15bb9b9a140142d6f3655e33 100644
--- a/core/fxge/apple/fx_apple_platform.cpp
+++ b/core/fxge/apple/fx_apple_platform.cpp
@@ -72,6 +72,7 @@ FX_BOOL CGDrawGlyphRun(CGContextRef pContext,
}
if (bNegSize) {
new_matrix.a = -new_matrix.a;
+ new_matrix.c = -new_matrix.c;
} else {
new_matrix.b = -new_matrix.b;
new_matrix.d = -new_matrix.d;
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698