fix: noto symbols
This commit is contained in:
parent
29ba277592
commit
5e3df02b2a
2 changed files with 6 additions and 8 deletions
|
@ -1,5 +1,4 @@
|
||||||
FROM mcr.microsoft.com/devcontainers/base:alpine
|
FROM mcr.microsoft.com/devcontainers/base:alpine
|
||||||
RUN apk add typst
|
RUN apk add typst font-noto
|
||||||
RUN mkdir -p /home/vscode/.local/share/fonts
|
RUN mkdir -p /usr/share/fonts/ubuntu
|
||||||
RUN wget -O /home/vscode/.local/share/fonts/ubuntu.ttf https://cdn.jsdelivr.net/fontsource/fonts/ubuntu@latest/latin-400-normal.ttf
|
RUN wget -O /usr/share/fonts/ubuntu/ubuntu.ttf https://cdn.jsdelivr.net/fontsource/fonts/ubuntu@latest/latin-400-normal.ttf
|
||||||
RUN wget -O /home/vscode/.local/share/fonts/noto.ttf https://cdn.jsdelivr.net/fontsource/fonts/noto-sans@latest/latin-400-normal.ttf
|
|
|
@ -1,9 +1,8 @@
|
||||||
FROM docker.io/alpine:latest AS build
|
FROM docker.io/alpine:latest AS build
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
RUN apk add typst
|
RUN apk add typst font-noto
|
||||||
RUN wget -O ubuntu.ttf https://cdn.jsdelivr.net/fontsource/fonts/ubuntu@latest/latin-400-normal.ttf
|
RUN mkdir -p /usr/share/fonts/ubuntu
|
||||||
RUN wget -O noto.ttf https://cdn.jsdelivr.net/fontsource/fonts/noto-sans@latest/latin-400-normal.ttf
|
RUN wget -O /usr/share/fonts/ubuntu/ubuntu.ttf https://cdn.jsdelivr.net/fontsource/fonts/ubuntu@latest/latin-400-normal.ttf
|
||||||
ENV TYPST_FONT_PATHS=/app
|
|
||||||
|
|
||||||
COPY . .
|
COPY . .
|
||||||
RUN typst c 3d-druck-agb.typ
|
RUN typst c 3d-druck-agb.typ
|
||||||
|
|
Loading…
Add table
Reference in a new issue