Generated from configure.in
[swftools.git] / lib / example / demofont.c
index c39a5e9..589de3d 100644 (file)
@@ -6,9 +6,19 @@
    
    Part of the swftools package.
 
-   This file is distributed under the GPL, see file COPYING for details 
+   This program is free software; you can redistribute it and/or modify
+   it under the terms of the GNU General Public License as published by
+   the Free Software Foundation; either version 2 of the License, or
+   (at your option) any later version.
 
-*/
+   This program is distributed in the hope that it will be useful,
+   but WITHOUT ANY WARRANTY; without even the implied warranty of
+   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+   GNU General Public License for more details.
+
+   You should have received a copy of the GNU General Public License
+   along with this program; if not, write to the Free Software
+   Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA */
 
 #define addGlyph fn3711
 
@@ -109,7 +119,8 @@ SWFFONT * Font_Demo_Font(U16 id)
   f->id       = id;
   f->version  = 1;
   f->name     = strdup("Demo Font");
-  f->flags    = 0x00;
+  f->style    = 0x00;
+  f->encoding = 0x00;
   f->numchars = 6;
   f->maxascii = 256;
   f->glyph    = (SWFGLYPH*)malloc(sizeof(SWFGLYPH)*6);