This commit is contained in:
Jessica Frazelle
2015-04-28 10:33:32 -07:00
parent ed906620f1
commit be7f035671
6 changed files with 76 additions and 1 deletions

View File

@@ -29,8 +29,11 @@ ENV TOR_VERSION 4.5
RUN curl -sSL "https://www.torproject.org/dist/torbrowser/${TOR_VERSION}/tor-browser-linux64-${TOR_VERSION}_en-US.tar.xz" | tar -v -C /usr/local/bin -xJ --strip-components 1
# good fonts
COPY local.conf /etc/fonts/local.conf
WORKDIR $HOME
USER user
ENTRYPOINT ["/bin/bash"]
CMD [ "/usr/local/bin/start-tor-browser" ]
CMD [ "/usr/local/bin/Browser/start-tor-browser" ]

29
tor-browser/local.conf Normal file
View File

@@ -0,0 +1,29 @@
<?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>
</fontconfig>