- /** Construct a fixed-width font
- *
- * @param file image file containing the characters
- * @param shadowfile image file containing the characters shadows
- * @param w width of a character
- * @param h height of a character
- */
- Font(GlyphWidth glyph_width, const std::string& file, const std::string& shadowfile,
- int w, int h, int shadowsize = 2);
-
- /** Construct a variable-width font
- *
- * @param file image file containing the characters
+public:
+ /** Construct a fixed-width font
+ *
+ * @param glyph_width VARIABLE for proportional fonts, VARIABLE for monospace ones
+ * @param fontfile file in format supertux-font
+ * @param sgadowsize offset of shadow