summaryrefslogtreecommitdiffstats
path: root/ui/gfx/render_text_win.h
diff options
context:
space:
mode:
Diffstat (limited to 'ui/gfx/render_text_win.h')
-rw-r--r--ui/gfx/render_text_win.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/ui/gfx/render_text_win.h b/ui/gfx/render_text_win.h
index 8b42bc9..a419669 100644
--- a/ui/gfx/render_text_win.h
+++ b/ui/gfx/render_text_win.h
@@ -25,14 +25,14 @@ struct TextRun {
ui::Range range;
Font font;
- // TODO(msw): Disambiguate color, strike, etc. from TextRuns.
- // Otherwise, this breaks the glyph shaping process.
- // See the example at: http://www.catch22.net/tuts/neatpad/12.
- SkColor foreground;
// A gfx::Font::FontStyle flag to specify bold and italic styles.
// Supersedes |font.GetFontStyle()|. Stored separately to avoid calling
// |font.DeriveFont()|, which is expensive on Windows.
int font_style;
+
+ // TODO(msw): Disambiguate color/style from TextRuns for proper glyph shaping.
+ // See an example: http://www.catch22.net/tuts/uniscribe-mysteries
+ SkColor foreground;
bool strike;
bool diagonal_strike;
bool underline;