[cairo-commit] 2 commits - src/cairo-scaled-font-subsets.c

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Mon Jan 11 19:33:36 UTC 2021


 src/cairo-scaled-font-subsets.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 21db0989d7dd76b5ccecc46a6ff7b4401c49936d
Merge: 9508d25d6 be0f938e4
Author: Heiko Lewin <hlewin at gmx.de>
Date:   Mon Jan 11 19:33:35 2021 +0000

    Merge branch 'debug-fix' into 'master'
    
    Apply small fix that was reported as an issue
    
    Closes #385
    
    See merge request cairo/cairo!105

commit be0f938e4ac4129c98740ce3c49adfd255a103fe
Author: Uli Schlachter <psychon at znc.in>
Date:   Mon Jan 11 19:08:02 2021 +0100

    Apply small fix that was reported as an issue
    
    Fixes: https://gitlab.freedesktop.org/cairo/cairo/-/issues/385
    Signed-off-by: Uli Schlachter <psychon at znc.in>

diff --git a/src/cairo-scaled-font-subsets.c b/src/cairo-scaled-font-subsets.c
index dc617f313..1f0e53577 100644
--- a/src/cairo-scaled-font-subsets.c
+++ b/src/cairo-scaled-font-subsets.c
@@ -1140,7 +1140,7 @@ dump_glyph (void *entry, void *closure)
     printf("      utf8: '%s'\n", buf);
     printf("      utf8 (hex):");
     for (i = 0; i < glyph->utf8_len; i++)
-	printf(" 0x%02x", glyph->utf8[0]);
+	printf(" 0x%02x", glyph->utf8[i]);
     printf("\n\n");
 }
 


More information about the cairo-commit mailing list