From 7a91225ea8d028bcc03c22f502dbcf4c6c69d89f Mon Sep 17 00:00:00 2001 From: Colin Rofls Date: Wed, 2 Aug 2023 10:44:21 -0400 Subject: [PATCH] Fixup breakage between two outstanding PRs This has now happened twice, so I'm inclined to turn on the setting that requires branches to be up to date in order to be mergeable. This also adds the missing 'read' feature to write-fonts :o --- write-fonts/Cargo.toml | 1 + write-fonts/src/font_builder.rs | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) 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");