What t1lib is

t1lib is an open source library developed by Rainer Menzner and is distributed under the GNU General Public Library License. t1lib is written in the C programming language allowing a programmer to generate/rasterize bitmaps from Adobe (TM) Type 1 fonts quite easily. t1lib is based on the code of the X11 rasterizer which was donated by IBM to the X11 project.

The bitmaps created by t1lib are returned in a data structure with type GLYPH. This special GLYPH-type is also used in the X11 window system to describe character bitmaps. It contains the bitmap data as well as some metric information. But t1lib is in itself entirely independent of the X11-system or any other graphical user interface.

Uses of t1lib

t1lib is useful for adding text to images using the gd library. When t1lib and gd are combined with an Apache web server that is powered by the web scripting language php, web developers can easily add captions, graph legends, logos, copyright notices, etc to images. See the php documentation for an example snippet of php code using t1lib to lay some text on an image: php function imagepstext (the example code is in the user notes dated 22-May-2001 at the very bottom of the page)

Where to get t1lib

t1lib is available by ftp at: ftp://sunsite.unc.edu/pub/Linux/libs/graphics/

Alternatives to using t1lib

Custom Search