feat: add chinese font support for pandoc

This commit is contained in:
纹波 2025-12-14 22:30:34 +08:00
parent c0e1aa524b
commit 6a9c3365dd
2 changed files with 26 additions and 0 deletions

View file

@ -74,9 +74,19 @@ RUN apt-get update && apt-get install -y \
texlive-latex-extra \
texlive-latex-recommended \
texlive-xetex \
texlive-lang-chinese \
fonts-noto-cjk \
fonts-wqy-zenhei \
fonts-wqy-microhei \
fonts-arphic-ukai \
fonts-arphic-uming \
--no-install-recommends \
&& rm -rf /var/lib/apt/lists/*
RUN mkdir -p /usr/share/fonts/truetype/chinese && \
ln -sf /usr/share/fonts/truetype/noto /usr/share/fonts/truetype/chinese/noto && \
fc-cache -f -v
# Install VTracer binary
RUN ARCH=$(uname -m) && \
if [ "$ARCH" = "aarch64" ]; then \