diff options
Diffstat (limited to 'src/library/text/shaping.rs')
| -rw-r--r-- | src/library/text/shaping.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/library/text/shaping.rs b/src/library/text/shaping.rs index 66a9f7c2..29973bc7 100644 --- a/src/library/text/shaping.rs +++ b/src/library/text/shaping.rs @@ -510,7 +510,7 @@ fn track_and_space(ctx: &mut ShapingContext) { } /// Resolve the font variant with `STRONG` and `EMPH` factored in. -fn variant(styles: StyleChain) -> FontVariant { +pub fn variant(styles: StyleChain) -> FontVariant { let mut variant = FontVariant::new( styles.get(TextNode::STYLE), styles.get(TextNode::WEIGHT), |
