Add more fonts

git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3824 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
patacongo 2011-07-29 05:28:06 +00:00
parent dca0708135
commit 948e53b812
2 changed files with 71 additions and 20 deletions

View File

@ -2722,22 +2722,43 @@ int nxf_convert_32bpp(FAR uint32_t *dest, uint16_t height,
<dl>
<dt><code>CONFIG_NXFONTS_CHARBITS</code>:
<dd>The number of bits in the character set. Current options are
only 7 and 8. The default is 7.
only 7 and 8. The default is 7.
<dt><code>CONFIG_NXFONT_SANS22X29</code>:
<dd>This option enables support for a small, 22x29 san serif font
(font <code>ID FONTID_SANS22X29</code> == 1).
<dt><code>CONFIG_NXFONT_SANS23X27</code>:
<dd>This option enables support for a small, 23x27 san serif font
(font ID <code>FONTID_SANS23X27</code> == 1)
<dd>This option enables support for a tiny, 23x27 san serif font
(font <code>ID FONTID_SANS23X27</code> == 2).
<dt><code>CONFIG_NXFONT_SANS28X37</code>:
<dd>This option enables support for a medium, 28x37 san serif font
(font <code>ID FONTID_SANS28X37</code> == 3).
<dt><code>CONFIG_NXFONT_SANS22X29B</code>:
<dd>This option enables support for a small, 22x29 san serif bold font
(font ID <code>FONTID_SANS22X29B</code> == 4).
<dt><code>CONFIG_NXFONT_SANS28X37B</code>:
<dd>This option enables support for a medium, 28x37 san serif bold font
(font ID <code>FONTID_SANS28X37B</code> == 2)
(font ID <code>FONTID_SANS28X37B</code> == 5).
<dt><code>CONFIG_NXFONT_SANS40X49B</code>:
<dd>This option enables support for a large, 40x49 san serif bold font
(font ID <code>FONTID_SANS40X49B</code> == 3)
<dt><code>CONFIG_NXFONT_SERIF27X38B</code>:
<dd>This option enables support for a medium, 27x38 bold font (with serifs)
(font ID <code>FONTID_SERIF27X38B</code> == 4)
(font ID <code>FONTID_SANS40X49B</code> == 6).
<dt><code>CONFIG_NXFONT_SERIF22X29</code>:
<dd>This option enables support for a small, 22x29 font (with serifs)
(font ID <code>FONTID_SERIF22X29</code> == 7).
<dt><code>CONFIG_NXFONT_SERIF29X37</code>:
<dd>This option enables support for a medium, 29x37 font (with serifs)
(font ID <code>FONTID_SERIF29X37</code> == 5)
(font ID <code>FONTID_SERIF29X37</code> == 8).
<dt><code>CONFIG_NXFONT_SERIF38X48</code>:
<dd>This option enables support for a large, 38x48 font (with serifs)
(font ID <code>FONTID_SERIF38X48</code> == 9).
<dt><code>CONFIG_NXFONT_SERIF22X28B</code>:
<dd>This option enables support for a small, 27x38 bold font (with serifs)
(font ID <code>FONTID_SERIF22X28B</code> == 10).
<dt><code>CONFIG_NXFONT_SERIF27X38B</code>:
<dd>This option enables support for a medium, 27x38 bold font (with serifs)
(font ID <code>FONTID_SERIF27X38B</code> == 11).
<dt><code>CONFIG_NXFONT_SERIF38X49B</code>:
<dd>This option enables support for a large, 38x49 bold font (with serifs)
(font ID <code>FONTID_SERIF38X49B</code> == 12).
</dl>
</ul>

View File

@ -4476,34 +4476,64 @@ build
only 7 and 8. The default is 7.
</li>
<li>
<code>CONFIG_NXFONT_SANS23X27</code>:
At present, there is only one font, a 23x27 sans serif font.
But if there were were more, then this option would select that sans serif font.
<code>CONFIG_NXFONT_SANS22X29</code>:
This option enables support for a small, 22x29 san serif font
(font <code>ID FONTID_SANS22X29</code> == 1).
</li>
<li>
<code>CONFIG_NXFONT_SANS23X27</code>:
This option enables support for a small, 23x27 san serif font
(font <code>ID FONTID_SANS23X27</code> == 1).
This option enables support for a tiny, 23x27 san serif font
(font <code>ID FONTID_SANS23X27</code> == 2).
</li>
<li>
<code>CONFIG_NXFONT_SANS28X37</code>:
This option enables support for a medium, 28x37 san serif font
(font <code>ID FONTID_SANS28X37</code> == 3).
</li>
<li>
<code>CONFIG_NXFONT_SANS22X29B</code>:
This option enables support for a small, 22x29 san serif bold font
(font ID <code>FONTID_SANS22X29B</code> == 4).
</li>
<li>
<code>CONFIG_NXFONT_SANS28X37B</code>:
This option enables support for a medium, 28x37 san serif bold font
(font ID <code>FONTID_SANS28X37B</code> == 2).
(font ID <code>FONTID_SANS28X37B</code> == 5).
</li>
<li>
<code>CONFIG_NXFONT_SANS40X49B</code>:
This option enables support for a large, 40x49 san serif bold font
(font ID <code>FONTID_SANS40X49B</code> == 3).
(font ID <code>FONTID_SANS40X49B</code> == 6).
</li>
<li>
<code>CONFIG_NXFONT_SERIF27X38B</code>:
This option enables support for a medium, 27x38 bold font (with serifs)
(font ID <code>FONTID_SERIF27X38B</code> == 4).
<code>CONFIG_NXFONT_SERIF22X29</code>:
This option enables support for a small, 22x29 font (with serifs)
(font ID <code>FONTID_SERIF22X29</code> == 7).
</li>
<li>
<code>CONFIG_NXFONT_SERIF29X37</code>:
This option enables support for a medium, 29x37 font (with serifs)
(font ID <code>FONTID_SERIF29X37</code> == 5).
(font ID <code>FONTID_SERIF29X37</code> == 8).
</li>
<li>
<code>CONFIG_NXFONT_SERIF38X48</code>:
This option enables support for a large, 38x48 font (with serifs)
(font ID <code>FONTID_SERIF38X48</code> == 9).
</li>
<li>
<code>CONFIG_NXFONT_SERIF22X28B</code>:
This option enables support for a small, 27x38 bold font (with serifs)
(font ID <code>FONTID_SERIF22X28B</code> == 10).
</li>
<li>
<code>CONFIG_NXFONT_SERIF27X38B</code>:
This option enables support for a medium, 27x38 bold font (with serifs)
(font ID <code>FONTID_SERIF27X38B</code> == 11).
</li>
<li>
<code>CONFIG_NXFONT_SERIF38X49B</code>:
This option enables support for a large, 38x49 bold font (with serifs)
(font ID <code>FONTID_SERIF38X49B</code> == 12).
</li>
</ul>