[hb-shape] Add --show-text and --show-unicode options
diff --git a/util/options.hh b/util/options.hh
index fbf5f36..470a313 100644
--- a/util/options.hh
+++ b/util/options.hh
@@ -283,6 +283,8 @@
show_glyph_names = true;
show_positions = true;
show_clusters = true;
+ show_text = false;
+ show_unicode = false;
add_options (parser);
}
@@ -291,14 +293,18 @@
void add_options (option_parser_t *parser);
- void serialize (hb_buffer_t *buffer,
- hb_font_t *font,
- GString *gs);
+ void serialize_unicode (hb_buffer_t *buffer,
+ GString *gs);
+ void serialize_glyphs (hb_buffer_t *buffer,
+ hb_font_t *font,
+ GString *gs);
protected:
hb_bool_t show_glyph_names;
hb_bool_t show_positions;
hb_bool_t show_clusters;
+ hb_bool_t show_text;
+ hb_bool_t show_unicode;
};