PHP Classes

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

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

Contents

Class file image Download
#!/bin/sh NDIR=$HOME/.netscape PFILE=$NDIR/preferences.js CFFILE=$NDIR/fontsz.cf TMPFILE=$NDIR/fontsz.sed die() { echo "notscape: can't $*" >&2 exit 1 } [ -r $CFFILE ] && { awk '{ printf("/intl.font_spec_list/s/-[^-]*-\\([^-]*\\)-%s,/-%s-\\1-%s,/\n", \ $1, $2, $1); }' <$CFFILE >$TMPFILE cp $PFILE $PFILE.old || die "save old pref file" sed -f $TMPFILE <$PFILE.old >$PFILE.new || die "create new pref file" [ -s $PFILE.new ] || die "create new pref file" mv $PFILE.new $PFILE || die "install new pref file" } exec netscape -no-about-splash "$@"