use Arimo instead of Arial font

Signed-off-by: Kenneth Obsequio <k80308392@gmail.com>
This commit is contained in:
2026-07-20 14:26:01 +08:00
parent a2fb3e0774
commit c85641371e
2 changed files with 5 additions and 1 deletions
+4
View File
@@ -12,6 +12,10 @@ RUN npm install -g pm2 sequelize-cli
# Not available as an apk package, so lift the binary out of pandoc/typst. # Not available as an apk package, so lift the binary out of pandoc/typst.
COPY --from=typst /usr/bin/typst /usr/local/bin/typst COPY --from=typst /usr/bin/typst /usr/local/bin/typst
# Arimo is metric-compatible with Arial (open license — real Arial can't be
# bundled). certificate.typ references it by this family name.
RUN apk add --no-cache font-arimo && fc-cache -f 2>/dev/null || true
WORKDIR /app WORKDIR /app
# Install production dependencies only # Install production dependencies only
+1 -1
View File
@@ -14,7 +14,7 @@
margin: (left: 38pt, right: 38pt, top: 28pt, bottom: 38pt), margin: (left: 38pt, right: 38pt, top: 28pt, bottom: 38pt),
) )
#set text(font: "Arial", size: 11pt, fill: black) #set text(font: "Arimo", size: 11pt, fill: black)
#set par(justify: false, leading: 1.2em) #set par(justify: false, leading: 1.2em)
// ─── Header: logo (left) + certificate numbers (right) ──────────────────────── // ─── Header: logo (left) + certificate numbers (right) ────────────────────────