mirror of https://github.com/stelzo/typst.git
Fix metrics of fandol fonts (#3554)
This commit is contained in:
parent
824859108b
commit
5b2ffd9dd0
|
|
@ -48,6 +48,12 @@ static EXCEPTION_MAP: phf::Map<&'static str, Exception> = phf::phf_map! {
|
|||
// See https://corefonts.sourceforge.net/.
|
||||
"Arial-Black" => Exception::new()
|
||||
.weight(900),
|
||||
// Fandol fonts designed for Chinese typesetting.
|
||||
// See https://ctan.org/tex-archive/fonts/fandol/.
|
||||
"FandolHei-Bold" => Exception::new()
|
||||
.weight(700),
|
||||
"FandolSong-Bold" => Exception::new()
|
||||
.weight(700),
|
||||
// Noto fonts
|
||||
"NotoNaskhArabicUISemi-Bold" => Exception::new()
|
||||
.family("Noto Naskh Arabic UI")
|
||||
|
|
|
|||
Loading…
Reference in New Issue