Skip to content

Commit

Permalink
Update fontations, use re-exported font_types
Browse files Browse the repository at this point in the history
  • Loading branch information
simoncozens committed Nov 18, 2024
1 parent 81d8a2d commit 579bfcb
Show file tree
Hide file tree
Showing 6 changed files with 16 additions and 23 deletions.
16 changes: 7 additions & 9 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 2 additions & 3 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,8 @@ members = [
default-members = ["diffenator3-cli", "diff3proof"]

[workspace.dependencies]
read-fonts = { version = "0.21.0", features = ["serde"] }
font-types = "0.7.0"
skrifa = "0.21.0"
read-fonts = { version = "0.23.0", features = ["serde"] }
skrifa = "0.24.0"
indexmap = "1.9.3"
serde_json = { version = "1.0.96", features = ["preserve_order"] }
serde = { version = "*", features = ["derive"] }
Expand Down
1 change: 0 additions & 1 deletion diffenator3-lib/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ html = ["dep:tera", "dep:homedir", "dep:walkdir"]

[dependencies]
read-fonts = { workspace = true }
font-types = { workspace = true }
skrifa = { workspace = true }
indexmap = { workspace = true }
serde_json = { workspace = true }
Expand Down
13 changes: 6 additions & 7 deletions diffenator3-lib/src/dfont.rs
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
use crate::setting::parse_location;
use font_types::NameId;
use read_fonts::{FontRef, ReadError, TableProvider};
use skrifa::instance::Location;
use skrifa::setting::VariationSetting;
use skrifa::MetadataProvider;
use std::borrow::Cow;
use std::collections::{HashMap, HashSet};
use read_fonts::{types::NameId, FontRef, ReadError, TableProvider};
use skrifa::{instance::Location, setting::VariationSetting, MetadataProvider};
use std::{
borrow::Cow,
collections::{HashMap, HashSet},
};
use ttj::monkeypatching::DenormalizeLocation;
use ucd::Codepoint;

Expand Down
1 change: 0 additions & 1 deletion ttj/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ edition = "2021"
[dependencies]
skrifa = { workspace = true }
read-fonts = { workspace = true }
font-types = { workspace = true }
serde_json = { workspace = true }
clap = "*"
indexmap = { workspace = true }
3 changes: 1 addition & 2 deletions ttj/src/context.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
use font_types::F2Dot14;
use read_fonts::{ReadError, TableProvider};
use read_fonts::{types::F2Dot14, ReadError, TableProvider};
use skrifa::FontRef;

use crate::monkeypatching::DenormalizeLocation;
Expand Down

0 comments on commit 579bfcb

Please sign in to comment.