This commit is contained in:
Behdad Esfahbod 2011-08-07 00:59:58 -04:00
parent 2eb474afb4
commit f6d83b2dcf
1 changed files with 2 additions and 2 deletions

View File

@ -93,7 +93,7 @@ main (int argc, char **argv)
hb_buffer_t *buffer = hb_buffer_create (0);
hb_buffer_add_utf8 (buffer, "test", 4, 0, 4);
hb_buffer_add_utf8 (buffer, "\xe0\xa4\x95\xe0\xa5\x8d\xe0\xa4\xb0\xe0\xa5\x8d\xe0\xa4\x95", -1, 0, -1);
hb_shape (font, buffer, NULL, 0);
@ -106,7 +106,7 @@ main (int argc, char **argv)
hb_glyph_info_t *info = &infos[i];
hb_glyph_position_t *pos = &positions[i];
printf ("cluster %d glyph %d at (%d,%d)+(%d,%d)\n",
printf ("cluster %d glyph 0x%x at (%d,%d)+(%d,%d)\n",
info->cluster,
info->codepoint,
pos->x_offset,