We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2147f8f commit 7ea5053Copy full SHA for 7ea5053
manim/animation/creation.py
@@ -388,8 +388,8 @@ def _adjust_stroke_width_for_text(
388
return stroke_width
389
if not isinstance(vmobject, SVGMobject):
390
return 2.0 # default in DrawBorderThenFill
391
- font_size = DEFAULT_FONT_SIZE
392
- return (font_size / DEFAULT_FONT_SIZE) * DEFAULT_STROKE_WIDTH * scale_factor
+ font_size = getattr(vmobject, "font_size", DEFAULT_FONT_SIZE)
+ return 2
393
394
def reverse_submobjects(self) -> None:
395
self.mobject.invert(recursive=True)
0 commit comments