mirror of
https://github.com/storytold/figcraft.git
synced 2026-11-17 23:58:24 +00:00
Text: embedded Noto Sans JP backs up Japanese runs (#2375)
This commit is contained in:
1 parent
bad07e4433
commit
8133b31c74
2 files changed
+3
-1
No files matched your search
@@ -555,7 +555,7 @@ fn names(f: &skrifa::FontRef) -> (Option<String>, Option<String>) {
|
||||
/// document: the browser has no other fonts. The symbol fonts come last: Apple Symbols (macOS),
|
||||
/// Segoe UI Symbol (Windows) and the Noto symbol and math fonts (Linux), for signs such as ⌖ and ⤒
|
||||
/// that no text face has.
|
||||
const FALLBACK_FAMILIES: [&str; 32] = [
|
||||
const FALLBACK_FAMILIES: [&str; 33] = [
|
||||
"Inter",
|
||||
"Helvetica Neue",
|
||||
"Arial",
|
||||
@@ -563,6 +563,7 @@ const FALLBACK_FAMILIES: [&str; 32] = [
|
||||
"DejaVu Sans",
|
||||
"Noto Sans",
|
||||
"BIZ UDPGothic",
|
||||
"Noto Sans JP",
|
||||
"Hiragino Sans",
|
||||
"PingFang SC",
|
||||
"Hiragino Sans GB",
|
||||
|
||||
@@ -604,6 +604,7 @@ fn every_embeddable_script_face_is_a_document_fallback() {
|
||||
"Noto Sans Hebrew",
|
||||
"Noto Sans Devanagari",
|
||||
"Noto Sans Georgian",
|
||||
"Noto Sans JP",
|
||||
"Noto Sans Symbols",
|
||||
"Noto Sans Symbols 2",
|
||||
] {
|
||||
|
||||
Reference in new issue
Block a user