PHP Classes
elePHPant
Icontem

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

Recommend this page to a friend!
  Classes of harold rita  >  PHP Thesis Proposal Hub  >  application/libraries/dompdf/lib/ttf2ufm/src/app/netscape/nsfilter  >  Download  
File: application/libraries/dompdf/lib/ttf2ufm/src/app/netscape/nsfilter
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: 484 bytes
 

 

Contents

Class file image Download
#!/bin/sh
CONFLOCAL=$HOME/.netscape/psfonts.cf
CONFGLOBAL=/usr/local/etc/nspsfonts.cf

if [ -r "$CONFLOCAL" ]
then
	CONF="$CONFLOCAL"
else
	CONF="$CONFGLOBAL"
fi

grep -v "^#" <$CONF | grep -v "^$" | while :
do {
	read nsname base afm pfa x
	[ -z "$nsname" ] && break;

	fname=`awk '/^FontName/ {print $2;}' <$base$afm`

	cat $base$pfa
	echo "/$nsname /$fname findfont definefont"

} done

grep -v "^	/Encoding isolatin1encoding def$" | egrep -v '^newpath .* closepath clip newpath$'