Skip to content

Commit

Permalink
[cleanup] tools/sfnt2fon: Silence the build process.
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
kakra committed Mar 1, 2019
1 parent e59fbb0 commit 68c5b61
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tools/sfnt2fon/sfnt2fon.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 68c5b61

Please sign in to comment.