Skip to content
This repository has been archived by the owner on May 24, 2024. It is now read-only.

Commit

Permalink
Switch from STKaiti to LXGW WenKai
Browse files Browse the repository at this point in the history
  • Loading branch information
cu1ch3n committed Apr 3, 2024
1 parent a90c82b commit 297e91f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
Binary file renamed fonts/STKAITI.TTF → fonts/LXGWWenKai-Regular.ttf
Binary file not shown.
8 changes: 5 additions & 3 deletions lib/caidan.typ
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
)[#body]

#let zh_text(size, body, fill: nord0) = text(
font: "STKaiti",
font: "LXGW WenKai",
size: size,
fill: fill,
)[#body]
Expand Down Expand Up @@ -172,8 +172,10 @@
}
]
#let text_dy = (page_height - measure(title_content).height) / 2 - frame.dy - 2em
#v(text_dy)
#title_content
#if title != none or cover_image != none or update_date != none {
v(text_dy)
title_content
}
]
let end_page = [
Expand Down

0 comments on commit 297e91f

Please sign in to comment.