diff options
Diffstat (limited to 'library/src/text/shift.rs')
| -rw-r--r-- | library/src/text/shift.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/library/src/text/shift.rs b/library/src/text/shift.rs index 105953b6..c44cc3b0 100644 --- a/library/src/text/shift.rs +++ b/library/src/text/shift.rs @@ -174,7 +174,7 @@ fn search_text(content: &Content, sub: bool) -> Option<EcoString> { /// given string. fn is_shapable(vt: &Vt, text: &str, styles: StyleChain) -> bool { let world = vt.world(); - for family in styles.get(TextNode::FAMILY).0.iter() { + for family in styles.get(TextNode::FONT).0.iter() { if let Some(font) = world .book() .select(family.as_str(), variant(styles)) |
