summaryrefslogtreecommitdiff
path: root/src/library/text/shaping.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/library/text/shaping.rs')
-rw-r--r--src/library/text/shaping.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/library/text/shaping.rs b/src/library/text/shaping.rs
index 16989acf..487b9090 100644
--- a/src/library/text/shaping.rs
+++ b/src/library/text/shaping.rs
@@ -1,7 +1,7 @@
use std::ops::Range;
use std::str::FromStr;
-use rustybuzz::{Feature, UnicodeBuffer};
+use rustybuzz::{Feature, Tag, UnicodeBuffer};
use super::*;
use crate::font::{Font, FontVariant};
@@ -407,7 +407,7 @@ fn shape_segment<'a>(
});
// Shape!
- let buffer = rustybuzz::shape(font.ttf(), &ctx.tags, buffer);
+ let buffer = rustybuzz::shape(font.rusty(), &ctx.tags, buffer);
let infos = buffer.glyph_infos();
let pos = buffer.glyph_positions();