progress
This commit is contained in:
parent
fb7032bfe6
commit
d4d8ce4b1d
|
@ -22,7 +22,29 @@ packages() {
|
|||
config() {
|
||||
enable_service dbus alsa
|
||||
disable_service acpid
|
||||
ln -s /usr/share/fontconfig/conf.avail/70-no-bitmaps.conf /etc/fonts/conf.d/
|
||||
|
||||
files="10-hinting-slight.conf 10-scale-bitmap-fonts.conf 10-sub-pixel-rgb.conf 11-lcdfilter-default.conf 20-unhint-small-vera.conf 21-cantarell-hinting.conf 30-metric-aliases.conf 30-urw-aliases.conf 31-cantarell.conf 40-nonlatin.conf 42-luxi-mono.conf 45-latin.conf 49-sansserif.conf 50-user.conf 51-local.conf 57-dejavu-sans-mono.conf 57-dejavu-sans.conf 57-dejavu-serif.conf 60-latin.conf 65-fonts-persian.conf 65-nonlatin.conf 69-unifont.conf 70-no-bitmaps.conf 80-delicious.conf 90-synthetic.conf"
|
||||
|
||||
for i in ${files}; do
|
||||
|
||||
if [ -h /etc/fonts/conf.d/$i ]; then
|
||||
echo $i gibts schon
|
||||
else
|
||||
ln -s /usr/share/fontconfig/conf.avail/$i /etc/fonts/conf.d
|
||||
fi
|
||||
done
|
||||
|
||||
|
||||
mkdir -p /etc/profile.d/
|
||||
echo "# Subpixel hinting mode can be chosen by setting the right TrueType interpreter" > /etc/profile.d/freetype2.sh
|
||||
echo "# version. The available settings are:" >> /etc/profile.d/freetype2.sh
|
||||
echo "# truetype:interpreter-version=35 # Classic mode (default in 2.6)" >> /etc/profile.d/freetype2.sh
|
||||
echo "# truetype:interpreter-version=38 # Infinality mode" >> /etc/profile.d/freetype2.sh
|
||||
echo "# truetype:interpreter-version=40 # Minimal mode (default in 2.7)" >> /etc/profile.d/freetype2.sh
|
||||
echo "# There are more properties that can be set, separated by whitespace. Please" >> /etc/profile.d/freetype2.sh
|
||||
echo "# refer to the FreeType documentation for details." >> /etc/profile.d/freetype2.sh
|
||||
echo "# Uncomment and configure below" >> /etc/profile.d/freetype2.sh
|
||||
echo "export FREETYPE_PROPERTIES=“truetype:interpreter-version=38”" >> /etc/profile.d/freetype2.sh
|
||||
|
||||
if [ "${KEY_LANG}" == "de" ]; then
|
||||
mkdir -p /etc/X11/xorg.conf.d
|
||||
|
|
Loading…
Reference in New Issue
Block a user