diff --git a/README.md b/README.md index e072070..9888d35 100644 --- a/README.md +++ b/README.md @@ -33,11 +33,12 @@ positions = buf.glyph_positions for info, pos in zip(infos, positions): gid = info.codepoint + glyph_name = font.glyph_to_string(gid) cluster = info.cluster x_advance = pos.x_advance x_offset = pos.x_offset y_offset = pos.y_offset - print(f"gid{gid}={cluster}@{x_advance},{y_offset}+{x_advance}") + print(f"{glyph_name} gid{gid}={cluster}@{x_advance},{y_offset}+{x_advance}") ```