Add sans family and true small caps

This commit is contained in:
gloamxun committed 2026-10-19 12:52:53 +08:00
1 parent e44d4c8669
commit 337eaa1778
15 files changed
+628 -122

No files matched your search

+4
View File
@@ -219,6 +219,8 @@ pub struct Run {
pub bold: bool,
pub italic: bool,
pub monospace: bool,
pub sans: bool,
pub small_caps: bool,
/// True for the synthetic kern that carries paragraph indentation.
pub paragraph_indent: bool,
}
@@ -237,6 +239,8 @@ impl Run {
bold: false,
italic: false,
monospace: false,
sans: false,
small_caps: false,
paragraph_indent: false,
}
}