提交 75da37dc 编写于 作者: B Behdad Esfahbod

Minor

上级 e05a9994
......@@ -74,18 +74,18 @@ struct shape_closure_consumer_t : option_group_t
/* Print it out! */
bool first = true;
for (hb_codepoint_t i = -1; hb_set_next (glyphs, &i);)
if (hb_set_has (glyphs, i)) {
if (first)
first = false;
else
printf (" ");
char glyph_name[32];
if (show_glyph_names) {
hb_font_get_glyph_name (font, i, glyph_name, sizeof (glyph_name));
printf ("%s", glyph_name);
} else
printf ("%u", i);
}
{
if (first)
first = false;
else
printf (" ");
char glyph_name[32];
if (show_glyph_names) {
hb_font_get_glyph_name (font, i, glyph_name, sizeof (glyph_name));
printf ("%s", glyph_name);
} else
printf ("%u", i);
}
}
void finish (const font_options_t *font_opts)
{
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册