We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 49d08a5 commit 1fc8995Copy full SHA for 1fc8995
1 file changed
cli/src/convert.rs
@@ -17,6 +17,12 @@ pub fn convert_(
17
let mut fontdb = fontdb::Database::new();
18
fontdb.load_system_fonts();
19
20
+ fontdb.set_serif_family("Times New Roman");
21
+ fontdb.set_sans_serif_family("Arial");
22
+ fontdb.set_cursive_family("Comic Sans MS");
23
+ fontdb.set_fantasy_family("Impact");
24
+ fontdb.set_monospace_family("Courier New");
25
+
26
// Convert the file.
27
let name = Path::new(input.file_name().ok_or("Input path does not point to a file")?);
28
let output = output.unwrap_or_else(|| name.with_extension("pdf"));
0 commit comments