Skip to content

Commit

Permalink
Replace links to fonts
Browse files Browse the repository at this point in the history
  • Loading branch information
Amet13 committed Sep 24, 2024
1 parent 290b768 commit cfecf99
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@ RUN apt install --no-install-recommends --reinstall -y \
fonts-freefont-ttf \
fontconfig && \
wget -O /usr/share/fonts/xits-math.otf https://github.com/khaledhosny/xits-math/raw/master/XITSMath-Regular.otf && \
wget https://ftp.tw.freebsd.org/distfiles/xorg/font/PTSansOFL.zip && \
wget https://ftp.tw.freebsd.org/distfiles/xorg/font/PTMonoOFL.zip && \
wget https://ponce.cc/slackware/sources/repo/ttf-paratype-pt-fonts/PTSansOFL.zip && \
wget https://ponce.cc/slackware/sources/repo/ttf-paratype-pt-fonts/PTMonoOFL.zip && \
unzip -o PTSansOFL.zip -d /usr/share/fonts/ && unzip -o PTMonoOFL.zip -d /usr/share/fonts/ && \
rm -f PTSansOFL.zip PTMonoOFL.zip && \
fc-cache -f -v
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ sudo apt install texlive-base texlive-latex-extra texlive-xetex texlive-lang-cyr
```bash
sudo apt install ttf-mscorefonts-installer fonts-freefont-ttf fontconfig
sudo wget -O /usr/share/fonts/xits-math.otf https://github.com/khaledhosny/xits-math/raw/master/XITSMath-Regular.otf
sudo wget https://ftp.tw.freebsd.org/distfiles/xorg/font/{PTSansOFL,PTMonoOFL}.zip
sudo wget https://ponce.cc/slackware/sources/repo/ttf-paratype-pt-fonts/{PTSansOFL,PTMonoOFL}.zip
sudo unzip -o PTSansOFL.zip -d /usr/share/fonts/ && sudo unzip -o PTMonoOFL.zip -d /usr/share/fonts/
sudo rm -f {PTSansOFL,PTMonoOFL}.zip && sudo fc-cache -f -v
```
Expand Down

0 comments on commit cfecf99

Please sign in to comment.