merged in fontalignzones branch
[swftools.git] / lib / example / hexfont.c
index bf5695b..1712112 100644 (file)
 int main()
 {
     char* hex = "0123456789ABCDEF";
-    SWFFONT* font = swf_LoadFont("Courier.swf");
+    SWFFONT* font = swf_LoadFont("../../doc/Courier.swf");
     SWFFONT hexfont;
 
     memset(&hexfont, 0, sizeof(hexfont));
-    hexfont.name = "HexFont";
+    hexfont.name = (char*)"HexFont";
     hexfont.layout = malloc(sizeof(SWFLAYOUT));
     hexfont.numchars = 256;
     hexfont.maxascii = 256;