mirror of
https://github.com/typst/typst
synced 2025-05-14 04:56:26 +08:00
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…
x
Reference in New Issue
Block a user