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

Unified Diff: ui/gfx/render_text_harfbuzz.h

Issue 1819753003: Allow various font weights in gfx. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Address Alexei's issues 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
Index: ui/gfx/render_text_harfbuzz.h
diff --git a/ui/gfx/render_text_harfbuzz.h b/ui/gfx/render_text_harfbuzz.h
index e91effe694bdcbd4eaa9e44970bfbb98c7406c20..d62e34c28fb6269d4a701ea703961aab43dbe223 100644
--- a/ui/gfx/render_text_harfbuzz.h
+++ b/ui/gfx/render_text_harfbuzz.h
@@ -78,7 +78,8 @@ struct GFX_EXPORT TextRunHarfBuzz {
int font_size;
int baseline_offset;
int baseline_type;
- int font_style;
+ bool italic;
+ gfx::Font::Weight weight;
Alexei Svitkine (slow) 2016/04/05 16:38:53 Remove gfx::
bool strike;
bool diagonal_strike;
bool underline;

Powered by Google App Engine
This is Rietveld 408576698