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

Unified Diff: gm/verttext2.cpp

Issue 1818043002: SkTypeface::MakeFromName to take SkFontStyle. (Closed) Base URL: https://chromium.googlesource.com/skia.git@master
Patch Set: Android fix + nit fix Created 4 years, 7 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 | « gm/variedtext.cpp ('k') | include/core/SkTypeface.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gm/verttext2.cpp
diff --git a/gm/verttext2.cpp b/gm/verttext2.cpp
index 79cbdbcc8baee1d8871282e117056240b505f6b4..9afedc6078a25e965698e54519d1829273e76328 100644
--- a/gm/verttext2.cpp
+++ b/gm/verttext2.cpp
@@ -24,9 +24,9 @@ protected:
const int pointSize = 24;
textHeight = SkIntToScalar(pointSize);
fProp = SkTypeface::MakeFromName(sk_tool_utils::platform_font_name("sans-serif"),
- SkTypeface::kNormal);
+ SkFontStyle());
fMono = SkTypeface::MakeFromName(sk_tool_utils::platform_font_name("monospace"),
- SkTypeface::kNormal);
+ SkFontStyle());
}
SkString onShortName() override {
« no previous file with comments | « gm/variedtext.cpp ('k') | include/core/SkTypeface.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698