| 1 | #[cfg (feature = "textlayout" )] |
| 2 | pub(crate) mod paragraph; |
| 3 | #[cfg (feature = "svg" )] |
| 4 | pub mod resources; |
| 5 | #[cfg (feature = "textlayout" )] |
| 6 | pub mod shaper; |
| 7 | #[cfg (feature = "svg" )] |
| 8 | pub mod svg; |
| 9 | #[cfg (feature = "textlayout" )] |
| 10 | pub use shaper::{icu, Shaper}; |
| 11 | |
| 12 | // Export everything below paragraph under textlayout |
| 13 | #[cfg (feature = "textlayout" )] |
| 14 | pub mod textlayout { |
| 15 | pub use super::paragraph::*; |
| 16 | } |
| 17 | |
| 18 | #[cfg (feature = "textlayout" )] |
| 19 | pub mod shapers { |
| 20 | // Re-exports `shapers::primitive`. |
| 21 | pub use crate::shaper::shapers::*; |
| 22 | |
| 23 | pub mod ct { |
| 24 | pub use crate::shaper::core_text::*; |
| 25 | } |
| 26 | |
| 27 | pub mod hb { |
| 28 | pub use crate::shaper::harfbuzz::*; |
| 29 | } |
| 30 | |
| 31 | pub mod unicode { |
| 32 | pub use crate::shaper::unicode::*; |
| 33 | } |
| 34 | } |
| 35 | |