diff options
| author | Laurenz <laurmaedje@gmail.com> | 2022-05-18 19:09:19 +0200 |
|---|---|---|
| committer | Laurenz <laurmaedje@gmail.com> | 2022-05-18 19:09:57 +0200 |
| commit | 3965e10281ea3c8754a1877c9f7e71c1930bf4c3 (patch) | |
| tree | e221b11692ac3af9f97c66625824e1c4e345c2eb /src/library/text/shaping.rs | |
| parent | 486f7b1bca15af3805ae1a8f63d72827f227a3d2 (diff) | |
Hack in ReX for now
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), |
