diff --git a/write-fonts/Cargo.toml b/write-fonts/Cargo.toml index 4aac81662..9cf6ee656 100644 --- a/write-fonts/Cargo.toml +++ b/write-fonts/Cargo.toml @@ -10,6 +10,7 @@ categories = ["text-processing", "parsing", "graphics"] [features] default = ["dot2"] +read = [] [dependencies] font-types = { version = "0.3.4", path = "../font-types" } diff --git a/write-fonts/src/font_builder.rs b/write-fonts/src/font_builder.rs index fd8f0b3ed..10f23c866 100644 --- a/write-fonts/src/font_builder.rs +++ b/write-fonts/src/font_builder.rs @@ -3,7 +3,7 @@ use std::collections::BTreeMap; use std::{borrow::Cow, fmt::Display}; -use read::{FontRef, TableProvider}; +use read_fonts::{FontRef, TableProvider}; use types::{Tag, TT_SFNT_VERSION}; include!("../generated/generated_font.rs");