Commit 37a0fe46 authored by Boyuan Yang's avatar Boyuan Yang

Import Upstream version 2.3.8

parents
# Copyright (C) 1996 by Andrey A. Chernov, Moscow, Russia.
#
# makefile modified by Sergey Vovk
# produce all .bdf sets only
#
# This software may be used, modified, copied, distributed, and sold,
# in both source and binary form provided that the above copyright
# and these terms are retained. Under no circumstances is the author
# responsible for the proper functioning of this software, nor does
# the author assume any responsibility for damages incurred with its use.
.SUFFIXES: .bdf
SRCRC = crox1c.bdf crox2c.bdf crox3c.bdf
SRCRH = crox1h.bdf crox2h.bdf crox3h.bdf crox4h.bdf crox5h.bdf crox6h.bdf
SRCRT = crox1t.bdf crox2t.bdf crox3t.bdf crox4t.bdf crox5t.bdf crox6t.bdf
SRCR = $(SRCRC) $(SRCRH) $(SRCRT)
SRCBC = crox1cb.bdf crox2cb.bdf crox3cb.bdf
SRCBH = crox1hb.bdf crox2hb.bdf crox3hb.bdf crox4hb.bdf crox5hb.bdf\
crox6hb.bdf
SRCBT = crox1tb.bdf crox2tb.bdf crox3tb.bdf crox4tb.bdf crox5tb.bdf\
crox6tb.bdf
SRCB = $(SRCBC) $(SRCBH) $(SRCBT)
SRCSLC = crox1co.bdf crox2co.bdf crox3co.bdf
SRCSLH = crox1ho.bdf crox2ho.bdf crox3ho.bdf crox4ho.bdf crox5ho.bdf\
crox6ho.bdf
SRCSLT = crox1to.bdf crox2to.bdf crox3to.bdf crox4to.bdf crox5to.bdf\
crox6to.bdf
SRCSL = $(SRCSLC) $(SRCSLH) $(SRCSLT)
SRCBSLC = crox1cbo.bdf crox2cbo.bdf crox3cbo.bdf
SRCBSLH = crox1hbo.bdf crox2hbo.bdf crox3hbo.bdf crox4hbo.bdf crox5hbo.bdf\
crox6hbo.bdf
SRCBSLT = crox1tbo.bdf crox2tbo.bdf crox3tbo.bdf crox4tbo.bdf crox5tbo.bdf\
crox6tbo.bdf
SRCBSL = $(SRCBSLC) $(SRCBSLH) $(SRCBSLT)
SRCC = $(SRCRC) $(SRCSLC) $(SRCBC) $(SRCBSLC)
SRCH = $(SRCRH) $(SRCSLH) $(SRCBH) $(SRCBSLH)
SRCT = $(SRCRT) $(SRCSLT) $(SRCBT) $(SRCBSLT)
SRC = $(SRCC) $(SRCH) $(SRCT)
allbdf: $(SRC)
courier: $(SRCC)
helvetica: $(SRCH)
times: $(SRCT)
bold: $(SRCB)
slant: $(SRCSL)
bslant: $(SRCBSL)
clean:
rm -f *.ff *.fb *.b *.bak *.pcf *.pcf.Z *.pcf.gz Families.list fonts.dir
cleanall: clean
rm -f $(SRCSL) $(SRCB) $(SRCBSL)
crox1co.bdf: crox1c.bdf
perl ../bdfslant.pl > crox1co.bdf < crox1c.bdf
crox2co.bdf: crox2c.bdf
perl ../bdfslant.pl > crox2co.bdf < crox2c.bdf
crox3co.bdf: crox3c.bdf
perl ../bdfslant.pl > crox3co.bdf < crox3c.bdf
crox1ho.bdf: crox1h.bdf
perl ../bdfslant.pl > crox1ho.bdf < crox1h.bdf
crox2ho.bdf: crox2h.bdf
perl ../bdfslant.pl > crox2ho.bdf < crox2h.bdf
crox3ho.bdf: crox3h.bdf
perl ../bdfslant.pl > crox3ho.bdf < crox3h.bdf
crox4ho.bdf: crox4h.bdf
perl ../bdfslant.pl > crox4ho.bdf < crox4h.bdf
crox5ho.bdf: crox5h.bdf
perl ../bdfslant.pl > crox5ho.bdf < crox5h.bdf
crox6ho.bdf: crox6h.bdf
perl ../bdfslant.pl > crox6ho.bdf < crox6h.bdf
crox1to.bdf: crox1t.bdf
perl ../bdfslant.pl > crox1to.bdf < crox1t.bdf
crox2to.bdf: crox2t.bdf
perl ../bdfslant.pl > crox2to.bdf < crox2t.bdf
crox3to.bdf: crox3t.bdf
perl ../bdfslant.pl > crox3to.bdf < crox3t.bdf
crox4to.bdf: crox4t.bdf
perl ../bdfslant.pl > crox4to.bdf < crox4t.bdf
crox5to.bdf: crox5t.bdf
perl ../bdfslant.pl > crox5to.bdf < crox5t.bdf
crox6to.bdf: crox6t.bdf
perl ../bdfslant.pl > crox6to.bdf < crox6t.bdf
crox1cb.bdf: crox1c.bdf
perl ../bdfbold.pl > crox1cb.bdf < crox1c.bdf
crox2cb.bdf: crox2c.bdf
perl ../bdfbold.pl > crox2cb.bdf < crox2c.bdf
crox3cb.bdf: crox3c.bdf
perl ../bdfbold.pl > crox3cb.bdf < crox3c.bdf
crox1hb.bdf: crox1h.bdf
perl ../bdfbold.pl > crox1hb.bdf < crox1h.bdf
crox2hb.bdf: crox2h.bdf
perl ../bdfbold.pl > crox2hb.bdf < crox2h.bdf
crox3hb.bdf: crox3h.bdf
perl ../bdfbold.pl > crox3hb.bdf < crox3h.bdf
crox4hb.bdf: crox4h.bdf
perl ../bdfbold.pl > crox4hb.bdf < crox4h.bdf
crox5hb.bdf: crox5h.bdf
perl ../bdfbold.pl > crox5hb.bdf < crox5h.bdf
crox6hb.bdf: crox6h.bdf
perl ../bdfbold.pl > crox6hb.bdf < crox6h.bdf
crox1tb.bdf: crox1t.bdf
perl ../bdfbold.pl > crox1tb.bdf < crox1t.bdf
crox2tb.bdf: crox2t.bdf
perl ../bdfbold.pl > crox2tb.bdf < crox2t.bdf
crox3tb.bdf: crox3t.bdf
perl ../bdfbold.pl > crox3tb.bdf < crox3t.bdf
crox4tb.bdf: crox4t.bdf
perl ../bdfbold.pl > crox4tb.bdf < crox4t.bdf
crox5tb.bdf: crox5t.bdf
perl ../bdfbold.pl > crox5tb.bdf < crox5t.bdf
crox6tb.bdf: crox6t.bdf
perl ../bdfbold.pl > crox6tb.bdf < crox6t.bdf
crox1cbo.bdf: crox1cb.bdf
perl ../bdfslant.pl > crox1cbo.bdf < crox1cb.bdf
crox2cbo.bdf: crox2cb.bdf
perl ../bdfslant.pl > crox2cbo.bdf < crox2cb.bdf
crox3cbo.bdf: crox3cb.bdf
perl ../bdfslant.pl > crox3cbo.bdf < crox3cb.bdf
crox1hbo.bdf: crox1hb.bdf
perl ../bdfslant.pl > crox1hbo.bdf < crox1hb.bdf
crox2hbo.bdf: crox2hb.bdf
perl ../bdfslant.pl > crox2hbo.bdf < crox2hb.bdf
crox3hbo.bdf: crox3hb.bdf
perl ../bdfslant.pl > crox3hbo.bdf < crox3hb.bdf
crox4hbo.bdf: crox4hb.bdf
perl ../bdfslant.pl > crox4hbo.bdf < crox4hb.bdf
crox5hbo.bdf: crox5hb.bdf
perl ../bdfslant.pl > crox5hbo.bdf < crox5hb.bdf
crox6hbo.bdf: crox6hb.bdf
perl ../bdfslant.pl > crox6hbo.bdf < crox6hb.bdf
crox1tbo.bdf: crox1tb.bdf
perl ../bdfslant.pl > crox1tbo.bdf < crox1tb.bdf
crox2tbo.bdf: crox2tb.bdf
perl ../bdfslant.pl > crox2tbo.bdf < crox2tb.bdf
crox3tbo.bdf: crox3tb.bdf
perl ../bdfslant.pl > crox3tbo.bdf < crox3tb.bdf
crox4tbo.bdf: crox4tb.bdf
perl ../bdfslant.pl > crox4tbo.bdf < crox4tb.bdf
crox5tbo.bdf: crox5tb.bdf
perl ../bdfslant.pl > crox5tbo.bdf < crox5tb.bdf
crox6tbo.bdf: crox6tb.bdf
perl ../bdfslant.pl > crox6tbo.bdf < crox6tb.bdf
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
# Copyright (C) 1996 by Andrey A. Chernov, Moscow, Russia.
#
# makefile modified by Sergey Vovk
# produce all .bdf sets only
#
# This software may be used, modified, copied, distributed, and sold,
# in both source and binary form provided that the above copyright
# and these terms are retained. Under no circumstances is the author
# responsible for the proper functioning of this software, nor does
# the author assume any responsibility for damages incurred with its use.
.SUFFIXES: .bdf
SRCRC = crox1c.bdf crox2c.bdf crox3c.bdf
SRCRH = crox1h.bdf crox2h.bdf crox3h.bdf crox4h.bdf crox5h.bdf crox6h.bdf
SRCRT = crox1t.bdf crox2t.bdf crox3t.bdf crox4t.bdf crox5t.bdf crox6t.bdf
SRCR = $(SRCRC) $(SRCRH) $(SRCRT)
SRCBC = crox1cb.bdf crox2cb.bdf crox3cb.bdf
SRCBH = crox1hb.bdf crox2hb.bdf crox3hb.bdf crox4hb.bdf crox5hb.bdf\
crox6hb.bdf
SRCBT = crox1tb.bdf crox2tb.bdf crox3tb.bdf crox4tb.bdf crox5tb.bdf\
crox6tb.bdf
SRCB = $(SRCBC) $(SRCBH) $(SRCBT)
SRCSLC = crox1co.bdf crox2co.bdf crox3co.bdf
SRCSLH = crox1ho.bdf crox2ho.bdf crox3ho.bdf crox4ho.bdf crox5ho.bdf\
crox6ho.bdf
SRCSLT = crox1to.bdf crox2to.bdf crox3to.bdf crox4to.bdf crox5to.bdf\
crox6to.bdf
SRCSL = $(SRCSLC) $(SRCSLH) $(SRCSLT)
SRCBSLC = crox1cbo.bdf crox2cbo.bdf crox3cbo.bdf
SRCBSLH = crox1hbo.bdf crox2hbo.bdf crox3hbo.bdf crox4hbo.bdf crox5hbo.bdf\
crox6hbo.bdf
SRCBSLT = crox1tbo.bdf crox2tbo.bdf crox3tbo.bdf crox4tbo.bdf crox5tbo.bdf\
crox6tbo.bdf
SRCBSL = $(SRCBSLC) $(SRCBSLH) $(SRCBSLT)
SRCC = $(SRCRC) $(SRCSLC) $(SRCBC) $(SRCBSLC)
SRCH = $(SRCRH) $(SRCSLH) $(SRCBH) $(SRCBSLH)
SRCT = $(SRCRT) $(SRCSLT) $(SRCBT) $(SRCBSLT)
SRC = $(SRCC) $(SRCH) $(SRCT)
allbdf: $(SRC)
courier: $(SRCC)
helvetica: $(SRCH)
times: $(SRCT)
bold: $(SRCB)
slant: $(SRCSL)
bslant: $(SRCBSL)
clean:
rm -f *.ff *.fb *.b *.bak *.pcf *.pcf.Z *.pcf.gz Families.list fonts.dir
cleanall: clean
rm -f $(SRCSL) $(SRCB) $(SRCBSL)
crox1co.bdf: crox1c.bdf
perl ../bdfslant.pl > crox1co.bdf < crox1c.bdf
crox2co.bdf: crox2c.bdf
perl ../bdfslant.pl > crox2co.bdf < crox2c.bdf
crox3co.bdf: crox3c.bdf
perl ../bdfslant.pl > crox3co.bdf < crox3c.bdf
crox1ho.bdf: crox1h.bdf
perl ../bdfslant.pl > crox1ho.bdf < crox1h.bdf
crox2ho.bdf: crox2h.bdf
perl ../bdfslant.pl > crox2ho.bdf < crox2h.bdf
crox3ho.bdf: crox3h.bdf
perl ../bdfslant.pl > crox3ho.bdf < crox3h.bdf
crox4ho.bdf: crox4h.bdf
perl ../bdfslant.pl > crox4ho.bdf < crox4h.bdf
crox5ho.bdf: crox5h.bdf
perl ../bdfslant.pl > crox5ho.bdf < crox5h.bdf
crox6ho.bdf: crox6h.bdf
perl ../bdfslant.pl > crox6ho.bdf < crox6h.bdf
crox1to.bdf: crox1t.bdf
perl ../bdfslant.pl > crox1to.bdf < crox1t.bdf
crox2to.bdf: crox2t.bdf
perl ../bdfslant.pl > crox2to.bdf < crox2t.bdf
crox3to.bdf: crox3t.bdf
perl ../bdfslant.pl > crox3to.bdf < crox3t.bdf
crox4to.bdf: crox4t.bdf
perl ../bdfslant.pl > crox4to.bdf < crox4t.bdf
crox5to.bdf: crox5t.bdf
perl ../bdfslant.pl > crox5to.bdf < crox5t.bdf
crox6to.bdf: crox6t.bdf
perl ../bdfslant.pl > crox6to.bdf < crox6t.bdf
crox1cb.bdf: crox1c.bdf
perl ../bdfbold.pl > crox1cb.bdf < crox1c.bdf
crox2cb.bdf: crox2c.bdf
perl ../bdfbold.pl > crox2cb.bdf < crox2c.bdf
crox3cb.bdf: crox3c.bdf
perl ../bdfbold.pl > crox3cb.bdf < crox3c.bdf
crox1hb.bdf: crox1h.bdf
perl ../bdfbold.pl > crox1hb.bdf < crox1h.bdf
crox2hb.bdf: crox2h.bdf
perl ../bdfbold.pl > crox2hb.bdf < crox2h.bdf
crox3hb.bdf: crox3h.bdf
perl ../bdfbold.pl > crox3hb.bdf < crox3h.bdf
crox4hb.bdf: crox4h.bdf
perl ../bdfbold.pl > crox4hb.bdf < crox4h.bdf
crox5hb.bdf: crox5h.bdf
perl ../bdfbold.pl > crox5hb.bdf < crox5h.bdf
crox6hb.bdf: crox6h.bdf
perl ../bdfbold.pl > crox6hb.bdf < crox6h.bdf
crox1tb.bdf: crox1t.bdf
perl ../bdfbold.pl > crox1tb.bdf < crox1t.bdf
crox2tb.bdf: crox2t.bdf
perl ../bdfbold.pl > crox2tb.bdf < crox2t.bdf
crox3tb.bdf: crox3t.bdf
perl ../bdfbold.pl > crox3tb.bdf < crox3t.bdf
crox4tb.bdf: crox4t.bdf
perl ../bdfbold.pl > crox4tb.bdf < crox4t.bdf
crox5tb.bdf: crox5t.bdf
perl ../bdfbold.pl > crox5tb.bdf < crox5t.bdf
crox6tb.bdf: crox6t.bdf
perl ../bdfbold.pl > crox6tb.bdf < crox6t.bdf
crox1cbo.bdf: crox1cb.bdf
perl ../bdfslant.pl > crox1cbo.bdf < crox1cb.bdf
crox2cbo.bdf: crox2cb.bdf
perl ../bdfslant.pl > crox2cbo.bdf < crox2cb.bdf
crox3cbo.bdf: crox3cb.bdf
perl ../bdfslant.pl > crox3cbo.bdf < crox3cb.bdf
crox1hbo.bdf: crox1hb.bdf
perl ../bdfslant.pl > crox1hbo.bdf < crox1hb.bdf
crox2hbo.bdf: crox2hb.bdf
perl ../bdfslant.pl > crox2hbo.bdf < crox2hb.bdf
crox3hbo.bdf: crox3hb.bdf
perl ../bdfslant.pl > crox3hbo.bdf < crox3hb.bdf
crox4hbo.bdf: crox4hb.bdf
perl ../bdfslant.pl > crox4hbo.bdf < crox4hb.bdf
crox5hbo.bdf: crox5hb.bdf
perl ../bdfslant.pl > crox5hbo.bdf < crox5hb.bdf
crox6hbo.bdf: crox6hb.bdf
perl ../bdfslant.pl > crox6hbo.bdf < crox6hb.bdf
crox1tbo.bdf: crox1tb.bdf
perl ../bdfslant.pl > crox1tbo.bdf < crox1tb.bdf
crox2tbo.bdf: crox2tb.bdf
perl ../bdfslant.pl > crox2tbo.bdf < crox2tb.bdf
crox3tbo.bdf: crox3tb.bdf
perl ../bdfslant.pl > crox3tbo.bdf < crox3tb.bdf
crox4tbo.bdf: crox4tb.bdf
perl ../bdfslant.pl > crox4tbo.bdf < crox4tb.bdf
crox5tbo.bdf: crox5tb.bdf
perl ../bdfslant.pl > crox5tbo.bdf < crox5tb.bdf
crox6tbo.bdf: crox6tb.bdf
perl ../bdfslant.pl > crox6tbo.bdf < crox6tb.bdf
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
Changes for package "xcyr" - S. Winitzki
2.3.0: initial release based on A. Chernov's xrus 2.2.x; first version of
KOI8-C charset that includes old Russian and typographic characters.
2.3.1 - 2.3.5: improved character spacing; added characters to fonts; added
several new fixed fonts to misc/; improved automatic generation of italics
fonts
2.3.6: added scripts for font manipulation; improved bounding box calculation
for italic fonts; submitted changes to A. Chernov for his xrus 2.3.1.
2.3.7: cleaned up some character spacings; added scripts for font testing and
for generating font sets in other encodings; modified KOI8-C to include the
pound sign on a printable position
2.3.8: removed Makefile; modified KOI8-C to include some extra signs on
unprintable positions and to exclude the letter "psi"; improved character
coverage, more overlap with CP1251 and KOI8-R; added HEIGHT properties to all
fonts; added -nojag option for smoother italics fonts; added scripts to make
Debian packages
/etc/X11/fonts/cyrillic-koi8c/xfonts-cyrillic-koi8c.alias
Package: xfonts-cyrillic-koi8c
Version: debversion-1
Section: x11
Priority: optional
Architecture: all
Depends: xbase-clients (>= 3.3.3.1-5)
Suggests: xfs | xserver
Conflicts: xfntcyr
Replaces: xfntcyr
Provides: xfntcyr
Installed-Size: 500
Maintainer: Serge Winitzki <winitzki@geocities.com>
Description: Cyrillic fonts for X in KOI8-C encoding
xfonts-cyrillic-koi8c provides a set of fonts using the Cyrillic alphabet
for X servers. In most cases it is desirable to have the X font server (xfs)
and/or an X server installed to make the fonts available to X clients.
.
This version provides old Russian characters in a special KOI8-C encoding.
Source: xcyr-debversion
Copyright (C) 1996 X Consortium
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
"Software"), to deal in the Software without restriction, including
without limitation the rights to use, copy, modify, merge, publish,
distribute, sublicense, and/or sell copies of the Software, and to
permit persons to whom the Software is furnished to do so, subject to
the following conditions:
The above copyright notice and this permission notice shall be
included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
IN NO EVENT SHALL THE X CONSORTIUM BE LIABLE FOR ANY CLAIM, DAMAGES OR
OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
OTHER DEALINGS IN THE SOFTWARE.
Except as contained in this notice, the name of the X Consortium shall
not be used in advertising or otherwise to promote the sale, use or
other dealings in this Software without prior written authorization
from the X Consortium.
X Window System is a trademark of X Consortium, Inc.
********************************************************************************
This package contains the set of russian fonts for X11 Release 6.
Copyright (C) 1994-1995 Cronyx Ltd.
Changes Copyright (C) 1996-1997 by Andrey A. Chernov, Moscow, Russia.
Changes Copyright (C) 1996 by Sergey Vovk
Changes made in 1999-2001 by Serge Winitzki
Version: 1.0
This software may be used, modified, copied, distributed, and sold,
in both source and binary form provided that the above copyright
and these terms are retained. Under no circumstances is the author
responsible for the proper functioning of this software, nor does
the author assume any responsibility for damages incurred with its use.
#!/bin/sh
# Debian xfonts-cyrillic package post-installation script
# Copyright 1998-2000 Branden Robinson.
# Licensed under the GNU General Public License, version 2. See the file
# /usr/share/common-licenses/GPL or <http://www.gnu.org/copyleft/gpl.txt>.
# Acknowlegements to Stephen Early, Mark Eichin, and Manoj Srivastava.
set -e
trap "echo ;\
echo 'Received signal. Aborting configuration of xfonts-cyrillic package.' ;\
echo ;\
exit 1" 1 2 3 15
case "$1" in
configure) ;;
abort-upgrade|abort-remove|abort-deconfigure) exit 0 ;;
esac
fontdirs="cyrillic-koi8c/100dpi cyrillic-koi8c/75dpi cyrillic-koi8c"
updatecmds="/usr/bin/X11/mkfontdir /usr/sbin/update-fonts-alias"
for currentdir in $fontdirs; do
longdir=/usr/lib/X11/fonts/$currentdir
if [ -e $longdir ]; then
if [ -d $longdir ]; then
for currentcmd in $updatecmds; do
if [ -e $currentcmd ]; then
if [ -x $currentcmd ]; then
shortcmd=$(basename $currentcmd)
echo -n "Running $shortcmd in $currentdir font directory..."
$currentcmd $longdir
echo "done."
else
echo "Warning: $currentcmd not executable."
fi
else
echo "Warning: $currentcmd not found."
fi
done
else
echo "Error: $longdir is not a directory!"
exit 1
fi
else
echo "Error: $longdir does not exist!"
exit 1
fi
done
if [ -d /usr/doc ]; then
if [ ! -e /usr/doc/xfonts-cyrillic-koi8c -a -d /usr/share/doc/xfonts-cyrillic-koi8c ]; then
ln -s ../share/doc/xfonts-cyrillic-koi8c /usr/doc/xfonts-cyrillic-koi8c
fi
fi
exit
#!/bin/sh
# Debian xfonts-cyrillic package post-removal script
# Copyright 1998-2000 Branden Robinson.
# Licensed under the GNU General Public License, version 2. See the file
# /usr/share/common-licenses/GPL or <http://www.gnu.org/copyleft/gpl.txt>.
# Acknowlegements to Stephen Early, Mark Eichin, and Manoj Srivastava.
set -e
trap "echo ;\
echo 'Received signal. Aborting removal of xfonts-cyrillic package.' ;\
echo ;\
exit 1" 1 2 3 15
case "$1" in
remove) ;;
purge) ;;
upgrade|failed-upgrade|abort-install|abort-upgrade|disappear) exit 0 ;;
esac
fontdirs="cyrillic-koi8c/100dpi cyrillic-koi8c/75dpi cyrillic-koi8c"
updatecmds="/usr/bin/X11/mkfontdir /usr/sbin/update-fonts-alias"
for currentdir in $fontdirs; do
longdir=/usr/lib/X11/fonts/$currentdir
if [ -d $longdir ]; then
for file in fonts.dir fonts.alias; do
if [ -e $file ]; then
rm $file
fi
done
if [ $(find $longdir | wc -l) -eq 1 ]; then
echo "$currentdir font directory is empty. Removing."
rmdir $longdir
else
for currentcmd in $updatecmds; do
if [ -e $currentcmd ]; then
if [ -x $currentcmd ]; then
shortcmd=$(basename $currentcmd)
echo -n "Running $shortcmd in $currentdir font directory..."
$currentcmd $longdir
echo "done."
else
echo "Warning: $currentcmd not executable."
fi
else
echo "Warning: $currentcmd not found."
fi
done
fi
fi
done
exit
#!/bin/sh
# Debian xfonts-cyrillic package pre-removal script
# Copyright 1998-2000 Branden Robinson.
# Licensed under the GNU General Public License, version 2. See the file
# /usr/share/common-licenses/GPL or <http://www.gnu.org/copyleft/gpl.txt>.
# Acknowlegements to Stephen Early, Mark Eichin, and Manoj Srivastava.
set -e
trap "echo ;\
echo 'Received signal. Aborting removal of xfonts-cyrillic package.' ;\
echo ;\
exit 1" 1 2 3 15
case "$1" in
remove) ;;
upgrade|failed-upgrade|deconfigure) exit 0 ;;
esac
if [ -d /usr/doc ]; then
if [ -L /usr/doc/xfonts-cyrillic-koi8c ]; then
rm /usr/doc/xfonts-cyrillic-koi8c
fi
fi
exit
#!/usr/bin/perl -w
#
# Convert bdf fonts to raw console fonts (only works well for fixed fonts!)
# Usage: bdf2fon.pl [-verbose] < input.bdf > output.fnt
# Limitations: may produce unusable console fonts if char bitmap bounding box is not 8x16 or 8x14 or whatever the console can accept
# Author: Serge Winitzki. http://www.linuxstart.com/~winitzki/
# Script is in public domain. Version 1.0
$verbose = ("@ARGV" =~ /-verbose/i) ? 1 : 0;
while (<STDIN>) {
if (/^FONTBOUNDINGBOX\s/) {
($i, $fwidth, $fheight, $i, $fbby) = (split);
if ($fwidth == 9 or $fwidth == 8) {
$fwidth = 8;
} else {
print STDERR "Error: font width is not 8 or 9, stop.\n";
exit 1;
}
}
if (/^CHARS\s(.*)$/) {
$totalchars = $1;
last;
}
}
print STDERR "$totalchars chars in font\n" if ($verbose);
# Prepare an empty line and fill the char array with empty chars
$emptyline = "\x00" x int($fwidth/8);
@chars = ();
for ($i=0; $i<256; ++$i) {
$chars[$i] = $emptyline x $fheight;
}
while (<STDIN>) {
if (/^ENCODING\s([0-9]*)$/) {
$charcode = $1;
$chars[$charcode] = ""; # This char is present in font