[ Index ]

PHP Cross Reference of vtigercrm-6.1.0

title

Body

[close]

/libraries/tcpdf/fonts/ttf2ufm/ttf2ufm-src/app/netscape/ -> nspr (source)

   1  #!/bin/sh
   2  if [ $# != 2 ]
   3  then
   4      echo "Usage: 'nspr # file.ps' where # is 2, 5, or 1251"
   5      exit
   6  else
   7      enc=$1
   8      shift
   9  fi
  10  case $enc} in
  11      1250|1251)
  12          charset=windows
  13          ;;
  14      *)
  15          charset=iso8859
  16          ;;
  17  esac
  18  sed "s/Times-Roman/Timesnew-Roman-$charset}-$enc}/g;\
  19       s/Times-Italic/Timesnew-Italic-$charset}-$enc}/g;\
  20       s/Times-BoldItalic/Timesnew-BoldItalic-$charset}-$enc}/g;\
  21       s/Times-Bold/Timesnew-Bold-$charset}-$enc}/g;\
  22       s/Courier/Couriernew-Roman-$charset}-$enc}/g;\
  23       s/Couriernew-Roman-$charset}-$enc}-BoldOblique/Couriernew-BoldItalic-$charset}-$enc}/g;\
  24       s/Couriernew-Roman-$charset}-$enc}-Bold/Couriernew-Bold-$charset}-$enc}/g;\
  25       s/Couriernew-Roman-$charset}-$enc}-Oblique/Couriernew-Italic-$charset}-$enc}/g;" $* | \
  26  grep -v "^    /Encoding isolatin1encoding def$"


Generated: Fri Nov 28 20:08:37 2014 Cross-referenced by PHPXref 0.7.1