Logo by Alkaron (anonymous IP: 3.145.39.176,0) | ||||||||||||
| ||||||||||||
Audio (343) Datatype (51) Demo (203) Development (602) Document (24) Driver (97) Emulation (149) Game (1011) Graphics (500) Library (118) Network (234) Office (66) Utility (932) Video (69) Total files: 4399 Full index file Recent index file
 Amigans.net  OpenAmiga  Aminet  UtilityBase  IntuitionBase  AmigaBounty
Support the site
|
[Show comments] [Show snapshots] [Show videos] [Show content] [Show crashlogs] sfontmaker ========== sfontmaker is a modification of Diego Billi's BFontMaker to allow for makeing PNG fonts with an alpha channel for use with Karl Bartel's SFont library. You can get SFont here: http://www.linux-games.com/sfont All kudos for sfontmaker really should go to Diego, since the modifications I made are really fairly basic. I have included Diego's original README.txt as README.BFontMaker. Usage ===== USAGE: sfontmaker [options] <infile> <outfile.png> Where <infile> is a source font image file in any format the SDL_image library understands, and <outfile.png> is the name of the resulting PNG file. Availible options: -s <int> --show-string <int> Displays the string of characters that the font file must contain and exits. It add <int> spaces between characters. -o <int> --offset <int> Sums some more <int> pink pixels at both sides. Use when the font has shadows, so it doesnt have too much space between letters. -l <int> --left-offset <int> Sums some more <int> pink pixels at the left side of each letter. -r <int> --right-offset <int> Sums some more <int> pink pixels at the left side of each letter. -h --help Displays usage information. Quirks ====== You somtimes need to touch up the output. Sometimes letters get too close together and the separation between them gets missed by the program. Load the image into your favorite image editor. Note the pink lines at the top. If you see two letters without any pink between them, place a pink dot (make sure to use the same color) at the point of the separation between them. Credits ======= Thanks to Juan Pedro BolÃvar Puente for adding argument parsing code and the extra offset options. License ======= You may redistribute this code under the terms of the GPL or LGPL (at your choice) -- Mike Oliphant (http://nostatic.org) |
Copyright (c) 2004-2024 by Björn Hagström All Rights Reserved Amiga OS and its logos are registered trademarks of Hyperion Entertainment |