diff options
Diffstat (limited to 'nuttx/tools')
-rw-r--r-- | nuttx/tools/bdf-converter.c | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/nuttx/tools/bdf-converter.c b/nuttx/tools/bdf-converter.c index d9c8a0aa2..b32209fcf 100644 --- a/nuttx/tools/bdf-converter.c +++ b/nuttx/tools/bdf-converter.c @@ -396,7 +396,18 @@ static void bdf_printoutput(FILE *out, /* Glyph general info */ - fprintf(out, "/* %s (%d) */\n", ginfo->name, ginfo->encoding); + if (ginfo->bb_x_off < 0) + { + fprintf(out, + "/* %s (%d) -- NOTE: Xoffset should be %d, not 0. */\n", + ginfo->name, + ginfo->encoding, + ginfo->bb_x_off); + } + else + { + fprintf(out, "/* %s (%d) */\n", ginfo->name, ginfo->encoding); + } /* Glyph metrics */ |