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
f->ascii2glyph = (int*)malloc(sizeof(int)*256);
memset(f->ascii2glyph, -1, sizeof(int)*256);
- addGlyph(f, 0, 102, 64, &Glyphs_Demo_Font[0x0000], 872); // f
- addGlyph(f, 1, 108, 53, &Glyphs_Demo_Font[0x006d], 452); // l
- addGlyph(f, 2, 111, 96, &Glyphs_Demo_Font[0x00a6], 743); // o
- addGlyph(f, 3, 115, 74, &Glyphs_Demo_Font[0x0103], 951); // s
- addGlyph(f, 4, 116, 53, &Glyphs_Demo_Font[0x017a], 570); // t
- addGlyph(f, 5, 119, 138, &Glyphs_Demo_Font[0x01c2], 806); // w
+ addGlyph(f, 0, 102, 64*20, &Glyphs_Demo_Font[0x0000], 872); // f
+ addGlyph(f, 1, 108, 53*20, &Glyphs_Demo_Font[0x006d], 452); // l
+ addGlyph(f, 2, 111, 96*20, &Glyphs_Demo_Font[0x00a6], 743); // o
+ addGlyph(f, 3, 115, 74*20, &Glyphs_Demo_Font[0x0103], 951); // s
+ addGlyph(f, 4, 116, 53*20, &Glyphs_Demo_Font[0x017a], 570); // t
+ addGlyph(f, 5, 119, 138*20, &Glyphs_Demo_Font[0x01c2], 806); // w
return f;
}