Skip to content

Commit

Permalink
Preliminary hackery
Browse files Browse the repository at this point in the history
  • Loading branch information
rsheeter committed Oct 26, 2023
1 parent 6f75c18 commit 4134a80
Show file tree
Hide file tree
Showing 5 changed files with 305 additions and 16 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -50,4 +50,4 @@ members = [
]

[patch.crates-io]
fea-rs = { git = "https://github.com/cmyr/fea-rs.git", branch = "public-feature-builder-api" }
fea-rs = { git = "https://github.com/cmyr/fea-rs.git", branch = "sketchy" }
6 changes: 5 additions & 1 deletion fontbe/src/error.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,9 @@ use std::{fmt::Display, io, path::PathBuf};
use fea_rs::compile::error::CompilerError;
use font_types::Tag;
use fontdrasil::types::GlyphName;
use fontir::{error::VariationModelError, variations::DeltaError};
use fontir::{
error::VariationModelError, orchestration::WorkId as FeWorkId, variations::DeltaError,
};
use read_fonts::ReadError;
use thiserror::Error;
use write_fonts::tables::{
Expand Down Expand Up @@ -61,6 +63,8 @@ pub enum Error {
FileExpected(PathBuf),
#[error("Missing {0}")]
MissingTable(Tag),
#[error("Expected an anchor, got {0:?}")]
ExpectedAnchor(FeWorkId),
}

#[derive(Debug)]
Expand Down
Loading

0 comments on commit 4134a80

Please sign in to comment.