From 8a14734033499fa729179abd465501e60826e67b Mon Sep 17 00:00:00 2001 From: Christopher Serr Date: Mon, 27 Mar 2023 23:08:32 +0200 Subject: [PATCH] Expose `rustybuzz` in the public API This exposes `rustybuzz` on top of `fontdb`. This is in particular useful if you want to query the font for additional information. This is already publically exposed via `Font::rustybuzz()`, but the types were not re-exported, so it was impossible to properly use that function. --- src/font/system/mod.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/font/system/mod.rs b/src/font/system/mod.rs index f32ee8e..b378aa9 100644 --- a/src/font/system/mod.rs +++ b/src/font/system/mod.rs @@ -10,8 +10,9 @@ pub use self::std::*; #[cfg(feature = "std")] mod std; -// re-export fontdb +// re-export fontdb and rustybuzz pub use fontdb; +pub use rustybuzz; /// A value borrowed together with an [`FontSystem`] pub struct BorrowedWithFontSystem<'a, T> {