{\r
public static Font default_font;\r
\r
- public enum Style { normal_style, italic, oblique };\r
- public enum Weight { normal_weight=400, bold=700 };\r
+ public enum Style { normal, italic, oblique };\r
+ public enum Weight { normal=400, bold=700 };\r
public double size;\r
public int weight;\r
public Style style;\r
}\r
public Font()\r
{\r
- size = 24;\r
- weight = (int)Weight.normal_weight;\r
- style = Style.normal_style;\r
+ size = 18;\r
+ weight = (int)Weight.normal;\r
+ style = Style.normal;\r
family = new string[1];\r
}\r
public Font(double size_, int weight_, Style style_, string family_)\r