mirror of
https://github.com/penpot/penpot.git
synced 2025-02-10 09:08:31 -05:00
Refactoring texts
This commit is contained in:
parent
88722bcf4f
commit
445691430b
1 changed files with 1 additions and 1 deletions
|
@ -107,7 +107,7 @@ pub extern "C" fn init(width: i32, height: i32) -> Box<State> {
|
|||
let typeface = font_mgr
|
||||
.new_from_data(ROBOTO_REGULAR, None)
|
||||
.expect("Failed to load ROBOTO font");
|
||||
let default_font = skia_safe::Font::new(typeface.clone(), 4.0);
|
||||
let default_font = skia_safe::Font::new(typeface.clone(), 10.0);
|
||||
|
||||
let typeface_font_provider = {
|
||||
let mut typeface_font_provider = TypefaceFontProvider::new();
|
||||
|
|
Loading…
Add table
Reference in a new issue