FTGL ------------------------------------------ FTGL is a free, open source library to enable developers to use arbitrary fonts in their OpenGL (www.opengl.org) applications. Unlike other OpenGL font libraries FTGL uses standard font file formats so doesn't need a preprocessing step to convert the high quality font data into a lesser quality, proprietary format. FTGL uses the Freetype (www.freetype.org) font library to open and 'decode' the fonts. It then takes that output and stores it in a format most efficient for OpenGL rendering. Rendering modes supported are - Bit maps - Anti aliased pix maps - Texture maps - Outlines - Polygon meshes - Extruded polygon meshes Runtime requirements: cygwin-1.5.25 or newer libGL1-7.2 libGLU1-7.2 libX11_6-1.1.5 libXau6-1.0.4 libXdmcp6-1.0.2 libXext6-1.0.4 libfreetype6-2.3.8 libxcb-xlib0-1.1 libxcb1-1.1 zlib0-1.2.3 Build requirements: all the above + corresponding devel packages pkg-config Canonical homepage: http://ftgl.wiki.sourceforge.net/ Canonical download: http://sourceforge.net/project/showfiles.php?group_id=202130&package_id=240764&release_id=606386 ------------------------------------ Build instructions: unpack ftgl-2.1.2-EL-1.tar.bz2 if you use setup to install this src package, it will be unpacked under /usr/src automatically cd /usr/src/ftgl-2.1.2/unix CXXFLAGS="-O4 -mcpu=i686" CFLAGS="-O4 -mcpu=i686 -march=i686" ./configure --prefix=/usr --enable-shared --disable-libtool-lock make some slight manual changes: defined FONT_FILE in config.h defined ECHO = echo in Makefile ------------------------------------------- Files included in the binary distro `-- usr |-- bin | `-- cygftgl-2.dll |-- include | `-- FTGL | |-- FTBBox.h | |-- FTBitmapGlyph.h | |-- FTBuffer.h | |-- FTBufferFont.h | |-- FTBufferGlyph.h | |-- FTExtrdGlyph.h | |-- FTFont.h | |-- FTGLBitmapFont.h | |-- FTGLExtrdFont.h | |-- FTGLOutlineFont.h | |-- FTGLPixmapFont.h | |-- FTGLPolygonFont.h | |-- FTGLTextureFont.h | |-- FTGlyph.h | |-- FTLayout.h | |-- FTOutlineGlyph.h | |-- FTPixmapGlyph.h | |-- FTPoint.h | |-- FTPolyGlyph.h | |-- FTSimpleLayout.h | |-- FTTextureGlyph.h | `-- ftgl.h |-- lib | |-- libftgl.a | |-- libftgl.dll.a | |-- libftgl.la | `-- pkgconfig | `-- ftgl.pc `-- share `-- doc |-- Cygwin | `-- ftgl-2.1.3.README `-- ftgl `-- projects_using_ftgl.txt ------------------ Port Notes: ----- version 2.1.3.rc5-EL-1 ----- Updated for 2.1.3~rc5 * Renamed the original topdir from ftgl-2.1.3~rc5 to ftgl-2.1.3.rc5 * Ran autogen.sh * configure/make ----- version 2.1.2-EL-1 ----- Updated for 2.1.2 * Renamed the original topdir from FTGL to ftgl-2.1.2 for the source package * Updated configure stuff to 2.1.2 (still forgotten) * The rest of the comments below are still valid (for production of DLL) ----- version 2.1.1-EL-1 ----- Updated for 2.1.1 * Renamed the original topdir from FTGL to ftgl-2.1.1 for the source package * Updated configure stuff to 2.1.1 (this was forgotten) * Minor CYGWIN and Makefile corrections (see the patch file) * Finaly 'Hand made' the dll because even with the latest libtool-devel that I installed it could not be done. cd unix/src/ g++ -shared -Wl,-export-all -Wl,--out-implib=libftgl.dll.Wl,-export-all -Wl,--out-implib=.libs/libftgl.dll.a -o .libs/cygftgl-2.dll FTBitmapGlyph.o FTCharmap.o FTContour.o FTExtrdGlyph.o FTFace.o FTFont.o FTGLBitmapFont.o FTGLExtrdFont.o FTGLOutlineFont.o FTGLPixmapFont.o FTGLPolygonFont.o FTGLTextureFont.o FTGlyph.o FTGlyphContainer.o FTLibrary.o FTOutlineGlyph.o FTPixmapGlyph.o FTPoint.o FTPolyGlyph.o FTSize.o FTTextureGlyph.o FTVectoriser.o -lfreetype -lz -lGLU -L/usr/X11R6/lib -lGL Will produce: -rwxr-xr-x 1 lassauge lassauge 136828 Jul 15 10:39 cygftgl-2.dll -rw-r--r-- 1 lassauge lassauge 194400 Jul 15 10:39 libftgl.dll.a Modified libftgl.la and libftgl.lai (get them from CYGWIN-PATCH) * rebuid the demo after the DLL * docs: cd unix/docs tar xvzf ../../docs/html.tar.gz * make install prefix=/tmp/ftgl/usr/X11R6 datadir=/tmp/ftgl/usr/share mkdir -p /tmp/ftgl/usr/doc/Cygwin cp ../CYGWIN-PATCH/ftgl-2.1.1.README /tmp/ftgl/usr/doc/Cygwin ----- version 2.0.9-EL-1 ----- Updated for 2.0.9 ----- version 2.0.5-EL-1 ----- Initial release Cygwin port maintained by: Eric LASSAUGE http://lassauge.free.fr/cygwin/