mirror of
https://github.com/storytold/harfbuzz.git
synced 2026-12-01 10:34:23 +01:00
[test] Minor save glyph_count
This commit is contained in:
1 parent
cca0ed9bcd
commit
b783967242
1 file changed
+2
-1
@@ -643,7 +643,8 @@ main (int argc, char **argv)
|
||||
}
|
||||
|
||||
hb_face_t *face = hb_test_open_font_file (TEST_GLYPHS);
|
||||
for (unsigned int i = 1; i < hb_face_get_glyph_count (face); i++)
|
||||
unsigned glyph_count = hb_face_get_glyph_count (face);
|
||||
for (unsigned int i = 1; i < glyph_count; i++)
|
||||
{
|
||||
char buf[20];
|
||||
snprintf (buf, 20, "test-%u", i);
|
||||
|
||||
Reference in new issue
Block a user