summaryrefslogtreecommitdiff
path: root/nuttx/include
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2011-07-27 05:02:58 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2011-07-27 05:02:58 +0000
commitce09509ff8c3127b4cc07ebcaae78229d5b2d90a (patch)
tree3a6d251624316e25465d6d98d829642f4c043fd0 /nuttx/include
parent6d81a3c8f554607158cb603cdd67f3bf195a1462 (diff)
downloadpx4-nuttx-ce09509ff8c3127b4cc07ebcaae78229d5b2d90a.tar.gz
px4-nuttx-ce09509ff8c3127b4cc07ebcaae78229d5b2d90a.tar.bz2
px4-nuttx-ce09509ff8c3127b4cc07ebcaae78229d5b2d90a.zip
Add several new fonts
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3821 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/include')
-rw-r--r--nuttx/include/nuttx/nx/nxfonts.h24
1 files changed, 24 insertions, 0 deletions
diff --git a/nuttx/include/nuttx/nx/nxfonts.h b/nuttx/include/nuttx/nx/nxfonts.h
index 24d96a7c6..c0d7d8187 100644
--- a/nuttx/include/nuttx/nx/nxfonts.h
+++ b/nuttx/include/nuttx/nx/nxfonts.h
@@ -58,6 +58,18 @@
# define NXFONT_DEFAULT FONTID_SANS23X27
#endif
+#if defined(CONFIG_NXFONT_SANS23X27)
+# define NXFONT_DEFAULT FONTID_SANS23X27
+#elif defined(CONFIG_NXFONT_SANS28X37B)
+# define NXFONT_DEFAULT FONTID_SANS28X37B
+#elif defined(CONFIG_NXFONT_SANS40X49B)
+# define NXFONT_DEFAULT FONTID_SANS40X49B
+#elif defined(CONFIG_NXFONT_SERIF27X38B)
+# define NXFONT_DEFAULT FONTID_SERIF27X38B
+#elif defined(CONFIG_NXFONT_SERIF29X37)
+# define NXFONT_DEFAULT FONTID_SERIF29X37
+#endif
+
/****************************************************************************
* Public Types
****************************************************************************/
@@ -70,6 +82,18 @@ enum nx_fontid_e
#ifdef CONFIG_NXFONT_SANS23X27
, FONTID_SANS23X27 = 1 /* The 23x27 sans serif font */
#endif
+#ifdef CONFIG_NXFONT_SANS28X37B
+ , FONTID_SANS28X37B = 2 /* The 28x37 sans bold font */
+#endif
+#ifdef CONFIG_NXFONT_SANS40X49B
+ , FONTID_SANS40X49B = 3 /* The 40x49 sans bold font */
+#endif
+#ifdef CONFIG_NXFONT_SERIF27X38B
+ , FONTID_SERIF27X38B = 4 /* The 27x38 serif bold font */
+#endif
+#ifdef CONFIG_NXFONT_SERIF29X37
+ , FONTID_SERIF29X37 = 5 /* The 29x37 serif font */
+#endif
};
/* This structures provides the metrics for one glyph */