Skip to content
This repository has been archived by the owner on May 22, 2019. It is now read-only.

Commit

Permalink
Added fonts.conf
Browse files Browse the repository at this point in the history
  • Loading branch information
karasu committed May 9, 2014
1 parent cc47659 commit fbc9d35
Show file tree
Hide file tree
Showing 2 changed files with 40 additions and 0 deletions.
34 changes: 34 additions & 0 deletions scripts/fonts.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<match target="font">
<edit mode="assign" name="hinting" >
<bool>true</bool>
</edit>
</match>
<match target="font" >
<edit mode="assign" name="autohint" >
<bool>true</bool>
</edit>
</match>
<match target="font">
<edit mode="assign" name="hintstyle" >
<const>hintslight</const>
</edit>
</match>
<match target="font">
<edit mode="assign" name="rgba" >
<const>rgb</const>
</edit>
</match>
<match target="font">
<edit mode="assign" name="antialias" >
<bool>true</bool>
</edit>
</match>
<match target="font">
<edit mode="assign" name="lcdfilter">
<const>lcddefault</const>
</edit>
</match>
</fontconfig>
6 changes: 6 additions & 0 deletions scripts/postinstall.sh
Original file line number Diff line number Diff line change
Expand Up @@ -386,6 +386,12 @@ postinstall(){
if [[ $DESKTOP != 'nox' ]];then
set_synaptics
fi

# Configure fontconfig
FONTS_CONF="/usr/share/cnchi/scripts/fonts.conf"
if [ -f $FONTS_CONF ]; then
cp $FONTS_CONF ${DESTDIR}/etc
fi

# Set Antergos name in filesystem files
cp /etc/arch-release ${DESTDIR}/etc
Expand Down

0 comments on commit fbc9d35

Please sign in to comment.