New files

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3438 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Dekel Tsur 2002-01-26 18:24:15 +00:00
parent ae102d4793
commit 10dd228f54
3 changed files with 45 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
* fonts-xlfd:
* create_fonts_dir: New files.
2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr> 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
* Makefile.am (EXTRA_DIST): add configure.m4 * Makefile.am (EXTRA_DIST): add configure.m4

33
lib/create_fonts_dir Executable file
View File

@ -0,0 +1,33 @@
#!/bin/sh
LYXDIR=`pwd`
LYX_XFONTS=$LYXDIR/fonts
if [ ! -d $LYX_XFONTS ]; then
mkdir $LYX_XFONTS || exit
fi
rm -f $LYX_XFONTS/fonts.dir $LYX_XFONTS/fonts.scale
for file in `sed -e 's/^\(.*\.pf[ab]\) .*$/\1/' < fonts-xlfd`; do
filepath=`kpsewhich $file`
if [ $? -eq 0 ]; then
if [ ! -e $LYX_XFONTS/$file ]; then
ln -s $filepath $LYX_XFONTS/$file
fi
echo `grep -e $file fonts-xlfd` >> $LYX_XFONTS/fonts.scale
echo "$file found."
fi
done
awk "/\.pf/ { nlines++ }\
END { print nlines }" < $LYX_XFONTS/fonts.scale > $LYX_XFONTS/fonts.dir
cat $LYX_XFONTS/fonts.scale >> $LYX_XFONTS/fonts.dir
cp $LYX_XFONTS/fonts.dir $LYX_XFONTS/fonts.scale

7
lib/fonts-xlfd Normal file
View File

@ -0,0 +1,7 @@
cmex10.pfb -unknown-cmex10-medium-r-normal--0-0-0-0-p-0-adobe-fontspecific
cmmi10.pfb -unknown-cmmi10-medium-r-normal--0-0-0-0-p-0-adobe-fontspecific
cmr10.pfb -unknown-cmr10-medium-r-normal--0-0-0-0-p-0-adobe-fontspecific
cmsy10.pfb -unknown-cmsy10-medium-r-normal--0-0-0-0-p-0-adobe-fontspecific
eufm10.pfb -unknown-eufm10-medium-r-normal--0-0-0-0-p-0-adobe-fontspecific
msam10.pfb -unknown-msam10-medium-r-normal--0-0-0-0-p-0-adobe-fontspecific
msbm10.pfb -unknown-msbm10-medium-r-normal--0-0-0-0-p-0-adobe-fontspecific