Skip to content

Commit 37eb09e

Browse files
committed
Fixed font install
1 parent e2b3501 commit 37eb09e

1 file changed

Lines changed: 6 additions & 15 deletions

File tree

Dockerfile

Lines changed: 6 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -43,21 +43,12 @@ RUN dnf install -y \
4343
texlive-iftex.noarch \
4444
texlive-braket.noarch \
4545
texlive-cancel.noarch \
46-
texlive-xecjk.noarch \
47-
unzip
48-
49-
# Install Noto Sans fonts: base (Latin/Greek/Cyrillic) + CJK (Korean/Chinese/Japanese)
50-
# These are the default fonts used by the template for broad Unicode coverage.
51-
RUN curl -fsSL https://github.com/notofonts/latin-greek-cyrillic/releases/download/NotoSans-v2.013/NotoSans-v2.013.zip \
52-
-o /tmp/NotoSans.zip \
53-
&& unzip -j /tmp/NotoSans.zip "*/unhinted/ttf/NotoSans-Regular.ttf" \
54-
"*/unhinted/ttf/NotoSans-Bold.ttf" \
55-
"*/unhinted/ttf/NotoSans-Italic.ttf" \
56-
"*/unhinted/ttf/NotoSans-BoldItalic.ttf" \
57-
-d /usr/share/fonts/noto \
58-
&& rm /tmp/NotoSans.zip \
59-
&& curl -fsSL https://github.com/googlefonts/noto-cjk/releases/download/Sans2.004R/NotoSansCJKkr-Regular.otf \
60-
-o /usr/share/fonts/noto/NotoSansCJKkr-Regular.otf \
46+
texlive-xecjk.noarch
47+
48+
# Install Noto Sans fonts for Unicode rendering (Latin/Greek/Cyrillic + CJK)
49+
RUN dnf install -y \
50+
google-noto-sans-fonts \
51+
google-noto-sans-cjk-ttc-fonts \
6152
&& fc-cache -fv
6253

6354
# Copy the LaTeX template

0 commit comments

Comments
 (0)