From dcb8add5f4a80c1fe3a7540ac0914497a6e465d0 Mon Sep 17 00:00:00 2001 From: grovesNL Date: Tue, 25 Oct 2022 23:52:06 -0230 Subject: [PATCH] Re-export `SwashContent` --- src/swash.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/swash.rs b/src/swash.rs index cb29859..1f26da6 100644 --- a/src/swash.rs +++ b/src/swash.rs @@ -7,7 +7,7 @@ use swash::zeno::{Format, Vector}; use crate::{CacheKey, FontMatches}; -pub use swash::scale::image::Image as SwashImage; +pub use swash::scale::image::{Content as SwashContent, Image as SwashImage}; fn swash_image(context: &mut ScaleContext, matches: &FontMatches, cache_key: CacheKey) -> Option { let font = match matches.get_font(&cache_key.font_id) {