diff --git a/manimlib/mobject/svg/svg_mobject.py b/manimlib/mobject/svg/svg_mobject.py index 4b213180..7e81047e 100644 --- a/manimlib/mobject/svg/svg_mobject.py +++ b/manimlib/mobject/svg/svg_mobject.py @@ -296,7 +296,6 @@ class VMobjectFromSVGPath(VMobject): path_obj: se.Path, should_subdivide_sharp_curves: bool = False, should_remove_null_curves: bool = True, - use_simple_quadratic_approx: bool = True, **kwargs ): # Get rid of arcs @@ -305,7 +304,6 @@ class VMobjectFromSVGPath(VMobject): self.should_subdivide_sharp_curves = should_subdivide_sharp_curves self.should_remove_null_curves = should_remove_null_curves super().__init__( - use_simple_quadratic_approx=use_simple_quadratic_approx, **kwargs ) diff --git a/manimlib/mobject/svg/text_mobject.py b/manimlib/mobject/svg/text_mobject.py index b89081bf..a16d322f 100644 --- a/manimlib/mobject/svg/text_mobject.py +++ b/manimlib/mobject/svg/text_mobject.py @@ -417,9 +417,18 @@ class Text(MarkupText): # For backward compatibility isolate: Selector = (re.compile(r"\w+", re.U), re.compile(r"\S+", re.U)), use_labelled_svg: bool = True, + path_string_config: dict = dict( + use_simple_quadratic_approx=True, + ), **kwargs ): - super().__init__(text, isolate=isolate, use_labelled_svg=use_labelled_svg, **kwargs) + super().__init__( + text, + isolate=isolate, + use_labelled_svg=use_labelled_svg, + path_string_config=path_string_config, + **kwargs + ) @staticmethod def get_command_matches(string: str) -> list[re.Match]: