diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2011-07-26 01:10:36 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2011-07-26 01:10:36 +0000 |
commit | 996768bceef23c8de2f623665420840aa7800357 (patch) | |
tree | 73972da08767dbd0499082e02b80f85ce5332f5e /nuttx/include | |
parent | 1e931fd487f9661633ec8d5f952bbaa65d48b876 (diff) | |
download | px4-nuttx-996768bceef23c8de2f623665420840aa7800357.tar.gz px4-nuttx-996768bceef23c8de2f623665420840aa7800357.tar.bz2 px4-nuttx-996768bceef23c8de2f623665420840aa7800357.zip |
Fix for bdf-converter
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3818 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/include')
-rw-r--r-- | nuttx/include/nuttx/nx/nxfonts.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/nuttx/include/nuttx/nx/nxfonts.h b/nuttx/include/nuttx/nx/nxfonts.h index 4ed62f68e..24d96a7c6 100644 --- a/nuttx/include/nuttx/nx/nxfonts.h +++ b/nuttx/include/nuttx/nx/nxfonts.h @@ -76,12 +76,12 @@ enum nx_fontid_e struct nx_fontmetric_s { - uint32_t stride : 2; /* Width of one font row in bytes */ + uint32_t stride : 3; /* Width of one font row in bytes */ uint32_t width : 6; /* Width of the font in bits */ uint32_t height : 6; /* Height of the font in rows */ uint32_t xoffset : 6; /* Top, left-hand corner X-offset in pixels */ uint32_t yoffset : 6; /* Top, left-hand corner y-offset in pixels */ - uint32_t unused : 6; + uint32_t unused : 5; }; /* This structure binds the glyph metrics to the glyph bitmap */ |