Revision 3019,
484 bytes
checked in by amuller, 14 years ago
(diff) |
Ticket #1135 - Corrigindo CSS e adicionando filemanager
|
Line | |
---|
1 | #!/bin/sh |
---|
2 | CONFLOCAL=$HOME/.netscape/psfonts.cf |
---|
3 | CONFGLOBAL=/usr/local/etc/nspsfonts.cf |
---|
4 | |
---|
5 | if [ -r "$CONFLOCAL" ] |
---|
6 | then |
---|
7 | CONF="$CONFLOCAL" |
---|
8 | else |
---|
9 | CONF="$CONFGLOBAL" |
---|
10 | fi |
---|
11 | |
---|
12 | grep -v "^#" <$CONF | grep -v "^$" | while : |
---|
13 | do { |
---|
14 | read nsname base afm pfa x |
---|
15 | [ -z "$nsname" ] && break; |
---|
16 | |
---|
17 | fname=`awk '/^FontName/ {print $2;}' <$base$afm` |
---|
18 | |
---|
19 | cat $base$pfa |
---|
20 | echo "/$nsname /$fname findfont definefont" |
---|
21 | |
---|
22 | } done |
---|
23 | |
---|
24 | grep -v "^ /Encoding isolatin1encoding def$" | egrep -v '^newpath .* closepath clip newpath$' |
---|
Note: See
TracBrowser
for help on using the repository browser.