[ADD] Times New Roman: установка шрифтов в Docker + fontconfig

This commit is contained in:
Arseny
2026-07-15 21:47:54 +03:00
parent 0c3c3496a8
commit 3a1acafc24
2 changed files with 12 additions and 1 deletions
+11
View File
@@ -7,8 +7,19 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
texlive-lang-cyrillic \
texlive-latex-extra \
fonts-liberation \
cabextract \
wget \
fontconfig \
&& rm -rf /var/lib/apt/lists/*
RUN cd /tmp && \
wget -q https://downloads.sourceforge.net/corefonts/times32.exe && \
cabextract times32.exe && \
mkdir -p /usr/share/fonts/truetype/msttcorefonts && \
cp -f *.TTF /usr/share/fonts/truetype/msttcorefonts/ && \
fc-cache -f && \
rm -f /tmp/*.TTF /tmp/times32.exe
WORKDIR /app
COPY . .
RUN uv sync --frozen --no-dev