diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2011-07-29 05:28:06 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2011-07-29 05:28:06 +0000 |
commit | 8617a446eb7c2445cdbdaf23ec20aee16d6c8add (patch) | |
tree | 60d71760da1799394b4599482727b4f399cdde13 /nuttx/tools | |
parent | 10c58851c2e5ef8ec1e0b59c2fdf549dd3478f0c (diff) | |
download | px4-nuttx-8617a446eb7c2445cdbdaf23ec20aee16d6c8add.tar.gz px4-nuttx-8617a446eb7c2445cdbdaf23ec20aee16d6c8add.tar.bz2 px4-nuttx-8617a446eb7c2445cdbdaf23ec20aee16d6c8add.zip |
Add more fonts
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3824 42af7a65-404d-4744-a932-0658087f49c3
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 */ |