--- Sam Halliday <[EMAIL PROTECTED]> wrote: > for i in *.TTF; do mv $i `echo $i | sed -e \ > 's/\.TTF/.ttf/g'`; done > this is no good, abiword is still looking for .afm > files in that > folder... i can create afm files from my ps files... > but i don't know > which ones to create.. why can it just not read > straight from the ttf > file? > > btw... does anyone have a script that changes ttf > files into the > respective .afm file. I have one but it needs a sed > command in it, and i > don't know how sed works.... something like; > for A in *.ttf ; do ttftool -f $A -a $A.afm ; done
for A in *.ttf; do ttftool -f $A -a `echo $A | sed 's/\.ttf/.afm/g'`; done should do the work Cheers, ===== Joaquin Cuenca Abela [EMAIL PROTECTED] __________________________________________________ Do You Yahoo!? Yahoo! - Official partner of 2002 FIFA World Cup http://fifaworldcup.yahoo.com
