Replace magic boolean with new Hinting enum
This commit is contained in:
parent
48eda6bd7d
commit
d779057d9c
16 changed files with 96 additions and 50 deletions
|
|
@ -9,7 +9,7 @@ fn load_font_system(c: &mut Criterion) {
|
|||
|
||||
fn layout(c: &mut Criterion) {
|
||||
let mut fs = ct::FontSystem::new();
|
||||
let mut buffer = ct::Buffer::new(&mut fs, ct::Metrics::new(10.0, 10.0), false);
|
||||
let mut buffer = ct::Buffer::new(&mut fs, ct::Metrics::new(10.0, 10.0), ct::Hinting::Disabled);
|
||||
buffer.set_size(&mut fs, Some(80.0), None);
|
||||
|
||||
for (wrap_name, wrap) in &[
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue