File tree 1 file changed +0
-2
lines changed
1 file changed +0
-2
lines changed Original file line number Diff line number Diff line change @@ -9,7 +9,6 @@ use i_slint_core::graphics::FontRequest;
9
9
use i_slint_core:: items:: { TextHorizontalAlignment , TextVerticalAlignment } ;
10
10
use i_slint_core:: lengths:: { LogicalLength , ScaleFactor } ;
11
11
use i_slint_core:: { items, Color } ;
12
- use skia_safe:: FontMgr ;
13
12
14
13
use super :: itemrenderer:: to_skia_color;
15
14
use super :: { PhysicalLength , PhysicalPoint , PhysicalRect , PhysicalSize } ;
@@ -34,7 +33,6 @@ thread_local! {
34
33
let font_mgr = skia_safe:: FontMgr :: new( ) ;
35
34
let type_face_font_provider = skia_safe:: textlayout:: TypefaceFontProvider :: new( ) ;
36
35
let mut font_collection = skia_safe:: textlayout:: FontCollection :: new( ) ;
37
- font_collection. set_default_font_manager( FontMgr :: new( ) , None ) ;
38
36
// FontCollection first looks up in the dynamic font manager and then the asset font manager. If the
39
37
// family is empty, the default font manager will match against the system default. We want that behavior,
40
38
// and only if the family is not present in the system, then we want to fall back to the assert font manager
You can’t perform that action at this time.
0 commit comments