PHP Classes
elePHPant
Icontem

File: application/libraries/dompdf/lib/ttf2ufm/src/app/netscape/nspr

Recommend this page to a friend!
  Classes of harold rita  >  PHP Thesis Proposal Hub  >  application/libraries/dompdf/lib/ttf2ufm/src/app/netscape/nspr  >  Download  
File: application/libraries/dompdf/lib/ttf2ufm/src/app/netscape/nspr
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: PHP Thesis Proposal Hub
Store and publish research thesis documents
Author: By
Last change:
Date: 1 year ago
Size: 853 bytes
 

 

Contents

Class file image Download
#!/bin/sh
if [ $# != 2 ]
then
    echo "Usage: 'nspr # file.ps' where # is 2, 5, or 1251"
    exit
else
    enc=$1
    shift
fi
case ${enc} in
    1250|1251)
        charset=windows
        ;;
    *)
        charset=iso8859
        ;;
esac
sed "s/Times-Roman/Timesnew-Roman-${charset}-${enc}/g;\
     s/Times-Italic/Timesnew-Italic-${charset}-${enc}/g;\
     s/Times-BoldItalic/Timesnew-BoldItalic-${charset}-${enc}/g;\
     s/Times-Bold/Timesnew-Bold-${charset}-${enc}/g;\
     s/Courier/Couriernew-Roman-${charset}-${enc}/g;\
     s/Couriernew-Roman-${charset}-${enc}-BoldOblique/Couriernew-BoldItalic-${charset}-${enc}/g;\
     s/Couriernew-Roman-${charset}-${enc}-Bold/Couriernew-Bold-${charset}-${enc}/g;\
     s/Couriernew-Roman-${charset}-${enc}-Oblique/Couriernew-Italic-${charset}-${enc}/g;" $* | \
grep -v "^	/Encoding isolatin1encoding def$"