Chromium Code Reviews

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: manual merge to help try bots Created 5 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Index: ui/gfx/render_text_harfbuzz.h
diff --git a/ui/gfx/render_text_harfbuzz.h b/ui/gfx/render_text_harfbuzz.h
index d3cba76d561514bc1da2c6947757b603ea51fe44..35ac7a3aa4fb77f34f397c9801b0c1bf81e784f5 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