diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2011-07-19 20:08:28 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2011-07-19 20:08:28 +0000 |
commit | e22652b8670c85c11bed70615d97273d455d58a9 (patch) | |
tree | afb799c4411fe56a1af05c4e25d5f44453691cbe /apps/examples/nxtext/nxtext_putc.c | |
parent | 40e9e372738c38180562ab1ff3b1f91d42c14cdd (diff) | |
download | px4-nuttx-e22652b8670c85c11bed70615d97273d455d58a9.tar.gz px4-nuttx-e22652b8670c85c11bed70615d97273d455d58a9.tar.bz2 px4-nuttx-e22652b8670c85c11bed70615d97273d455d58a9.zip |
Setup environment to support multiple fonts
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3799 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'apps/examples/nxtext/nxtext_putc.c')
-rw-r--r-- | apps/examples/nxtext/nxtext_putc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/examples/nxtext/nxtext_putc.c b/apps/examples/nxtext/nxtext_putc.c index b9c9417a8..87da2ad6e 100644 --- a/apps/examples/nxtext/nxtext_putc.c +++ b/apps/examples/nxtext/nxtext_putc.c @@ -332,7 +332,7 @@ static int nxtext_fontsize(uint8_t ch, FAR struct nxgl_size_s *size) /* No, it is not cached... Does the code map to a font? */ - fbm = nxf_getbitmap(ch); + fbm = nxf_getbitmap(ch, NXFONT_DEFAULT); if (fbm) { /* Yes.. return the font size */ @@ -362,7 +362,7 @@ nxtext_getglyph(FAR struct nxtext_state_s *st, uint8_t ch) { /* No, it is not cached... Does the code map to a font? */ - fbm = nxf_getbitmap(ch); + fbm = nxf_getbitmap(ch, NXFONT_DEFAULT); if (fbm) { /* Yes.. render the glyph */ |