summaryrefslogtreecommitdiff
path: root/src/main.rs
diff options
context:
space:
mode:
authorLaurenz <laurmaedje@gmail.com>2022-09-19 11:31:37 +0200
committerLaurenz <laurmaedje@gmail.com>2022-09-19 11:36:59 +0200
commit30be75c6687f1e03cf867d258b3ddba353cc7aa2 (patch)
tree51afd42ae8875811ae51974e66681a17990de7f2 /src/main.rs
parent4ec3bcee487c1567bc6551f81d4f69eee4379076 (diff)
Renaming
`Face` -> `Font` `FaceId` -> `FontId` `SourceFile` -> `Source`
Diffstat (limited to 'src/main.rs')
-rw-r--r--src/main.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main.rs b/src/main.rs
index 784dbc2d..6c0ad649 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -11,7 +11,7 @@ use same_file::is_same_file;
use termcolor::{ColorChoice, StandardStream, WriteColor};
use typst::diag::{Error, StrResult};
-use typst::font::{FaceInfo, FontStore};
+use typst::font::{FontInfo, FontStore};
use typst::library::text::THEME;
use typst::loading::FsLoader;
use typst::parse::TokenMode;
@@ -276,7 +276,7 @@ fn fonts(command: FontsCommand) -> StrResult<()> {
for (name, infos) in fonts.families() {
println!("{name}");
if command.variants {
- for &FaceInfo { variant, .. } in infos {
+ for &FontInfo { variant, .. } in infos {
println!(
"- Style: {:?}, Weight: {:?}, Stretch: {:?}",
variant.style, variant.weight, variant.stretch,