X-Git-Url: http://git.asbjorn.biz/?a=blobdiff_plain;f=lib%2Fexample%2Fglyphshape.c;h=f2075e8ee01ba2fcca74ce7c2f3ff21ba6f242a9;hb=8afd28b43b6b918af083767cb827b1f88daf6040;hp=0263ca061e8bed2e8abe06c01cf2b683eee80ee6;hpb=d3c1c8d663e46c5cffed480115902d82e5cf5645;p=swftools.git diff --git a/lib/example/glyphshape.c b/lib/example/glyphshape.c index 0263ca0..f2075e8 100644 --- a/lib/example/glyphshape.c +++ b/lib/example/glyphshape.c @@ -6,7 +6,19 @@ 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 */ #include #include @@ -78,8 +90,8 @@ int main(int argc, char ** argv) FONTUSAGE use; SWFFONT * font = Font_Demo_Font(ID_FONT); // change font name here - swf_FontInitUsage(&use); - swf_FontUse(&use,s); + swf_FontInitUsage(font,&use); + swf_FontUse(font,&use,s); swf_FontReduce(font,&use); // make sure that gid's point to the specific glyphs memset(&swf,0x00,sizeof(SWF));