Typo.
[bertos.git] / gfx / font.h
index d3b241e2913b57af918b9d2366dcc65b00aab332..80bc5db4170cc3bf636c4bd5e50fffe3e07343f9 100755 (executable)
@@ -1,4 +1,4 @@
-/*!
+/**
  * \file
  * <!--
  * Copyright 2003, 2004, 2005 Develer S.r.l. (http://www.develer.com/)
 
 /*#*
  *#* $Log$
+ *#* Revision 1.7  2006/07/19 12:56:26  bernie
+ *#* Convert to new Doxygen style.
+ *#*
+ *#* Revision 1.6  2006/05/27 22:31:34  bernie
+ *#* Switch to a smaller default fount.
+ *#*
+ *#* Revision 1.5  2006/03/13 02:06:04  bernie
+ *#* FONT_HAS_GLYPH(): New macro.
+ *#*
  *#* Revision 1.4  2006/02/15 09:10:15  bernie
  *#* Implement prop fonts; Fix algo styles.
  *#*
@@ -79,8 +88,13 @@ typedef struct Font
 
 } Font;
 
+
+/** Return true if glyph \a c is available in \a font. */
+#define FONT_HAS_GLYPH(font, c) ((c) >= (font)->first && (c) <= (font)->last)
+
+
 /** The default font. */
-#define default_font font_ncenB18
+#define default_font font_luBS14
 extern const struct Font default_font;
 
 #endif /* GFX_FONT_H */