Freetype2 library, Graphics, Library to render truetype fonts Building It is actually very straightforward to install the Freetype2 library. Just execute vms_make.com from the toplevel directory to build the library. This procedure currently accepts the following options: DEBUG Build the library with debug information and without optimization. lopts= Options to pass to the link command e.g. lopts=/traceback ccopt= Options to pass to the C compiler e.g. ccopt=/float=ieee In case you did download the demos, place them in a separate directory directly below the the toplevel directory of Freetype2 and follow the same instructions as above for the demos from there. The build process relies on this to figure the location of the Freetype2 include files. To rebuild the sources it is neccessary to have MMS/MMK installed on the system. Test Applications The following demo applications can be build with Freetype2: ftbench Benchmark for some common FreeType paths -m max cache size in kByte (default is 1024) -t max time per bench in seconds (default is 2) -p preload font file in memory -b tests perform choosen tests (default is all) a Load b Load + Get_Glyph c Load + Get_Glyph + Get_CBox d Get_Char_Index e CMap cache f Outline cache g Bitmap cache h SBit cache ftchkwd Check if a given font is fixed or proportional. Options: fontname[.ttf|.ttc] [fontname2... Name of the file containing the font to be processed ftdump This program is a very simple font dumper. In its current incarnation, it will only output a font's name table, character encoding maps IDs and total memory consumption. For TrueType Open files, the available GSUB tables are also shown. Options: fontname[.ttf|.ttc] Name of the file containing the font to be processed ftlint This application is used to execute all glyphs instructions found in a font file at a given char size size. No graphics subsystem required. Options: ppem Pointsize of the font fontname[.ttf|.ttc] [fontname2...] Name of the file containing the font to be processed ftmemchk Simple memory tester Options: ppem Pointsize of the font fontname[.ttf|.ttc] [fontname2...] Name of the file containing the font to be processed ftmulti Multiple masters font viewer Options: -e encoding select encoding (default: no encoding) -r R use resolution R dpi (default: 72 dpi) -f index specify first glyph index to display ppem Pointsize of the font fontname[.ttf|.ttc] Name of the file containing the font to be rendered ftstring This program demonstrates string text generation. It only displays a given message on the screen, and lets you resize it. Options: -e enc specify encoding tag (default: unic) -r R use resolution R dpi (default: 72 dpi) -m message message to display ppem Pointsize of the font fontname Name of the file containing the font to be rendered fttimer This program is used to benchmark FreeType's scan-converter (the component in charge of translating a vectorial shape description into a bitmap). It does so in preloading all glyphs from a font file, then rendering them as fast as possible in a 640x450 buffer. The glyphs are rendered at size 400pt / 96dpi, which is _quite_ big. Options: -r repeat count to be used (default is 1) -s character pixel size (default is 600) -m render monochrome glyphs (default is anti-aliased) -a use smooth anti-aliaser -l force low quality even at small sizes fontname[.ttf|.ttc] Name of the file containing the font to be processed ftview A font viewer that supports hinting and font smoothing. Options: -r R use resolution R dpi (default: 72 dpi) -f index specify first index to display -e enc specify encoding tag (default: no encoding) -D dump cache usage statistics ppem Pointsize of the font fontname[.ttf|.ttc] Name of the file containing the font to be rendered testname Prints the names of the glyphs in a font Options: fontname Name of the file containing the font to be processed The latest version of the OpenVMS port of Freetype2 should always be accessible via http://zinser.no-ip.info/vms/sw/freetype2.htmlx