fix fonts
This commit is contained in:
parent
42c4947468
commit
e8b2b921c9
2 changed files with 7 additions and 4 deletions
|
@ -43,9 +43,12 @@ case $VERSION in
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
mkdir -p "$PKG/usr/share/fonts/"
|
mkdir -p "$PKG/usr/share/fonts/bitmap/"
|
||||||
cp -avr "$REPOSITORY/bitmap/" "$PKG/usr/share/fonts/"
|
|
||||||
#chmod 0644 "$PKG/usr/share/fonts/*"
|
find "$REPOSITORY/bitmap/" -type f -name \*f -exec cp {} "$PKG/usr/share/fonts/bitmap/" \;
|
||||||
|
find "$PKG/usr/share/fonts/bitmap/" -name \*f -exec gzip -9 {} \;
|
||||||
|
|
||||||
|
find "$REPOSITORY/bitmap/" -type f -name \*.gz -exec cp {} "$PKG/usr/share/fonts/bitmap/" \;
|
||||||
|
|
||||||
mkdir -p "$PKG/usr/doc/$PRGNAM/"
|
mkdir -p "$PKG/usr/doc/$PRGNAM/"
|
||||||
cp -avr "$REPOSITORY/README.md" "$REPOSITORY/screenshots/" "$PKG/usr/doc/$PRGNAM/"
|
cp -avr "$REPOSITORY/README.md" "$REPOSITORY/screenshots/" "$PKG/usr/doc/$PRGNAM/"
|
||||||
|
|
|
@ -38,7 +38,7 @@ rm -rf $PKG
|
||||||
mkdir -p $PKG/usr/share/fonts/misc/
|
mkdir -p $PKG/usr/share/fonts/misc/
|
||||||
cd $PKG/usr/share/fonts/misc/
|
cd $PKG/usr/share/fonts/misc/
|
||||||
|
|
||||||
for i in /usr/share/fonts/misc/ter-u*; do
|
for i in /usr/share/fonts/misc/ter-u*.pcf.gz; do
|
||||||
f=$(echo $(basename $i) | sed 's|\.gz$||')
|
f=$(echo $(basename $i) | sed 's|\.gz$||')
|
||||||
zcat $i > $f
|
zcat $i > $f
|
||||||
fonttosfnt -o "${f/pcf/otb}" "$f"
|
fonttosfnt -o "${f/pcf/otb}" "$f"
|
||||||
|
|
Loading…
Reference in a new issue