vscode font config (#205)

This commit is contained in:
Christian 2016-11-11 16:47:30 +01:00 committed by Jess Frazelle
parent 22efd208e5
commit 44034a57f5
2 changed files with 36 additions and 0 deletions

View File

@ -70,6 +70,8 @@ RUN buildDeps=' \
&& apt-get purge -y --auto-remove $buildDeps
COPY start.sh /usr/local/bin/start.sh
COPY local.conf /etc/fonts/local.conf
WORKDIR $HOME
ENTRYPOINT [ "/usr/local/bin/start.sh" ]

34
vscode/local.conf Normal file
View File

@ -0,0 +1,34 @@
<?xml version='1.0'?>
<!DOCTYPE fontconfig SYSTEM 'fonts.dtd'>
<fontconfig>
<match target="font">
<edit mode="assign" name="rgba">
<const>rgb</const>
</edit>
</match>
<match target="font">
<edit mode="assign" name="hinting">
<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="antialias">
<bool>true</bool>
</edit>
</match>
<match target="font">
<edit mode="assign" name="lcdfilter">
<const>lcddefault</const>
</edit>
</match>
<match target="font">
<edit name="embeddedbitmap" mode="assign">
<bool>false</bool>
</edit>
</match>
</fontconfig>