mirror of
https://github.com/jessfraz/dockerfiles.git
synced 2025-12-12 16:02:40 +01:00
fonts
This commit is contained in:
@@ -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
29
tor-browser/local.conf
Normal 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>
|
||||
Reference in New Issue
Block a user