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

Unified Diff: ui/gfx/render_text_harfbuzz.h

Issue 924543004: adding baseline options for super/sub scripting (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Changing baseline styles from bool list to breaklist Created 5 years, 10 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 d0e167ecbed1cc421ec7b9eef17fb1aa0d8e50f1..0902e211d6acd8af60510d9fa06ac6cf13084379 100644
--- a/ui/gfx/render_text_harfbuzz.h
+++ b/ui/gfx/render_text_harfbuzz.h
@@ -70,6 +70,8 @@ struct GFX_EXPORT TextRunHarfBuzz {
skia::RefPtr<SkTypeface> skia_face;
FontRenderParams render_params;
int font_size;
+ int baseline_offset;
+ int baseline_type;
int font_style;
bool strike;
bool diagonal_strike;

Powered by Google App Engine
This is Rietveld 408576698