#!/usr/bin/awk -f # File name: magick.awk # Purpose: Generate an xml file suitable for ImageMagick. # Date: June 11, 2006 # Creator: Robert Valliant # Usage: Called by driver script: makemagick.sh. # # Modifications: # August 1, 2007 # Moved from '==' to '~' to ensure all cases caught. # BEGIN { afm = ""; begin = ""; fontname = ""; family = ""; subtype = ""; style = "normal"; stretch = "normal"; foundry = ""; format="type1"; fn = ARGV[1]; metrics = fn; sub(/.afm/,".pfb",fn); glyphs = fn; print ""; style = "normal"; stretch = "normal"; }