Draft metrics hinting support
This commit is contained in:
parent
9339446cfa
commit
48eda6bd7d
15 changed files with 41 additions and 22 deletions
|
|
@ -71,7 +71,7 @@ fn main() {
|
|||
];
|
||||
let font_size_default = 1; // Body
|
||||
|
||||
let mut buffer = Buffer::new(&mut font_system, font_sizes[font_size_default]);
|
||||
let mut buffer = Buffer::new(&mut font_system, font_sizes[font_size_default], false);
|
||||
buffer
|
||||
.borrow_with(&mut font_system)
|
||||
.set_size(Some(window.width() as f32), Some(window.height() as f32));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue