Font_SDL
A tiny bitmapped font library for SDL
May 17, 2003
Written in Euphoria using the SDL Library
Mark K. Akita - mkakita@earthlink.net


Contents
Introduction
Files and Requirements

Introduction
Font_SDL is a library for rendering text to SDL surfaces.  You can print in any supported color and rotated to 4 different angles in 90 degree increments.  Font_SDL uses the same file format for fonts as Jiri Babor's excellent font.e DOS library, and a collection of fonts are included.   There are a number of fonts already available for font.e and there is at least one utility in the RDS archive for converting Windows fonts.  I designed Font_SDL as a quick no-frills font drawing program for use in SDL games and applications.  All the processing is done in pure Euphoria so the library is highly portable and readable but far from the fastest solution.

This library was written in Euphoria, using the SDL library.
SDL was written by Sam Lantinga and is distributed under the GNU Lesser Public License. The official SDL website http://www.libsdl.org contains more information.
Font_SDL  may be distrubted freely with Euphoria programs.

Files and Requirements
The Font_SDL zip file contains the following:

Font_SDL.ew - The Font_SDL library
SDL.dll - The SDL library
SDL_Wrap.ew - The Euphoria SDL wrappers
TestFont01.exw - Test program 1, display a few different fonts on screen
TestFont02.exw - Test program 2, display the same line of text on screen, varying in color, position, and rotation.
TestFont03.exw - Test program 3, display the mouse position, x and y coordinates.
Readme.HTML - This document in HTML format
Readme.TXT - This document in plain old text format
fonts - A folder containing the font files.
 

Send comments & feedback to mkakita@earthlink.net