File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -433,6 +433,7 @@ def __init__(
433433 width : float = None ,
434434 should_center : bool = True ,
435435 disable_ligatures : bool = False ,
436+ use_svg_cache : bool = False ,
436437 ** kwargs ,
437438 ) -> None :
438439 self .line_spacing = line_spacing
@@ -495,7 +496,7 @@ def __init__(
495496 height = height ,
496497 width = width ,
497498 should_center = should_center ,
498- use_svg_cache = False ,
499+ use_svg_cache = use_svg_cache ,
499500 ** kwargs ,
500501 )
501502 self .text = text
@@ -1161,8 +1162,8 @@ def __init__(
11611162 Text .font_list = (
11621163 Text .font_list if len (Text .font_list ) > 0 else manimpango .list_fonts ()
11631164 )
1164- if font not in Text .fonts_list :
1165- logger .warning (f"Font { font } not in { Text .fonts_list } ." )
1165+ if font not in Text .font_list :
1166+ logger .warning (f"Font { font } not in { Text .font_list } ." )
11661167 self .font = font
11671168 self ._font_size = float (font_size )
11681169 self .slant = slant
You can’t perform that action at this time.
0 commit comments