From cfecf990328f95f6ea4b584487369c1c964cf6d7 Mon Sep 17 00:00:00 2001 From: Amet13 Date: Tue, 24 Sep 2024 09:45:00 -0400 Subject: [PATCH] Replace links to fonts --- Dockerfile | 4 ++-- README.md | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 40fe9c1..4200535 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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 diff --git a/README.md b/README.md index 97dba19..c41b2f6 100644 --- a/README.md +++ b/README.md @@ -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 ```