Tweak optimization flags for loops.
[bertos.git] / gfx / font.h
index d3b241e2913b57af918b9d2366dcc65b00aab332..82d778edd6e24e619737dcbd2d9c826427204599 100755 (executable)
 
 /*#*
  *#* $Log$
+ *#* 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 +85,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 */