DeveloperPaul123 / modern-cv

A modern resume template written in Typst, inspired by Awesome-CV
Other
207 stars 34 forks source link

Is it possible to customize the font used #50

Closed gtn1024 closed 3 weeks ago

gtn1024 commented 1 month ago
image image

The default font is not very good for Chinese, can we provide an option to customize it. Or can only modify lib.typ file?

DeveloperPaul123 commented 1 month ago

Hmm, currently you would have to edit the lib.typ file to make this happen. I can look into adding this as an input parameter for the template though

gtn1024 commented 1 month ago

Great, thanks!

AceofSpades5757 commented 1 month ago

Looks like you can also use set to change this after the show.

#show: coverletter.with(
  ...,
)
#set text(
  font: "New Computer Modern",
  size: 10pt
)
gtn1024 commented 3 weeks ago

@AceofSpades5757 seems great to this solution. It do work!