mirror of
https://github.com/typst/typst
synced 2025-05-14 04:56:26 +08:00
Do not conflate Archivo Narrow and Archivo (Black) fonts (#4478)
This commit is contained in:
parent
ab5cebc57c
commit
5c71ad7fe7
@ -48,6 +48,16 @@ static EXCEPTION_MAP: phf::Map<&'static str, Exception> = phf::phf_map! {
|
||||
// See https://corefonts.sourceforge.net/.
|
||||
"Arial-Black" => Exception::new()
|
||||
.weight(900),
|
||||
// Archivo Narrow is different from Archivo and Archivo Black. Since Archivo Black seems
|
||||
// identical to Archivo weight 900, only differentiate between Archivo and Archivo Narrow.
|
||||
"ArchivoNarrow-Regular" => Exception::new()
|
||||
.family("Archivo Narrow"),
|
||||
"ArchivoNarrow-Italic" => Exception::new()
|
||||
.family("Archivo Narrow"),
|
||||
"ArchivoNarrow-Bold" => Exception::new()
|
||||
.family("Archivo Narrow"),
|
||||
"ArchivoNarrow-BoldItalic" => Exception::new()
|
||||
.family("Archivo Narrow"),
|
||||
// Fandol fonts designed for Chinese typesetting.
|
||||
// See https://ctan.org/tex-archive/fonts/fandol/.
|
||||
"FandolHei-Bold" => Exception::new()
|
||||
|
Loading…
x
Reference in New Issue
Block a user