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.12 or newer xorg-x11-bin-dlls xorg-x11-.../.. cygipc freetype2 zlib Build requirements: cygwin-1.5.12 or newer xorg-x11-devel libfreetype26 zlib Canonical homepage: http://homepages.paradise.net.nz/henryj/code/#FTGL Canonical download: http://homepages.paradise.net.nz/henryj/code/ftgl-2.1.1.tar.gz ------------------------------------ Build instructions: unpack ftgl-2.1.1-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.1/unix CXXFLAGS="-O4 -mcpu=i686" CFLAGS="-O4 -mcpu=i686 -march=i686" ./configure --prefix=/usr/X11R6 --enable-shared --with-gl-inc=/usr/X11R6/include --with-glut-inc=/usr/X11R6/include --with-gl-lib=/usr/X11R6/lib --with-glut-lib=/usr/X11R6/lib --disable-libtool-lock make .. but you won't get the same as the binary package: a lot of things was made 'by hand' (see Port Notes below) ------------------------------------------- Files included in the binary distro usr |-- X11R6 | |-- bin | | |-- FTGLDemo.exe | | `-- cygftgl-2.dll | |-- include | | `-- FTGL | | |-- FTBBox.h | | |-- FTBitmapGlyph.h | | |-- FTCharToGlyphIndexMap.h | | |-- FTCharmap.h | | |-- FTContour.h | | |-- FTExtrdGlyph.h | | |-- FTFace.h | | |-- FTFont.h | | |-- FTGL.h | | |-- FTGLBitmapFont.h | | |-- FTGLExtrdFont.h | | |-- FTGLOutlineFont.h | | |-- FTGLPixmapFont.h | | |-- FTGLPolygonFont.h | | |-- FTGLTextureFont.h | | |-- FTGlyph.h | | |-- FTGlyphContainer.h | | |-- FTLibrary.h | | |-- FTList.h | | |-- FTOutlineGlyph.h | | |-- FTPixmapGlyph.h | | |-- FTPoint.h | | |-- FTPolyGlyph.h | | |-- FTSize.h | | |-- FTTextureGlyph.h | | |-- FTVector.h | | `-- FTVectoriser.h | `-- lib | |-- libftgl.a | |-- libftgl.dll.a | |-- libftgl.la | `-- pkgconfig | `-- ftgl.pc `-- share `-- doc |-- Cygwin | `-- ftgl-2.1.1.README `-- ftgl `-- html |-- FTBBox_8h-source.html |-- FTBBox_8h.html |-- FTBitmapGlyph_8cpp-source.html |-- FTBitmapGlyph_8cpp.html |-- FTBitmapGlyph_8h-source.html |-- FTBitmapGlyph_8h.html |-- FTBufferGlyph_8cpp-source.html |-- FTBufferGlyph_8cpp.html |-- FTBufferGlyph_8h-source.html |-- FTBufferGlyph_8h.html |-- FTCharToGlyphIndexMap_8h-source.html |-- FTCharToGlyphIndexMap_8h.html |-- FTCharmap_8cpp-source.html |-- FTCharmap_8cpp.html |-- FTCharmap_8h-source.html |-- FTCharmap_8h.html |-- FTContour_8cpp-source.html |-- FTContour_8cpp.html |-- FTContour_8h-source.html |-- FTContour_8h.html |-- FTExtrdGlyph_8cpp-source.html |-- FTExtrdGlyph_8cpp.html |-- FTExtrdGlyph_8h-source.html |-- FTExtrdGlyph_8h.html |-- FTFace_8cpp-source.html |-- FTFace_8cpp.html |-- FTFace_8h-source.html |-- FTFace_8h.html |-- FTFont_8cpp-source.html |-- FTFont_8cpp.html |-- FTFont_8h-source.html |-- FTFont_8h.html |-- FTGLBitmapFont_8cpp-source.html |-- FTGLBitmapFont_8cpp.html |-- FTGLBitmapFont_8h-source.html |-- FTGLBitmapFont_8h.html |-- FTGLBufferFont_8cpp-source.html |-- FTGLBufferFont_8cpp.html |-- FTGLBufferFont_8h-source.html |-- FTGLBufferFont_8h.html |-- FTGLExtrdFont_8cpp-source.html |-- FTGLExtrdFont_8cpp.html |-- FTGLExtrdFont_8h-source.html |-- FTGLExtrdFont_8h.html |-- FTGLOutlineFont_8cpp-source.html |-- FTGLOutlineFont_8cpp.html |-- FTGLOutlineFont_8h-source.html |-- FTGLOutlineFont_8h.html |-- FTGLPixmapFont_8cpp-source.html |-- FTGLPixmapFont_8cpp.html |-- FTGLPixmapFont_8h-source.html |-- FTGLPixmapFont_8h.html |-- FTGLPolygonFont_8cpp-source.html |-- FTGLPolygonFont_8cpp.html |-- FTGLPolygonFont_8h-source.html |-- FTGLPolygonFont_8h.html |-- FTGLTextureFont_8cpp-source.html |-- FTGLTextureFont_8cpp.html |-- FTGLTextureFont_8h-source.html |-- FTGLTextureFont_8h.html |-- FTGL_8h-source.html |-- FTGL_8h.html |-- FTGlyphContainer_8cpp-source.html |-- FTGlyphContainer_8cpp.html |-- FTGlyphContainer_8h-source.html |-- FTGlyphContainer_8h.html |-- FTGlyph_8cpp-source.html |-- FTGlyph_8cpp.html |-- FTGlyph_8h-source.html |-- FTGlyph_8h.html |-- FTLibrary_8cpp-source.html |-- FTLibrary_8cpp.html |-- FTLibrary_8h-source.html |-- FTLibrary_8h.html |-- FTList_8h-source.html |-- FTList_8h.html |-- FTOutlineGlyph_8cpp-source.html |-- FTOutlineGlyph_8cpp.html |-- FTOutlineGlyph_8h-source.html |-- FTOutlineGlyph_8h.html |-- FTPixmapGlyph_8cpp-source.html |-- FTPixmapGlyph_8cpp.html |-- FTPixmapGlyph_8h-source.html |-- FTPixmapGlyph_8h.html |-- FTPoint_8cpp-source.html |-- FTPoint_8cpp.html |-- FTPoint_8h-source.html |-- FTPoint_8h.html |-- FTPolyGlyph_8cpp-source.html |-- FTPolyGlyph_8cpp.html |-- FTPolyGlyph_8h-source.html |-- FTPolyGlyph_8h.html |-- FTSize_8cpp-source.html |-- FTSize_8cpp.html |-- FTSize_8h-source.html |-- FTSize_8h.html |-- FTTextureGlyph_8cpp-source.html |-- FTTextureGlyph_8cpp.html |-- FTTextureGlyph_8h-source.html |-- FTTextureGlyph_8h.html |-- FTVector_8h-source.html |-- FTVector_8h.html |-- FTVectoriser_8cpp-source.html |-- FTVectoriser_8cpp.html |-- FTVectoriser_8h-source.html |-- FTVectoriser_8h.html |-- annotated.html |-- classFTBBox-members.html |-- classFTBBox.html |-- classFTBitmapGlyph-members.html |-- classFTBitmapGlyph.html |-- classFTBitmapGlyph.png |-- classFTBufferGlyph-members.html |-- classFTBufferGlyph.html |-- classFTBufferGlyph.png |-- classFTCharToGlyphIndexMap-members.html |-- classFTCharToGlyphIndexMap.html |-- classFTCharmap-members.html |-- classFTCharmap.html |-- classFTContour-members.html |-- classFTContour.html |-- classFTExtrdGlyph-members.html |-- classFTExtrdGlyph.html |-- classFTExtrdGlyph.png |-- classFTFace-members.html |-- classFTFace.html |-- classFTFont-members.html |-- classFTFont.html |-- classFTFont.png |-- classFTGLBitmapFont-members.html |-- classFTGLBitmapFont.html |-- classFTGLBitmapFont.png |-- classFTGLBufferFont-members.html |-- classFTGLBufferFont.html |-- classFTGLBufferFont.png |-- classFTGLExtrdFont-members.html |-- classFTGLExtrdFont.html |-- classFTGLExtrdFont.png |-- classFTGLOutlineFont-members.html |-- classFTGLOutlineFont.html |-- classFTGLOutlineFont.png |-- classFTGLPixmapFont-members.html |-- classFTGLPixmapFont.html |-- classFTGLPixmapFont.png |-- classFTGLPolygonFont-members.html |-- classFTGLPolygonFont.html |-- classFTGLPolygonFont.png |-- classFTGLTextureFont-members.html |-- classFTGLTextureFont.html |-- classFTGLTextureFont.png |-- classFTGlyph-members.html |-- classFTGlyph.html |-- classFTGlyph.png |-- classFTGlyphContainer-members.html |-- classFTGlyphContainer.html |-- classFTLibrary-members.html |-- classFTLibrary.html |-- classFTList-members.html |-- classFTList.html |-- classFTMesh-members.html |-- classFTMesh.html |-- classFTOutlineGlyph-members.html |-- classFTOutlineGlyph.html |-- classFTOutlineGlyph.png |-- classFTPixmapGlyph-members.html |-- classFTPixmapGlyph.html |-- classFTPixmapGlyph.png |-- classFTPoint-members.html |-- classFTPoint.html |-- classFTPolyGlyph-members.html |-- classFTPolyGlyph.html |-- classFTPolyGlyph.png |-- classFTSize-members.html |-- classFTSize.html |-- classFTTesselation-members.html |-- classFTTesselation.html |-- classFTTextureGlyph-members.html |-- classFTTextureGlyph.html |-- classFTTextureGlyph.png |-- classFTVector-members.html |-- classFTVector.html |-- classFTVectoriser-members.html |-- classFTVectoriser.html |-- doxygen.css |-- doxygen.png |-- files.html |-- functions.html |-- functions_eval.html |-- functions_func.html |-- functions_rela.html |-- functions_type.html |-- functions_vars.html |-- globals.html |-- globals_defs.html |-- globals_func.html |-- globals_type.html |-- globals_vars.html |-- hierarchy.html |-- index.html |-- structFTList_1_1Node-members.html `-- structFTList_1_1Node.html ------------------ Port Notes: ----- 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-PATCHES) * 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/share/doc/Cygwin cp ../CYGWIN-PATCHES/ftgl-2.1.1.README /tmp/ftgl/usr/share/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/