diff options
author | Matthias Clasen <mclasen@redhat.com> | 2022-06-22 16:02:10 -0400 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2022-06-22 16:02:31 -0400 |
commit | f8c25ab87f1bf20ee6316d126a0917e4ad71a212 (patch) | |
tree | d47008fadda8d90594ebae17dc87fa67f56f6abe /examples/userfont.c | |
parent | 1c3973c9eee4dffb7e853a80f57a3e26dad4b781 (diff) | |
download | pango-f8c25ab87f1bf20ee6316d126a0917e4ad71a212.tar.gz |
Update userfont example for changes
Diffstat (limited to 'examples/userfont.c')
-rw-r--r-- | examples/userfont.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/userfont.c b/examples/userfont.c index 7c35cd5e..40b472cd 100644 --- a/examples/userfont.c +++ b/examples/userfont.c @@ -130,9 +130,9 @@ glyph_info_cb (PangoUserFace *face, test_scaled_font_glyph_t *glyphs = user_data; extents->x_bearing = 0; - extents->y_bearing = - 0.75 * size; + extents->y_bearing = 0.75 * size; extents->width = glyphs[glyph].width / 4.0 * size; - extents->height = size; + extents->height = - size; *h_advance = *v_advance = glyphs[glyph].width / 4.0 * size; |