X-Git-Url: http://git.asbjorn.biz/?a=blobdiff_plain;f=lib%2Fexample%2Fdemofont.c;h=589de3d99bea684c43b0e66669857581594b6bcc;hb=6feed80959ad2c11f0427bf0e5a30aab8abd7083;hp=c39a5e9046c48eb003116fa0b5266febe633aa58;hpb=a05bfe04e9f497f3f7257e6e560ceb63a6910c55;p=swftools.git diff --git a/lib/example/demofont.c b/lib/example/demofont.c index c39a5e9..589de3d 100644 --- a/lib/example/demofont.c +++ b/lib/example/demofont.c @@ -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);