From 68c5b6164c37152bc7e1dfe1dc09a78304a941a5 Mon Sep 17 00:00:00 2001 From: Kai Krakow Date: Thu, 7 Feb 2019 01:48:35 +0100 Subject: [PATCH] [cleanup] tools/sfnt2fon: Silence the build process. Won't be fixed in this branch, so let's get rid of the annoying stream of warnings to get a cleaner build process output. Signed-off-by: Kai Krakow --- tools/sfnt2fon/sfnt2fon.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tools/sfnt2fon/sfnt2fon.c b/tools/sfnt2fon/sfnt2fon.c index 25f07638723..16ab031f3e1 100644 --- a/tools/sfnt2fon/sfnt2fon.c +++ b/tools/sfnt2fon/sfnt2fon.c @@ -464,9 +464,11 @@ static struct fontinfo *fill_fontinfo( const char *face_name, int ppem, int enc, for(i = first_char; i < 0x100; i++) { int c = get_char(cptable, enc, i); gi = FT_Get_Char_Index(face, c); +#if 0 if(gi == 0 && !option_quiet) fprintf(stderr, "warning: %s %u: missing glyph for char %04x\n", face->family_name, ppem, cptable->sbcs.cp2uni[i]); +#endif if(FT_Load_Char(face, c, FT_LOAD_DEFAULT)) { fprintf(stderr, "error loading char %d - bad news!\n", i); continue;