Add some comments about the temporary hack

This commit is contained in:
Wallbreaker5th
2021-06-19 16:00:39 +08:00
parent e836c3bb42
commit a99ccea02c
2 changed files with 3 additions and 0 deletions

View File

@ -69,6 +69,8 @@ class Text(SVGMobject):
if self.height is None:
self.scale(TEXT_MOB_SCALE_FACTOR * self.font_size)
# Just a temporary hack to get better triangulation
# See pr #1552 for details
for i in self.submobjects:
i.insert_n_curves(len(i.get_points()))