mirror of
https://github.com/rgrgogu/new_starr.git
synced 2026-09-27 00:12:54 +08:00
use Arimo instead of Arial font
Signed-off-by: Kenneth Obsequio <k80308392@gmail.com>
This commit is contained in:
@@ -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
|
||||||
|
|||||||
@@ -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) ────────────────────────
|
||||||
|
|||||||
Reference in New Issue
Block a user