6 projects tagged "font"
FontMapper is a font texture generator for game developers. It allows you to turn a font you have installed to a PNG texture of tightly packed glyphs, accompanied by a text file describing the glyphs' properties and texture coordinates. You can read these in a game to render fonts. FontMapper supports Unicode (although only the Basic Multilingual Plane, i.e. the 16-bit codepoints), and each glyph can have its own size, i.e. fonts are not necessarily monospaced. Currently, FontMapper is command-line only, although there might be a GUI frontend in the future.
Image Font can render images with text, using graphics as fonts. It takes a text string and creates an image on which the characters of the string are displayed using separate image files to render each character. The text may be aligned to the left, right, or center, or be justified. The image width may be limited so the text is wrapped if it exceeds the width limit. The character graphics may be mapped to image files with the same base name in a given directory. Alternatively, an array may be passed to define the paths of the character image files. The generated image may be saved to a file or displayed as the current script output in any of the formats supported by the PHP GD image extension.