A community-maintained Python framework for creating mathematical animations.
updated TextMobject and fixed WriteTest
Hugues Devimeux572d8819d334
diff --git a/manim/utils/set_test.py b/manim/utils/set_test.pyindex 4af85eb99..35e858334 100644--- a/manim/utils/set_test.py+++ b/manim/utils/set_test.py@@ -6,7 +6,7 @@ def set_test_scene(scene_object, CONFIG, module_name):"""Function used to set up the test data for a new feature. Please Refer to the wiki."""scene = scene_object(**CONFIG)data = scene.get_frame()- path = os.path.join("manim","tests","tests_data","{}".format(module_name))+ path = os.path.join("manim", "tests","tests_data","{}".format(module_name))if not os.path.isdir(path):os.makedirs(path)np.save(os.path.join(path, str(scene)), data)diff --git a/tests/test_creation.py b/tests/test_creation.pyindex 73c681729..004f4d870 100644--- a/tests/test_creation.py+++ b/tests/test_creation.py@@ -25,7 +25,7 @@ class DrawBorderThenFillTest(Scene):class WriteTest(Scene):def construct(self):- t = Text('Test')+ t = Text('helloworld')self.play(Write(t))@@ -112,4 +112,3 @@ def test_scenes(get_config_test, Tester):module_name = os.path.splitext(os.path.basename(__file__))[0].replace('test_', '')for _, scene_tested in inspect.getmembers(sys.modules[__name__], lambda m: inspect.isclass(m) and m.__module__ == __name__):Tester(scene_tested, CONFIG, module_name).test()-diff --git a/tests/test_writing.py b/tests/test_writing.pyindex 50dbb25aa..1422e7d51 100644--- a/tests/test_writing.py+++ b/tests/test_writing.py@@ -12,6 +12,8 @@ class TextTest(Scene):class TextMobjectTest(Scene):def construct(self):+ constants.TEX_TEMPLATE = TexTemplate()+t = TextMobject('Hello world !')self.play(Animation(t))@@ -19,11 +21,12 @@ class TextMobjectTest(Scene):class TexMobjectTest(Scene):def construct(self):+ constants.TEX_TEMPLATE = TexTemplate()+t = TexMobject("\\sum_{n=1}^\\infty ""\\frac{1}{n^2} = \\frac{\\pi^2}{6}")-self.play(Animation(t))diff --git a/tests/tests_cache/writing/TextMobjectTest/Tex/d89ed37bc7357ac4.aux b/tests/tests_cache/writing/TexMobjectTest/Tex/cd02c6a47026b73d.auxsimilarity index 100%rename from tests/tests_cache/writing/TextMobjectTest/Tex/d89ed37bc7357ac4.auxrename to tests/tests_cache/writing/TexMobjectTest/Tex/cd02c6a47026b73d.auxdiff --git a/tests/tests_cache/writing/TexMobjectTest/Tex/cd02c6a47026b73d.dvi b/tests/tests_cache/writing/TexMobjectTest/Tex/cd02c6a47026b73d.dvinew file mode 100644index 000000000..5c845b360Binary files /dev/null and b/tests/tests_cache/writing/TexMobjectTest/Tex/cd02c6a47026b73d.dvi differdiff --git a/tests/tests_cache/writing/TexMobjectTest/Tex/cd02c6a47026b73d.svg b/tests/tests_cache/writing/TexMobjectTest/Tex/cd02c6a47026b73d.svgnew file mode 100644index 000000000..bac9a9190--- /dev/null+++ b/tests/tests_cache/writing/TexMobjectTest/Tex/cd02c6a47026b73d.svg@@ -0,0 +1,33 @@+<?xml version='1.0' encoding='UTF-8'?>+<!-- This file was generated by dvisvgm 2.6.3 -->+<svg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' width='54.497512pt' height='27.090171pt' viewBox='144.009023 -15.455973 54.497512 27.090171'>+<defs>+<path id='g2-110' d='M0.850809 -0.439352C0.822914 -0.348692 0.781071 -0.174346 0.781071 -0.153425C0.781071 0 0.9066 0.069738 1.018182 0.069738C1.143711 0.069738 1.255293 -0.020922 1.290162 -0.083686S1.380822 -0.369614 1.415691 -0.516065C1.45056 -0.648568 1.527273 -0.969365 1.569116 -1.143711C1.610959 -1.297136 1.652802 -1.45056 1.687671 -1.610959C1.764384 -1.896887 1.778331 -1.952677 1.980573 -2.238605C2.175841 -2.517559 2.503611 -2.880199 3.02665 -2.880199C3.431133 -2.880199 3.438107 -2.524533 3.438107 -2.39203C3.438107 -1.973599 3.138232 -1.199502 3.02665 -0.9066C2.949938 -0.711333 2.922042 -0.648568 2.922042 -0.530012C2.922042 -0.160399 3.228892 0.069738 3.584558 0.069738C4.281943 0.069738 4.588792 -0.892653 4.588792 -0.99726C4.588792 -1.08792 4.498132 -1.08792 4.47721 -1.08792C4.379577 -1.08792 4.372603 -1.046077 4.344707 -0.969365C4.184309 -0.411457 3.884433 -0.125529 3.605479 -0.125529C3.459029 -0.125529 3.431133 -0.223163 3.431133 -0.369614C3.431133 -0.530012 3.466002 -0.620672 3.591532 -0.934496C3.675218 -1.150685 3.961146 -1.889913 3.961146 -2.280448C3.961146 -2.956912 3.424159 -3.075467 3.054545 -3.075467C2.475716 -3.075467 2.085181 -2.719801 1.875965 -2.440847C1.827148 -2.922042 1.415691 -3.075467 1.129763 -3.075467C0.829888 -3.075467 0.669489 -2.859278 0.578829 -2.698879C0.425405 -2.440847 0.327771 -2.043337 0.327771 -2.008468C0.327771 -1.917808 0.425405 -1.917808 0.446326 -1.917808C0.54396 -1.917808 0.550934 -1.93873 0.599751 -2.127024C0.704359 -2.538481 0.836862 -2.880199 1.108842 -2.880199C1.290162 -2.880199 1.338979 -2.726775 1.338979 -2.538481C1.338979 -2.405978 1.276214 -2.147945 1.227397 -1.959651S1.108842 -1.48543 1.073973 -1.332005L0.850809 -0.439352Z'/>+<path id='g0-49' d='M4.030884 -1.910834C3.66127 -2.343213 3.549689 -2.461768 3.284682 -2.650062C2.859278 -2.956912 2.412951 -3.075467 2.02939 -3.075467C1.164633 -3.075467 0.536986 -2.336239 0.536986 -1.499377C0.536986 -0.683437 1.136737 0.069738 2.008468 0.069738C2.977833 0.069738 3.654296 -0.72528 3.905355 -1.094894C4.274969 -0.662516 4.38655 -0.54396 4.651557 -0.355666C5.076961 -0.048817 5.523288 0.069738 5.906849 0.069738C6.771606 0.069738 7.399253 -0.669489 7.399253 -1.506351C7.399253 -2.322291 6.799502 -3.075467 5.927771 -3.075467C4.958406 -3.075467 4.281943 -2.280448 4.030884 -1.910834ZM4.254047 -1.652802C4.533001 -2.106102 5.139726 -2.810461 5.990535 -2.810461C6.708842 -2.810461 7.203985 -2.175841 7.203985 -1.506351S6.660025 -0.313823 6.018431 -0.313823C5.369863 -0.313823 4.923537 -0.843836 4.254047 -1.652802ZM3.682192 -1.352927C3.403238 -0.899626 2.796513 -0.195268 1.945704 -0.195268C1.227397 -0.195268 0.732254 -0.829888 0.732254 -1.499377S1.276214 -2.691905 1.917808 -2.691905C2.566376 -2.691905 3.012702 -2.161893 3.682192 -1.352927Z'/>+<path id='g5-88' d='M12.612702 13.947696L13.818182 10.759651H13.569116C13.180573 11.795766 12.124533 12.473225 10.978829 12.772105C10.769614 12.821918 9.793275 13.080946 7.880448 13.080946H1.872976L6.94396 7.13325C7.013699 7.053549 7.033624 7.023661 7.033624 6.973848C7.033624 6.953923 7.033624 6.924035 6.963885 6.824408L2.321295 0.478207H7.780822C9.115816 0.478207 10.022416 0.617684 10.11208 0.637609C10.650062 0.71731 11.516812 0.886675 12.303861 1.384807C12.552927 1.544209 13.230386 1.992528 13.569116 2.799502H13.818182L12.612702 0H0.836862C0.607721 0 0.597758 0.009963 0.56787 0.069738C0.557908 0.099626 0.557908 0.288917 0.557908 0.398506L5.828144 7.611457L0.667497 13.65878C0.56787 13.778331 0.56787 13.828144 0.56787 13.838107C0.56787 13.947696 0.657534 13.947696 0.836862 13.947696H12.612702Z'/>+<path id='g4-49' d='M2.336239 -4.435367C2.336239 -4.623661 2.322291 -4.630635 2.127024 -4.630635C1.680697 -4.191283 1.046077 -4.184309 0.760149 -4.184309V-3.93325C0.927522 -3.93325 1.387796 -3.93325 1.771357 -4.128518V-0.571856C1.771357 -0.341719 1.771357 -0.251059 1.073973 -0.251059H0.808966V0C0.934496 -0.006974 1.792279 -0.027895 2.050311 -0.027895C2.266501 -0.027895 3.145205 -0.006974 3.29863 0V-0.251059H3.033624C2.336239 -0.251059 2.336239 -0.341719 2.336239 -0.571856V-4.435367Z'/>+<path id='g4-50' d='M3.521793 -1.26924H3.284682C3.263761 -1.115816 3.194022 -0.704359 3.103362 -0.63462C3.047572 -0.592777 2.510585 -0.592777 2.412951 -0.592777H1.129763C1.862017 -1.241345 2.106102 -1.436613 2.524533 -1.764384C3.040598 -2.175841 3.521793 -2.608219 3.521793 -3.270735C3.521793 -4.11457 2.782565 -4.630635 1.889913 -4.630635C1.025156 -4.630635 0.439352 -4.02391 0.439352 -3.382316C0.439352 -3.02665 0.739228 -2.991781 0.808966 -2.991781C0.976339 -2.991781 1.17858 -3.110336 1.17858 -3.361395C1.17858 -3.486924 1.129763 -3.731009 0.767123 -3.731009C0.983313 -4.226152 1.457534 -4.379577 1.785305 -4.379577C2.48269 -4.379577 2.84533 -3.835616 2.84533 -3.270735C2.84533 -2.66401 2.412951 -2.182814 2.189788 -1.931756L0.509091 -0.27198C0.439352 -0.209215 0.439352 -0.195268 0.439352 0H3.312578L3.521793 -1.26924Z'/>+<path id='g4-61' d='M5.355915 -2.343213C5.460523 -2.343213 5.620922 -2.343213 5.620922 -2.517559C5.620922 -2.684932 5.453549 -2.684932 5.362889 -2.684932H0.746202C0.655542 -2.684932 0.488169 -2.684932 0.488169 -2.517559C0.488169 -2.343213 0.648568 -2.343213 0.753176 -2.343213H5.355915ZM5.362889 -0.808966C5.453549 -0.808966 5.620922 -0.808966 5.620922 -0.976339C5.620922 -1.150685 5.460523 -1.150685 5.355915 -1.150685H0.753176C0.648568 -1.150685 0.488169 -1.150685 0.488169 -0.976339C0.488169 -0.808966 0.655542 -0.808966 0.746202 -0.808966H5.362889Z'/>+<path id='g1-25' d='M2.6401 -3.716065H3.765878C3.437111 -2.241594 3.347447 -1.8132 3.347447 -1.145704C3.347447 -0.996264 3.347447 -0.727273 3.427148 -0.388543C3.526775 0.049813 3.636364 0.109589 3.785803 0.109589C3.985056 0.109589 4.194271 -0.069738 4.194271 -0.268991C4.194271 -0.328767 4.194271 -0.348692 4.134496 -0.488169C3.845579 -1.205479 3.845579 -1.853051 3.845579 -2.132005C3.845579 -2.660025 3.915318 -3.198007 4.024907 -3.716065H5.160648C5.290162 -3.716065 5.648817 -3.716065 5.648817 -4.054795C5.648817 -4.293898 5.439601 -4.293898 5.250311 -4.293898H1.912827C1.693649 -4.293898 1.315068 -4.293898 0.876712 -3.825654C0.52802 -3.437111 0.268991 -2.978829 0.268991 -2.929016C0.268991 -2.919054 0.268991 -2.82939 0.388543 -2.82939C0.468244 -2.82939 0.488169 -2.86924 0.547945 -2.948941C1.036115 -3.716065 1.613948 -3.716065 1.8132 -3.716065H2.381071C2.062267 -2.510585 1.524284 -1.305106 1.105853 -0.398506C1.026152 -0.249066 1.026152 -0.229141 1.026152 -0.159402C1.026152 0.029888 1.185554 0.109589 1.315068 0.109589C1.613948 0.109589 1.693649 -0.169365 1.8132 -0.537983C1.952677 -0.996264 1.952677 -1.016189 2.082192 -1.514321L2.6401 -3.716065Z'/>+<path id='g1-110' d='M0.876712 -0.587796C0.846824 -0.438356 0.787049 -0.209215 0.787049 -0.159402C0.787049 0.019925 0.926526 0.109589 1.075965 0.109589C1.195517 0.109589 1.374844 0.029888 1.444583 -0.169365C1.454545 -0.18929 1.574097 -0.657534 1.633873 -0.9066L1.853051 -1.803238C1.912827 -2.022416 1.972603 -2.241594 2.022416 -2.470735C2.062267 -2.6401 2.141968 -2.929016 2.15193 -2.968867C2.30137 -3.277709 2.82939 -4.184309 3.775841 -4.184309C4.224159 -4.184309 4.313823 -3.815691 4.313823 -3.486924C4.313823 -2.86924 3.825654 -1.594022 3.666252 -1.165629C3.576588 -0.936488 3.566625 -0.816936 3.566625 -0.707347C3.566625 -0.239103 3.915318 0.109589 4.383562 0.109589C5.32005 0.109589 5.688667 -1.344956 5.688667 -1.424658C5.688667 -1.524284 5.599004 -1.524284 5.569116 -1.524284C5.469489 -1.524284 5.469489 -1.494396 5.419676 -1.344956C5.220423 -0.667497 4.891656 -0.109589 4.403487 -0.109589C4.234122 -0.109589 4.164384 -0.209215 4.164384 -0.438356C4.164384 -0.687422 4.254047 -0.926526 4.343711 -1.145704C4.533001 -1.673724 4.951432 -2.769614 4.951432 -3.337484C4.951432 -4.004981 4.523039 -4.403487 3.805729 -4.403487C2.909091 -4.403487 2.420922 -3.765878 2.251557 -3.536737C2.201743 -4.094645 1.793275 -4.403487 1.334994 -4.403487S0.687422 -4.014944 0.587796 -3.835616C0.428394 -3.496887 0.288917 -2.909091 0.288917 -2.86924C0.288917 -2.769614 0.388543 -2.769614 0.408468 -2.769614C0.508095 -2.769614 0.518057 -2.779577 0.577833 -2.998755C0.747198 -3.706102 0.946451 -4.184309 1.305106 -4.184309C1.504359 -4.184309 1.613948 -4.054795 1.613948 -3.726027C1.613948 -3.516812 1.58406 -3.407223 1.454545 -2.889166L0.876712 -0.587796Z'/>+<path id='g3-49' d='M2.929016 -6.37609C2.929016 -6.615193 2.929016 -6.635118 2.699875 -6.635118C2.082192 -5.997509 1.205479 -5.997509 0.886675 -5.997509V-5.688667C1.085928 -5.688667 1.673724 -5.688667 2.191781 -5.947696V-0.787049C2.191781 -0.428394 2.161893 -0.308842 1.265255 -0.308842H0.946451V0C1.295143 -0.029888 2.161893 -0.029888 2.560399 -0.029888S3.825654 -0.029888 4.174346 0V-0.308842H3.855542C2.958904 -0.308842 2.929016 -0.418431 2.929016 -0.787049V-6.37609Z'/>+<path id='g3-54' d='M1.315068 -3.267746V-3.506849C1.315068 -6.027397 2.550436 -6.386052 3.058531 -6.386052C3.297634 -6.386052 3.716065 -6.326276 3.935243 -5.987547C3.785803 -5.987547 3.387298 -5.987547 3.387298 -5.539228C3.387298 -5.230386 3.626401 -5.080946 3.845579 -5.080946C4.004981 -5.080946 4.303861 -5.17061 4.303861 -5.559153C4.303861 -6.156912 3.865504 -6.635118 3.038605 -6.635118C1.763387 -6.635118 0.418431 -5.349938 0.418431 -3.148194C0.418431 -0.488169 1.574097 0.219178 2.500623 0.219178C3.606476 0.219178 4.552927 -0.71731 4.552927 -2.032379C4.552927 -3.297634 3.666252 -4.254047 2.560399 -4.254047C1.882939 -4.254047 1.514321 -3.745953 1.315068 -3.267746ZM2.500623 -0.059776C1.872976 -0.059776 1.574097 -0.657534 1.514321 -0.806974C1.334994 -1.275218 1.334994 -2.072229 1.334994 -2.251557C1.334994 -3.028643 1.653798 -4.024907 2.550436 -4.024907C2.709838 -4.024907 3.16812 -4.024907 3.476961 -3.407223C3.656289 -3.038605 3.656289 -2.530511 3.656289 -2.042341C3.656289 -1.564134 3.656289 -1.066002 3.486924 -0.707347C3.188045 -0.109589 2.729763 -0.059776 2.500623 -0.059776Z'/>+<path id='g3-61' d='M6.844334 -3.257783C6.993773 -3.257783 7.183064 -3.257783 7.183064 -3.457036S6.993773 -3.656289 6.854296 -3.656289H0.886675C0.747198 -3.656289 0.557908 -3.656289 0.557908 -3.457036S0.747198 -3.257783 0.896638 -3.257783H6.844334ZM6.854296 -1.325031C6.993773 -1.325031 7.183064 -1.325031 7.183064 -1.524284S6.993773 -1.723537 6.844334 -1.723537H0.896638C0.747198 -1.723537 0.557908 -1.723537 0.557908 -1.524284S0.747198 -1.325031 0.886675 -1.325031H6.854296Z'/>+</defs>+<g id='page1'>+<use x='147.543833' y='-12.453346' xlink:href='#g0-49'/>+<use x='144.319808' y='-9.464569' xlink:href='#g5-88'/>+<use x='144.009023' y='11.634198' xlink:href='#g2-110'/>+<use x='148.933886' y='11.634198' xlink:href='#g4-61'/>+<use x='155.04987' y='11.634198' xlink:href='#g4-49'/>+<use x='164.610996' y='-6.739801' xlink:href='#g3-49'/>+<rect x='161.877016' y='-2.68991' height='0.398484' width='10.449295'/>+<use x='161.877016' y='6.83387' xlink:href='#g1-110'/>+<use x='167.856941' y='3.955777' xlink:href='#g4-50'/>+<use x='176.289157' y='0' xlink:href='#g3-61'/>+<use x='188.000751' y='-6.739801' xlink:href='#g1-25'/>+<use x='194.037167' y='-10.355165' xlink:href='#g4-50'/>+<rect x='188.000751' y='-2.68991' height='0.398484' width='10.505785'/>+<use x='190.762975' y='6.83387' xlink:href='#g3-54'/>+</g>+</svg>\ No newline at end of filediff --git a/tests/tests_cache/writing/TexMobjectTest/Tex/cd02c6a47026b73d.tex b/tests/tests_cache/writing/TexMobjectTest/Tex/cd02c6a47026b73d.texnew file mode 100644index 000000000..278c85c5b--- /dev/null+++ b/tests/tests_cache/writing/TexMobjectTest/Tex/cd02c6a47026b73d.tex@@ -0,0 +1,10 @@+\documentclass[preview]{standalone}\usepackage[english]{babel}\usepackage{amsmath}\usepackage{amssymb}\usepackage{dsfont}\usepackage{setspace}\usepackage{tipa}\usepackage{relsize}\usepackage{textcomp}\usepackage{mathrsfs}\usepackage{calligra}\usepackage{wasysym}\usepackage{ragged2e}\usepackage{physics}\usepackage{xcolor}\usepackage{microtype}\linespread{1}+\DisableLigatures{encoding = *, family = *}++\begin{document}++\begin{align*}+\sum_{n=1}^\infty \frac{1}{n^2} = \frac{\pi^2}{6}+\end{align*}++\end{document}\ No newline at end of filediff --git a/tests/tests_cache/writing/TextMobjectTest/Tex/f67f7fb5c5d47dbf.aux b/tests/tests_cache/writing/TextMobjectTest/Tex/c8dd851bb4f17024.auxsimilarity index 100%rename from tests/tests_cache/writing/TextMobjectTest/Tex/f67f7fb5c5d47dbf.auxrename to tests/tests_cache/writing/TextMobjectTest/Tex/c8dd851bb4f17024.auxdiff --git a/tests/tests_cache/writing/TextMobjectTest/Tex/f67f7fb5c5d47dbf.dvi b/tests/tests_cache/writing/TextMobjectTest/Tex/c8dd851bb4f17024.dvisimilarity index 83%rename from tests/tests_cache/writing/TextMobjectTest/Tex/f67f7fb5c5d47dbf.dvirename to tests/tests_cache/writing/TextMobjectTest/Tex/c8dd851bb4f17024.dviindex b91794354..8366a8018 100644Binary files a/tests/tests_cache/writing/TextMobjectTest/Tex/f67f7fb5c5d47dbf.dvi and b/tests/tests_cache/writing/TextMobjectTest/Tex/c8dd851bb4f17024.dvi differdiff --git a/tests/tests_cache/writing/TextMobjectTest/Tex/c8dd851bb4f17024.svg b/tests/tests_cache/writing/TextMobjectTest/Tex/c8dd851bb4f17024.svgnew file mode 100644index 000000000..656deadbd--- /dev/null+++ b/tests/tests_cache/writing/TextMobjectTest/Tex/c8dd851bb4f17024.svg@@ -0,0 +1,27 @@+<?xml version='1.0' encoding='UTF-8'?>+<!-- This file was generated by dvisvgm 2.6.3 -->+<svg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' width='56.20604pt' height='6.918502pt' viewBox='0 -6.918502 56.20604 6.918502'>+<defs>+<path id='g0-33' d='M1.524284 -2.082192L1.912827 -6.625156C1.912827 -6.953923 1.643836 -7.13325 1.384807 -7.13325S0.856787 -6.953923 0.856787 -6.625156L1.24533 -2.092154C1.255293 -1.942715 1.265255 -1.863014 1.384807 -1.863014C1.484433 -1.863014 1.514321 -1.912827 1.524284 -2.082192ZM1.912827 -0.52802C1.912827 -0.816936 1.673724 -1.05604 1.384807 -1.05604S0.856787 -0.816936 0.856787 -0.52802S1.09589 0 1.384807 0S1.912827 -0.239103 1.912827 -0.52802Z'/>+<path id='g0-72' d='M6.107098 -6.027397C6.107098 -6.386052 6.127024 -6.495641 6.894147 -6.495641H7.13325V-6.804483C6.784558 -6.774595 6.047323 -6.774595 5.668742 -6.774595S4.542964 -6.774595 4.194271 -6.804483V-6.495641H4.433375C5.200498 -6.495641 5.220423 -6.386052 5.220423 -6.027397V-3.696139H2.241594V-6.027397C2.241594 -6.386052 2.261519 -6.495641 3.028643 -6.495641H3.267746V-6.804483C2.919054 -6.774595 2.181818 -6.774595 1.803238 -6.774595S0.67746 -6.774595 0.328767 -6.804483V-6.495641H0.56787C1.334994 -6.495641 1.354919 -6.386052 1.354919 -6.027397V-0.777086C1.354919 -0.418431 1.334994 -0.308842 0.56787 -0.308842H0.328767V0C0.67746 -0.029888 1.414695 -0.029888 1.793275 -0.029888S2.919054 -0.029888 3.267746 0V-0.308842H3.028643C2.261519 -0.308842 2.241594 -0.418431 2.241594 -0.777086V-3.387298H5.220423V-0.777086C5.220423 -0.418431 5.200498 -0.308842 4.433375 -0.308842H4.194271V0C4.542964 -0.029888 5.280199 -0.029888 5.65878 -0.029888S6.784558 -0.029888 7.13325 0V-0.308842H6.894147C6.127024 -0.308842 6.107098 -0.418431 6.107098 -0.777086V-6.027397Z'/>+<path id='g0-100' d='M3.785803 -0.547945V0.109589L5.250311 0V-0.308842C4.552927 -0.308842 4.473225 -0.37858 4.473225 -0.86675V-6.914072L3.038605 -6.804483V-6.495641C3.73599 -6.495641 3.815691 -6.425903 3.815691 -5.937733V-3.785803C3.526775 -4.144458 3.098381 -4.403487 2.560399 -4.403487C1.384807 -4.403487 0.33873 -3.427148 0.33873 -2.141968C0.33873 -0.876712 1.315068 0.109589 2.450809 0.109589C3.088418 0.109589 3.536737 -0.229141 3.785803 -0.547945ZM3.785803 -3.217933V-1.175592C3.785803 -0.996264 3.785803 -0.976339 3.676214 -0.806974C3.377335 -0.328767 2.929016 -0.109589 2.500623 -0.109589C2.052304 -0.109589 1.693649 -0.368618 1.454545 -0.747198C1.195517 -1.155666 1.165629 -1.723537 1.165629 -2.132005C1.165629 -2.500623 1.185554 -3.098381 1.474471 -3.5467C1.683686 -3.855542 2.062267 -4.184309 2.600249 -4.184309C2.948941 -4.184309 3.367372 -4.034869 3.676214 -3.58655C3.785803 -3.417186 3.785803 -3.39726 3.785803 -3.217933Z'/>+<path id='g0-101' d='M1.115816 -2.510585C1.175592 -3.995019 2.012453 -4.244085 2.351183 -4.244085C3.377335 -4.244085 3.476961 -2.899128 3.476961 -2.510585H1.115816ZM1.105853 -2.30137H3.88543C4.104608 -2.30137 4.134496 -2.30137 4.134496 -2.510585C4.134496 -3.496887 3.596513 -4.463263 2.351183 -4.463263C1.195517 -4.463263 0.278954 -3.437111 0.278954 -2.191781C0.278954 -0.856787 1.325031 0.109589 2.470735 0.109589C3.686177 0.109589 4.134496 -0.996264 4.134496 -1.185554C4.134496 -1.285181 4.054795 -1.305106 4.004981 -1.305106C3.915318 -1.305106 3.895392 -1.24533 3.875467 -1.165629C3.526775 -0.139477 2.630137 -0.139477 2.530511 -0.139477C2.032379 -0.139477 1.633873 -0.438356 1.404732 -0.806974C1.105853 -1.285181 1.105853 -1.942715 1.105853 -2.30137Z'/>+<path id='g0-108' d='M1.763387 -6.914072L0.328767 -6.804483V-6.495641C1.026152 -6.495641 1.105853 -6.425903 1.105853 -5.937733V-0.757161C1.105853 -0.308842 0.996264 -0.308842 0.328767 -0.308842V0C0.657534 -0.009963 1.185554 -0.029888 1.43462 -0.029888S2.171856 -0.009963 2.540473 0V-0.308842C1.872976 -0.308842 1.763387 -0.308842 1.763387 -0.757161V-6.914072Z'/>+<path id='g0-111' d='M4.692403 -2.132005C4.692403 -3.407223 3.696139 -4.463263 2.49066 -4.463263C1.24533 -4.463263 0.278954 -3.377335 0.278954 -2.132005C0.278954 -0.846824 1.315068 0.109589 2.480697 0.109589C3.686177 0.109589 4.692403 -0.86675 4.692403 -2.132005ZM2.49066 -0.139477C2.062267 -0.139477 1.62391 -0.348692 1.354919 -0.806974C1.105853 -1.24533 1.105853 -1.853051 1.105853 -2.211706C1.105853 -2.600249 1.105853 -3.138232 1.344956 -3.576588C1.613948 -4.034869 2.082192 -4.244085 2.480697 -4.244085C2.919054 -4.244085 3.347447 -4.024907 3.606476 -3.596513S3.865504 -2.590286 3.865504 -2.211706C3.865504 -1.853051 3.865504 -1.315068 3.646326 -0.876712C3.427148 -0.428394 2.988792 -0.139477 2.49066 -0.139477Z'/>+<path id='g0-114' d='M1.663761 -3.307597V-4.403487L0.278954 -4.293898V-3.985056C0.976339 -3.985056 1.05604 -3.915318 1.05604 -3.427148V-0.757161C1.05604 -0.308842 0.946451 -0.308842 0.278954 -0.308842V0C0.667497 -0.009963 1.135741 -0.029888 1.414695 -0.029888C1.8132 -0.029888 2.281445 -0.029888 2.67995 0V-0.308842H2.470735C1.733499 -0.308842 1.713574 -0.418431 1.713574 -0.777086V-2.311333C1.713574 -3.297634 2.132005 -4.184309 2.889166 -4.184309C2.958904 -4.184309 2.978829 -4.184309 2.998755 -4.174346C2.968867 -4.164384 2.769614 -4.044832 2.769614 -3.785803C2.769614 -3.506849 2.978829 -3.35741 3.198007 -3.35741C3.377335 -3.35741 3.626401 -3.476961 3.626401 -3.795766S3.317559 -4.403487 2.889166 -4.403487C2.161893 -4.403487 1.803238 -3.73599 1.663761 -3.307597Z'/>+<path id='g0-119' d='M6.166874 -3.347447C6.346202 -3.845579 6.655044 -3.975093 7.003736 -3.985056V-4.293898C6.784558 -4.273973 6.495641 -4.26401 6.276463 -4.26401C5.987547 -4.26401 5.539228 -4.283935 5.349938 -4.293898V-3.985056C5.708593 -3.975093 5.927771 -3.795766 5.927771 -3.506849C5.927771 -3.447073 5.927771 -3.427148 5.877958 -3.297634L4.971357 -0.747198L3.985056 -3.526775C3.945205 -3.646326 3.935243 -3.666252 3.935243 -3.716065C3.935243 -3.985056 4.323786 -3.985056 4.523039 -3.985056V-4.293898C4.234122 -4.283935 3.726027 -4.26401 3.486924 -4.26401C3.188045 -4.26401 2.899128 -4.273973 2.600249 -4.293898V-3.985056C2.968867 -3.985056 3.128269 -3.965131 3.227895 -3.835616C3.277709 -3.775841 3.387298 -3.476961 3.457036 -3.287671L2.600249 -0.876712L1.653798 -3.536737C1.603985 -3.656289 1.603985 -3.676214 1.603985 -3.716065C1.603985 -3.985056 1.992528 -3.985056 2.191781 -3.985056V-4.293898C1.892902 -4.283935 1.334994 -4.26401 1.105853 -4.26401C1.066002 -4.26401 0.537983 -4.273973 0.179328 -4.293898V-3.985056C0.67746 -3.985056 0.797011 -3.955168 0.916563 -3.636364L2.171856 -0.109589C2.221669 0.029888 2.251557 0.109589 2.381071 0.109589S2.530511 0.049813 2.580324 -0.089664L3.58655 -2.909091L4.60274 -0.079701C4.64259 0.029888 4.672478 0.109589 4.801993 0.109589S4.961395 0.019925 5.001245 -0.079701L6.166874 -3.347447Z'/>+</defs>+<g id='page1'>+<use x='0' y='0' xlink:href='#g0-72'/>+<use x='7.471999' y='0' xlink:href='#g0-101'/>+<use x='11.899851' y='0' xlink:href='#g0-108'/>+<use x='14.667259' y='0' xlink:href='#g0-108'/>+<use x='17.434668' y='0' xlink:href='#g0-111'/>+<use x='25.736882' y='0' xlink:href='#g0-119'/>+<use x='32.932142' y='0' xlink:href='#g0-111'/>+<use x='37.913481' y='0' xlink:href='#g0-114'/>+<use x='41.815531' y='0' xlink:href='#g0-108'/>+<use x='44.58294' y='0' xlink:href='#g0-100'/>+<use x='53.438632' y='0' xlink:href='#g0-33'/>+</g>+</svg>\ No newline at end of filediff --git a/tests/tests_cache/writing/TextMobjectTest/Tex/c8dd851bb4f17024.tex b/tests/tests_cache/writing/TextMobjectTest/Tex/c8dd851bb4f17024.texnew file mode 100644index 000000000..35e6d406e--- /dev/null+++ b/tests/tests_cache/writing/TextMobjectTest/Tex/c8dd851bb4f17024.tex@@ -0,0 +1,8 @@+\documentclass[preview]{standalone}\usepackage[english]{babel}\usepackage{amsmath}\usepackage{amssymb}\usepackage{dsfont}\usepackage{setspace}\usepackage{tipa}\usepackage{relsize}\usepackage{textcomp}\usepackage{mathrsfs}\usepackage{calligra}\usepackage{wasysym}\usepackage{ragged2e}\usepackage{physics}\usepackage{xcolor}\usepackage{microtype}\linespread{1}+\DisableLigatures{encoding = *, family = *}++\begin{document}++Hello world !++\end{document}\ No newline at end of filediff --git a/tests/tests_cache/writing/TextMobjectTest/Tex/c93e3abf7cf78db1.aux b/tests/tests_cache/writing/TextMobjectTest/Tex/c93e3abf7cf78db1.auxnew file mode 100644index 000000000..9c28a69b6--- /dev/null+++ b/tests/tests_cache/writing/TextMobjectTest/Tex/c93e3abf7cf78db1.aux@@ -0,0 +1,2 @@+\relax+\@nameuse{bbl@beforestart}diff --git a/tests/tests_cache/writing/TextMobjectTest/Tex/d89ed37bc7357ac4.dvi b/tests/tests_cache/writing/TextMobjectTest/Tex/c93e3abf7cf78db1.dvisimilarity index 83%rename from tests/tests_cache/writing/TextMobjectTest/Tex/d89ed37bc7357ac4.dvirename to tests/tests_cache/writing/TextMobjectTest/Tex/c93e3abf7cf78db1.dviindex 540fcec5b..c14f92ef6 100644Binary files a/tests/tests_cache/writing/TextMobjectTest/Tex/d89ed37bc7357ac4.dvi and b/tests/tests_cache/writing/TextMobjectTest/Tex/c93e3abf7cf78db1.dvi differdiff --git a/tests/tests_cache/writing/TextMobjectTest/Tex/c93e3abf7cf78db1.svg b/tests/tests_cache/writing/TextMobjectTest/Tex/c93e3abf7cf78db1.svgnew file mode 100644index 000000000..d2b476e25--- /dev/null+++ b/tests/tests_cache/writing/TextMobjectTest/Tex/c93e3abf7cf78db1.svg@@ -0,0 +1,27 @@+<?xml version='1.0' encoding='UTF-8'?>+<!-- This file was generated by dvisvgm 2.6.3 -->+<svg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' width='56.20604pt' height='6.918502pt' viewBox='143.89203 -6.918502 56.20604 6.918502'>+<defs>+<path id='g0-33' d='M1.524284 -2.082192L1.912827 -6.625156C1.912827 -6.953923 1.643836 -7.13325 1.384807 -7.13325S0.856787 -6.953923 0.856787 -6.625156L1.24533 -2.092154C1.255293 -1.942715 1.265255 -1.863014 1.384807 -1.863014C1.484433 -1.863014 1.514321 -1.912827 1.524284 -2.082192ZM1.912827 -0.52802C1.912827 -0.816936 1.673724 -1.05604 1.384807 -1.05604S0.856787 -0.816936 0.856787 -0.52802S1.09589 0 1.384807 0S1.912827 -0.239103 1.912827 -0.52802Z'/>+<path id='g0-72' d='M6.107098 -6.027397C6.107098 -6.386052 6.127024 -6.495641 6.894147 -6.495641H7.13325V-6.804483C6.784558 -6.774595 6.047323 -6.774595 5.668742 -6.774595S4.542964 -6.774595 4.194271 -6.804483V-6.495641H4.433375C5.200498 -6.495641 5.220423 -6.386052 5.220423 -6.027397V-3.696139H2.241594V-6.027397C2.241594 -6.386052 2.261519 -6.495641 3.028643 -6.495641H3.267746V-6.804483C2.919054 -6.774595 2.181818 -6.774595 1.803238 -6.774595S0.67746 -6.774595 0.328767 -6.804483V-6.495641H0.56787C1.334994 -6.495641 1.354919 -6.386052 1.354919 -6.027397V-0.777086C1.354919 -0.418431 1.334994 -0.308842 0.56787 -0.308842H0.328767V0C0.67746 -0.029888 1.414695 -0.029888 1.793275 -0.029888S2.919054 -0.029888 3.267746 0V-0.308842H3.028643C2.261519 -0.308842 2.241594 -0.418431 2.241594 -0.777086V-3.387298H5.220423V-0.777086C5.220423 -0.418431 5.200498 -0.308842 4.433375 -0.308842H4.194271V0C4.542964 -0.029888 5.280199 -0.029888 5.65878 -0.029888S6.784558 -0.029888 7.13325 0V-0.308842H6.894147C6.127024 -0.308842 6.107098 -0.418431 6.107098 -0.777086V-6.027397Z'/>+<path id='g0-100' d='M3.785803 -0.547945V0.109589L5.250311 0V-0.308842C4.552927 -0.308842 4.473225 -0.37858 4.473225 -0.86675V-6.914072L3.038605 -6.804483V-6.495641C3.73599 -6.495641 3.815691 -6.425903 3.815691 -5.937733V-3.785803C3.526775 -4.144458 3.098381 -4.403487 2.560399 -4.403487C1.384807 -4.403487 0.33873 -3.427148 0.33873 -2.141968C0.33873 -0.876712 1.315068 0.109589 2.450809 0.109589C3.088418 0.109589 3.536737 -0.229141 3.785803 -0.547945ZM3.785803 -3.217933V-1.175592C3.785803 -0.996264 3.785803 -0.976339 3.676214 -0.806974C3.377335 -0.328767 2.929016 -0.109589 2.500623 -0.109589C2.052304 -0.109589 1.693649 -0.368618 1.454545 -0.747198C1.195517 -1.155666 1.165629 -1.723537 1.165629 -2.132005C1.165629 -2.500623 1.185554 -3.098381 1.474471 -3.5467C1.683686 -3.855542 2.062267 -4.184309 2.600249 -4.184309C2.948941 -4.184309 3.367372 -4.034869 3.676214 -3.58655C3.785803 -3.417186 3.785803 -3.39726 3.785803 -3.217933Z'/>+<path id='g0-101' d='M1.115816 -2.510585C1.175592 -3.995019 2.012453 -4.244085 2.351183 -4.244085C3.377335 -4.244085 3.476961 -2.899128 3.476961 -2.510585H1.115816ZM1.105853 -2.30137H3.88543C4.104608 -2.30137 4.134496 -2.30137 4.134496 -2.510585C4.134496 -3.496887 3.596513 -4.463263 2.351183 -4.463263C1.195517 -4.463263 0.278954 -3.437111 0.278954 -2.191781C0.278954 -0.856787 1.325031 0.109589 2.470735 0.109589C3.686177 0.109589 4.134496 -0.996264 4.134496 -1.185554C4.134496 -1.285181 4.054795 -1.305106 4.004981 -1.305106C3.915318 -1.305106 3.895392 -1.24533 3.875467 -1.165629C3.526775 -0.139477 2.630137 -0.139477 2.530511 -0.139477C2.032379 -0.139477 1.633873 -0.438356 1.404732 -0.806974C1.105853 -1.285181 1.105853 -1.942715 1.105853 -2.30137Z'/>+<path id='g0-108' d='M1.763387 -6.914072L0.328767 -6.804483V-6.495641C1.026152 -6.495641 1.105853 -6.425903 1.105853 -5.937733V-0.757161C1.105853 -0.308842 0.996264 -0.308842 0.328767 -0.308842V0C0.657534 -0.009963 1.185554 -0.029888 1.43462 -0.029888S2.171856 -0.009963 2.540473 0V-0.308842C1.872976 -0.308842 1.763387 -0.308842 1.763387 -0.757161V-6.914072Z'/>+<path id='g0-111' d='M4.692403 -2.132005C4.692403 -3.407223 3.696139 -4.463263 2.49066 -4.463263C1.24533 -4.463263 0.278954 -3.377335 0.278954 -2.132005C0.278954 -0.846824 1.315068 0.109589 2.480697 0.109589C3.686177 0.109589 4.692403 -0.86675 4.692403 -2.132005ZM2.49066 -0.139477C2.062267 -0.139477 1.62391 -0.348692 1.354919 -0.806974C1.105853 -1.24533 1.105853 -1.853051 1.105853 -2.211706C1.105853 -2.600249 1.105853 -3.138232 1.344956 -3.576588C1.613948 -4.034869 2.082192 -4.244085 2.480697 -4.244085C2.919054 -4.244085 3.347447 -4.024907 3.606476 -3.596513S3.865504 -2.590286 3.865504 -2.211706C3.865504 -1.853051 3.865504 -1.315068 3.646326 -0.876712C3.427148 -0.428394 2.988792 -0.139477 2.49066 -0.139477Z'/>+<path id='g0-114' d='M1.663761 -3.307597V-4.403487L0.278954 -4.293898V-3.985056C0.976339 -3.985056 1.05604 -3.915318 1.05604 -3.427148V-0.757161C1.05604 -0.308842 0.946451 -0.308842 0.278954 -0.308842V0C0.667497 -0.009963 1.135741 -0.029888 1.414695 -0.029888C1.8132 -0.029888 2.281445 -0.029888 2.67995 0V-0.308842H2.470735C1.733499 -0.308842 1.713574 -0.418431 1.713574 -0.777086V-2.311333C1.713574 -3.297634 2.132005 -4.184309 2.889166 -4.184309C2.958904 -4.184309 2.978829 -4.184309 2.998755 -4.174346C2.968867 -4.164384 2.769614 -4.044832 2.769614 -3.785803C2.769614 -3.506849 2.978829 -3.35741 3.198007 -3.35741C3.377335 -3.35741 3.626401 -3.476961 3.626401 -3.795766S3.317559 -4.403487 2.889166 -4.403487C2.161893 -4.403487 1.803238 -3.73599 1.663761 -3.307597Z'/>+<path id='g0-119' d='M6.166874 -3.347447C6.346202 -3.845579 6.655044 -3.975093 7.003736 -3.985056V-4.293898C6.784558 -4.273973 6.495641 -4.26401 6.276463 -4.26401C5.987547 -4.26401 5.539228 -4.283935 5.349938 -4.293898V-3.985056C5.708593 -3.975093 5.927771 -3.795766 5.927771 -3.506849C5.927771 -3.447073 5.927771 -3.427148 5.877958 -3.297634L4.971357 -0.747198L3.985056 -3.526775C3.945205 -3.646326 3.935243 -3.666252 3.935243 -3.716065C3.935243 -3.985056 4.323786 -3.985056 4.523039 -3.985056V-4.293898C4.234122 -4.283935 3.726027 -4.26401 3.486924 -4.26401C3.188045 -4.26401 2.899128 -4.273973 2.600249 -4.293898V-3.985056C2.968867 -3.985056 3.128269 -3.965131 3.227895 -3.835616C3.277709 -3.775841 3.387298 -3.476961 3.457036 -3.287671L2.600249 -0.876712L1.653798 -3.536737C1.603985 -3.656289 1.603985 -3.676214 1.603985 -3.716065C1.603985 -3.985056 1.992528 -3.985056 2.191781 -3.985056V-4.293898C1.892902 -4.283935 1.334994 -4.26401 1.105853 -4.26401C1.066002 -4.26401 0.537983 -4.273973 0.179328 -4.293898V-3.985056C0.67746 -3.985056 0.797011 -3.955168 0.916563 -3.636364L2.171856 -0.109589C2.221669 0.029888 2.251557 0.109589 2.381071 0.109589S2.530511 0.049813 2.580324 -0.089664L3.58655 -2.909091L4.60274 -0.079701C4.64259 0.029888 4.672478 0.109589 4.801993 0.109589S4.961395 0.019925 5.001245 -0.079701L6.166874 -3.347447Z'/>+</defs>+<g id='page1'>+<use x='143.89203' y='0' xlink:href='#g0-72'/>+<use x='151.364029' y='0' xlink:href='#g0-101'/>+<use x='155.791881' y='0' xlink:href='#g0-108'/>+<use x='158.559289' y='0' xlink:href='#g0-108'/>+<use x='161.326698' y='0' xlink:href='#g0-111'/>+<use x='169.628912' y='0' xlink:href='#g0-119'/>+<use x='176.824172' y='0' xlink:href='#g0-111'/>+<use x='181.805511' y='0' xlink:href='#g0-114'/>+<use x='185.707562' y='0' xlink:href='#g0-108'/>+<use x='188.47497' y='0' xlink:href='#g0-100'/>+<use x='197.330662' y='0' xlink:href='#g0-33'/>+</g>+</svg>\ No newline at end of filediff --git a/tests/tests_cache/writing/TextMobjectTest/Tex/c93e3abf7cf78db1.tex b/tests/tests_cache/writing/TextMobjectTest/Tex/c93e3abf7cf78db1.texnew file mode 100644index 000000000..1c5d7f4aa--- /dev/null+++ b/tests/tests_cache/writing/TextMobjectTest/Tex/c93e3abf7cf78db1.tex@@ -0,0 +1,8 @@+\documentclass[preview]{standalone}\usepackage[english]{babel}\usepackage{amsmath}\usepackage{amssymb}\usepackage{dsfont}\usepackage{setspace}\usepackage{tipa}\usepackage{relsize}\usepackage{textcomp}\usepackage{mathrsfs}\usepackage{calligra}\usepackage{wasysym}\usepackage{ragged2e}\usepackage{physics}\usepackage{xcolor}\usepackage{microtype}\linespread{1}+\DisableLigatures{encoding = *, family = *}++\begin{document}++\centering Hello world !++\end{document}\ No newline at end of filediff --git a/tests/tests_cache/writing/TextMobjectTest/Tex/d89ed37bc7357ac4.svg b/tests/tests_cache/writing/TextMobjectTest/Tex/d89ed37bc7357ac4.svgdeleted file mode 100644index dd7ee3594..000000000--- a/tests/tests_cache/writing/TextMobjectTest/Tex/d89ed37bc7357ac4.svg+++ /dev/null@@ -1,27 +0,0 @@-<?xml version='1.0' encoding='UTF-8'?>-<!-- This file was generated by dvisvgm 2.6.3 -->-<svg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' width='56.192172pt' height='6.861476pt' viewBox='143.898901 -6.861476 56.192172 6.861476'>-<defs>-<path id='g0-33' d='M1.305106 -7.13325C1.006227 -7.13325 0.856787 -6.834371 0.856787 -6.575342C0.856787 -6.425903 0.886675 -6.276463 0.896638 -6.136986C0.966376 -5.110834 1.09589 -4.07472 1.165629 -3.048568C1.185554 -2.739726 1.215442 -2.440847 1.24533 -2.132005C1.255293 -2.032379 1.235367 -1.882939 1.364882 -1.872976H1.414695C1.544209 -1.892902 1.514321 -2.072229 1.524284 -2.171856C1.693649 -3.556663 1.763387 -4.951432 1.892902 -6.336239C1.902864 -6.435866 1.912827 -6.525529 1.912827 -6.625156C1.912827 -6.933998 1.673724 -7.143213 1.384807 -7.143213C1.354919 -7.143213 1.334994 -7.13325 1.305106 -7.13325ZM1.305106 -1.05604C1.05604 -1.026152 0.856787 -0.806974 0.856787 -0.537983C0.856787 -0.249066 1.105853 -0.009963 1.384807 -0.009963C1.653798 -0.009963 1.912827 -0.229141 1.912827 -0.537983C1.912827 -0.826899 1.663761 -1.066002 1.384807 -1.066002C1.354919 -1.066002 1.334994 -1.05604 1.305106 -1.05604Z'/>-<path id='g0-72' d='M0.328767 -6.814446V-6.505604C0.458281 -6.505604 0.587796 -6.515567 0.707347 -6.515567C1.066002 -6.515567 1.354919 -6.465753 1.354919 -6.067248V-0.747198C1.354919 -0.368618 1.026152 -0.308842 0.687422 -0.308842C0.557908 -0.308842 0.438356 -0.318804 0.328767 -0.318804V-0.009963H3.267746V-0.318804H2.929016C2.510585 -0.318804 2.241594 -0.33873 2.241594 -0.757161V-3.39726H5.220423V-0.757161C5.220423 -0.358655 4.881694 -0.318804 4.523039 -0.318804H4.194271V-0.009963H7.13325V-0.318804C7.013699 -0.318804 6.884184 -0.308842 6.764633 -0.308842C6.41594 -0.308842 6.107098 -0.358655 6.107098 -0.747198V-6.067248C6.107098 -6.455791 6.425903 -6.515567 6.764633 -6.515567C6.894147 -6.515567 7.023661 -6.505604 7.13325 -6.505604V-6.814446H4.194271V-6.505604H4.533001C4.951432 -6.505604 5.220423 -6.485679 5.220423 -6.067248V-3.706102H2.241594V-6.067248C2.241594 -6.465753 2.580324 -6.505604 2.938979 -6.505604H3.267746V-6.814446H0.328767Z'/>-<path id='g0-100' d='M3.028643 -6.814446V-6.505604H3.188045C3.536737 -6.505604 3.805729 -6.465753 3.805729 -5.88792L3.795766 -3.795766C3.556663 -4.194271 2.988792 -4.403487 2.530511 -4.403487C1.305106 -4.403487 0.328767 -3.347447 0.328767 -2.141968C0.328767 -1.075965 1.145704 0.099626 2.460772 0.099626C2.978829 0.099626 3.447073 -0.14944 3.775841 -0.547945V0.099626L5.250311 -0.009963V-0.318804H5.080946C4.772105 -0.318804 4.473225 -0.348692 4.473225 -0.816936V-6.924035L3.028643 -6.814446ZM1.165629 -1.902864V-2.052304C1.165629 -2.789539 1.255293 -3.536737 1.942715 -3.995019C2.141968 -4.11457 2.371108 -4.184309 2.600249 -4.184309C3.088418 -4.184309 3.785803 -3.785803 3.785803 -3.158157C3.785803 -3.028643 3.775841 -2.899128 3.775841 -2.769614V-1.115816C3.775841 -0.986301 3.726027 -0.896638 3.656289 -0.797011C3.39726 -0.408468 2.968867 -0.119552 2.500623 -0.119552C1.77335 -0.119552 1.315068 -0.787049 1.205479 -1.474471C1.185554 -1.613948 1.185554 -1.763387 1.165629 -1.902864Z'/>-<path id='g0-101' d='M1.115816 -2.311333H3.985056C4.094645 -2.311333 4.144458 -2.381071 4.144458 -2.49066C4.144458 -3.5467 3.496887 -4.463263 2.381071 -4.463263C1.155666 -4.463263 0.278954 -3.377335 0.278954 -2.191781C0.278954 -1.275218 0.787049 -0.458281 1.663761 -0.059776C1.892902 0.039851 2.161893 0.099626 2.410959 0.099626H2.440847C3.20797 0.099626 3.845579 -0.328767 4.11457 -1.09589C4.124533 -1.125778 4.124533 -1.165629 4.124533 -1.195517C4.124533 -1.265255 4.084682 -1.315068 4.014944 -1.315068C3.865504 -1.315068 3.805729 -0.986301 3.745953 -0.876712C3.496887 -0.438356 3.01868 -0.14944 2.500623 -0.14944C2.132005 -0.14944 1.8132 -0.358655 1.544209 -0.627646C1.145704 -1.085928 1.115816 -1.733499 1.115816 -2.311333ZM1.125778 -2.520548C1.125778 -3.287671 1.534247 -4.244085 2.351183 -4.244085H2.400996C3.377335 -4.154421 3.367372 -3.118306 3.466999 -2.520548H1.125778Z'/>-<path id='g0-108' d='M0.328767 -6.814446V-6.505604H0.478207C0.846824 -6.505604 1.105853 -6.465753 1.105853 -5.987547V-0.956413C1.105853 -0.886675 1.115816 -0.816936 1.115816 -0.737235C1.115816 -0.358655 0.846824 -0.318804 0.56787 -0.318804H0.328767V-0.009963H2.550436V-0.318804H2.30137C2.012453 -0.318804 1.77335 -0.358655 1.77335 -0.747198V-6.924035L0.328767 -6.814446Z'/>-<path id='g0-111' d='M2.34122 -4.463263C1.085928 -4.333748 0.278954 -3.277709 0.278954 -2.122042C0.278954 -0.996264 1.165629 0.099626 2.49066 0.099626C3.686177 0.099626 4.692403 -0.876712 4.692403 -2.132005C4.692403 -3.317559 3.795766 -4.473225 2.470735 -4.473225C2.430884 -4.473225 2.381071 -4.463263 2.34122 -4.463263ZM1.115816 -1.892902V-2.331258C1.115816 -3.088418 1.354919 -4.244085 2.480697 -4.244085C3.287671 -4.244085 3.745953 -3.566625 3.835616 -2.809465C3.855542 -2.590286 3.855542 -2.381071 3.855542 -2.161893C3.855542 -1.514321 3.785803 -0.707347 3.148194 -0.33873C2.948941 -0.209215 2.729763 -0.14944 2.500623 -0.14944C1.77335 -0.14944 1.265255 -0.71731 1.155666 -1.494396C1.135741 -1.62391 1.135741 -1.763387 1.115816 -1.892902Z'/>-<path id='g0-114' d='M0.268991 -4.293898V-3.985056H0.418431C0.747198 -3.985056 1.046077 -3.955168 1.046077 -3.486924V-0.737235C1.046077 -0.328767 0.767123 -0.318804 0.328767 -0.318804H0.268991V-0.009963H2.67995V-0.318804C2.560399 -0.318804 2.420922 -0.308842 2.30137 -0.308842C1.982565 -0.308842 1.713574 -0.358655 1.713574 -0.727273V-2.052304C1.713574 -2.899128 1.912827 -4.184309 2.889166 -4.184309C2.929016 -4.184309 2.958904 -4.184309 2.998755 -4.174346V-4.164384C2.849315 -4.104608 2.769614 -3.945205 2.769614 -3.785803C2.769614 -3.556663 2.919054 -3.39726 3.148194 -3.35741C3.437111 -3.35741 3.626401 -3.536737 3.626401 -3.785803C3.626401 -4.184309 3.247821 -4.403487 2.889166 -4.403487C2.30137 -4.403487 1.77335 -3.875467 1.673724 -3.337484L1.663761 -4.403487L0.268991 -4.293898Z'/>-<path id='g0-119' d='M0.179328 -4.293898V-3.985056H0.328767C0.846824 -3.985056 0.86675 -3.765878 1.115816 -3.058531C1.364882 -2.371108 1.62391 -1.683686 1.863014 -0.996264L2.161893 -0.159402C2.201743 -0.049813 2.231631 0.089664 2.371108 0.099626H2.391034C2.610212 0.099626 2.749689 -0.56787 2.879203 -0.896638C3.058531 -1.424658 3.247821 -1.952677 3.447073 -2.480697C3.496887 -2.620174 3.556663 -2.759651 3.58655 -2.899128H3.596513C3.626401 -2.759651 3.686177 -2.620174 3.73599 -2.480697L4.024907 -1.673724C4.204234 -1.155666 4.403487 -0.647572 4.582814 -0.129514C4.622665 -0.019925 4.662516 0.099626 4.801993 0.099626C5.021171 0.099626 5.190535 -0.607721 5.310087 -0.966376L5.877958 -2.550436C6.107098 -3.178082 6.246575 -3.985056 7.003736 -3.985056V-4.293898H5.3599V-3.985056C5.618929 -3.975093 5.897883 -3.835616 5.927771 -3.556663C5.927771 -3.277709 5.758406 -2.958904 5.668742 -2.699875C5.50934 -2.271482 5.3599 -1.843088 5.210461 -1.414695C5.13076 -1.205479 5.031133 -0.986301 4.98132 -0.767123H4.971357C4.921544 -1.006227 4.79203 -1.305106 4.692403 -1.554172C4.463263 -2.201743 4.224159 -2.839352 4.004981 -3.496887C3.975093 -3.566625 3.945205 -3.646326 3.945205 -3.726027V-3.765878C3.995019 -3.985056 4.323786 -3.985056 4.523039 -3.985056V-4.293898H2.590286V-3.985056H2.769614C3.158157 -3.985056 3.247821 -3.835616 3.377335 -3.496887C3.39726 -3.427148 3.447073 -3.337484 3.447073 -3.257783C3.437111 -3.16812 3.387298 -3.068493 3.35741 -2.988792L2.789539 -1.404732C2.729763 -1.235367 2.67995 -1.066002 2.610212 -0.9066C2.49066 -1.165629 2.410959 -1.454545 2.311333 -1.723537C2.161893 -2.15193 2.002491 -2.580324 1.853051 -3.008717L1.673724 -3.516812C1.653798 -3.576588 1.613948 -3.646326 1.613948 -3.716065C1.613948 -3.975093 1.982565 -3.985056 2.201743 -3.985056V-4.293898H0.179328Z'/>-</defs>-<g id='page1'>-<use x='143.898901' y='0' xlink:href='#g0-72'/>-<use x='151.369057' y='0' xlink:href='#g0-101'/>-<use x='155.795816' y='0' xlink:href='#g0-108'/>-<use x='158.562541' y='0' xlink:href='#g0-108'/>-<use x='161.329265' y='0' xlink:href='#g0-111'/>-<use x='169.629438' y='0' xlink:href='#g0-119'/>-<use x='176.822922' y='0' xlink:href='#g0-111'/>-<use x='181.803026' y='0' xlink:href='#g0-114'/>-<use x='185.704107' y='0' xlink:href='#g0-108'/>-<use x='188.470831' y='0' xlink:href='#g0-100'/>-<use x='197.324349' y='0' xlink:href='#g0-33'/>-</g>-</svg>\ No newline at end of filediff --git a/tests/tests_cache/writing/TextMobjectTest/Tex/d89ed37bc7357ac4.tex b/tests/tests_cache/writing/TextMobjectTest/Tex/d89ed37bc7357ac4.texdeleted file mode 100644index 18b37ffd1..000000000--- a/tests/tests_cache/writing/TextMobjectTest/Tex/d89ed37bc7357ac4.tex+++ /dev/null@@ -1,28 +0,0 @@-\documentclass[preview]{standalone}--\usepackage[english]{babel}-\usepackage[utf8]{inputenc}-\usepackage[T1]{fontenc}-\usepackage{amsmath}-\usepackage{amssymb}-\usepackage{dsfont}-\usepackage{setspace}-\usepackage{tipa}-\usepackage{relsize}-\usepackage{textcomp}-\usepackage{mathrsfs}-\usepackage{calligra}-\usepackage{wasysym}-\usepackage{ragged2e}-\usepackage{physics}-\usepackage{xcolor}-\usepackage{microtype}-\DisableLigatures{encoding = *, family = * }-%\usepackage[UTF8]{ctex}-\linespread{1}--\begin{document}--\centering Hello world !--\end{document}diff --git a/tests/tests_cache/writing/TextMobjectTest/Tex/f67f7fb5c5d47dbf.svg b/tests/tests_cache/writing/TextMobjectTest/Tex/f67f7fb5c5d47dbf.svgdeleted file mode 100644index d8cbc600d..000000000--- a/tests/tests_cache/writing/TextMobjectTest/Tex/f67f7fb5c5d47dbf.svg+++ /dev/null@@ -1,27 +0,0 @@-<?xml version='1.0' encoding='UTF-8'?>-<!-- This file was generated by dvisvgm 2.6.3 -->-<svg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' width='56.192172pt' height='6.861476pt' viewBox='0 -6.861476 56.192172 6.861476'>-<defs>-<path id='g0-33' d='M1.305106 -7.13325C1.006227 -7.13325 0.856787 -6.834371 0.856787 -6.575342C0.856787 -6.425903 0.886675 -6.276463 0.896638 -6.136986C0.966376 -5.110834 1.09589 -4.07472 1.165629 -3.048568C1.185554 -2.739726 1.215442 -2.440847 1.24533 -2.132005C1.255293 -2.032379 1.235367 -1.882939 1.364882 -1.872976H1.414695C1.544209 -1.892902 1.514321 -2.072229 1.524284 -2.171856C1.693649 -3.556663 1.763387 -4.951432 1.892902 -6.336239C1.902864 -6.435866 1.912827 -6.525529 1.912827 -6.625156C1.912827 -6.933998 1.673724 -7.143213 1.384807 -7.143213C1.354919 -7.143213 1.334994 -7.13325 1.305106 -7.13325ZM1.305106 -1.05604C1.05604 -1.026152 0.856787 -0.806974 0.856787 -0.537983C0.856787 -0.249066 1.105853 -0.009963 1.384807 -0.009963C1.653798 -0.009963 1.912827 -0.229141 1.912827 -0.537983C1.912827 -0.826899 1.663761 -1.066002 1.384807 -1.066002C1.354919 -1.066002 1.334994 -1.05604 1.305106 -1.05604Z'/>-<path id='g0-72' d='M0.328767 -6.814446V-6.505604C0.458281 -6.505604 0.587796 -6.515567 0.707347 -6.515567C1.066002 -6.515567 1.354919 -6.465753 1.354919 -6.067248V-0.747198C1.354919 -0.368618 1.026152 -0.308842 0.687422 -0.308842C0.557908 -0.308842 0.438356 -0.318804 0.328767 -0.318804V-0.009963H3.267746V-0.318804H2.929016C2.510585 -0.318804 2.241594 -0.33873 2.241594 -0.757161V-3.39726H5.220423V-0.757161C5.220423 -0.358655 4.881694 -0.318804 4.523039 -0.318804H4.194271V-0.009963H7.13325V-0.318804C7.013699 -0.318804 6.884184 -0.308842 6.764633 -0.308842C6.41594 -0.308842 6.107098 -0.358655 6.107098 -0.747198V-6.067248C6.107098 -6.455791 6.425903 -6.515567 6.764633 -6.515567C6.894147 -6.515567 7.023661 -6.505604 7.13325 -6.505604V-6.814446H4.194271V-6.505604H4.533001C4.951432 -6.505604 5.220423 -6.485679 5.220423 -6.067248V-3.706102H2.241594V-6.067248C2.241594 -6.465753 2.580324 -6.505604 2.938979 -6.505604H3.267746V-6.814446H0.328767Z'/>-<path id='g0-100' d='M3.028643 -6.814446V-6.505604H3.188045C3.536737 -6.505604 3.805729 -6.465753 3.805729 -5.88792L3.795766 -3.795766C3.556663 -4.194271 2.988792 -4.403487 2.530511 -4.403487C1.305106 -4.403487 0.328767 -3.347447 0.328767 -2.141968C0.328767 -1.075965 1.145704 0.099626 2.460772 0.099626C2.978829 0.099626 3.447073 -0.14944 3.775841 -0.547945V0.099626L5.250311 -0.009963V-0.318804H5.080946C4.772105 -0.318804 4.473225 -0.348692 4.473225 -0.816936V-6.924035L3.028643 -6.814446ZM1.165629 -1.902864V-2.052304C1.165629 -2.789539 1.255293 -3.536737 1.942715 -3.995019C2.141968 -4.11457 2.371108 -4.184309 2.600249 -4.184309C3.088418 -4.184309 3.785803 -3.785803 3.785803 -3.158157C3.785803 -3.028643 3.775841 -2.899128 3.775841 -2.769614V-1.115816C3.775841 -0.986301 3.726027 -0.896638 3.656289 -0.797011C3.39726 -0.408468 2.968867 -0.119552 2.500623 -0.119552C1.77335 -0.119552 1.315068 -0.787049 1.205479 -1.474471C1.185554 -1.613948 1.185554 -1.763387 1.165629 -1.902864Z'/>-<path id='g0-101' d='M1.115816 -2.311333H3.985056C4.094645 -2.311333 4.144458 -2.381071 4.144458 -2.49066C4.144458 -3.5467 3.496887 -4.463263 2.381071 -4.463263C1.155666 -4.463263 0.278954 -3.377335 0.278954 -2.191781C0.278954 -1.275218 0.787049 -0.458281 1.663761 -0.059776C1.892902 0.039851 2.161893 0.099626 2.410959 0.099626H2.440847C3.20797 0.099626 3.845579 -0.328767 4.11457 -1.09589C4.124533 -1.125778 4.124533 -1.165629 4.124533 -1.195517C4.124533 -1.265255 4.084682 -1.315068 4.014944 -1.315068C3.865504 -1.315068 3.805729 -0.986301 3.745953 -0.876712C3.496887 -0.438356 3.01868 -0.14944 2.500623 -0.14944C2.132005 -0.14944 1.8132 -0.358655 1.544209 -0.627646C1.145704 -1.085928 1.115816 -1.733499 1.115816 -2.311333ZM1.125778 -2.520548C1.125778 -3.287671 1.534247 -4.244085 2.351183 -4.244085H2.400996C3.377335 -4.154421 3.367372 -3.118306 3.466999 -2.520548H1.125778Z'/>-<path id='g0-108' d='M0.328767 -6.814446V-6.505604H0.478207C0.846824 -6.505604 1.105853 -6.465753 1.105853 -5.987547V-0.956413C1.105853 -0.886675 1.115816 -0.816936 1.115816 -0.737235C1.115816 -0.358655 0.846824 -0.318804 0.56787 -0.318804H0.328767V-0.009963H2.550436V-0.318804H2.30137C2.012453 -0.318804 1.77335 -0.358655 1.77335 -0.747198V-6.924035L0.328767 -6.814446Z'/>-<path id='g0-111' d='M2.34122 -4.463263C1.085928 -4.333748 0.278954 -3.277709 0.278954 -2.122042C0.278954 -0.996264 1.165629 0.099626 2.49066 0.099626C3.686177 0.099626 4.692403 -0.876712 4.692403 -2.132005C4.692403 -3.317559 3.795766 -4.473225 2.470735 -4.473225C2.430884 -4.473225 2.381071 -4.463263 2.34122 -4.463263ZM1.115816 -1.892902V-2.331258C1.115816 -3.088418 1.354919 -4.244085 2.480697 -4.244085C3.287671 -4.244085 3.745953 -3.566625 3.835616 -2.809465C3.855542 -2.590286 3.855542 -2.381071 3.855542 -2.161893C3.855542 -1.514321 3.785803 -0.707347 3.148194 -0.33873C2.948941 -0.209215 2.729763 -0.14944 2.500623 -0.14944C1.77335 -0.14944 1.265255 -0.71731 1.155666 -1.494396C1.135741 -1.62391 1.135741 -1.763387 1.115816 -1.892902Z'/>-<path id='g0-114' d='M0.268991 -4.293898V-3.985056H0.418431C0.747198 -3.985056 1.046077 -3.955168 1.046077 -3.486924V-0.737235C1.046077 -0.328767 0.767123 -0.318804 0.328767 -0.318804H0.268991V-0.009963H2.67995V-0.318804C2.560399 -0.318804 2.420922 -0.308842 2.30137 -0.308842C1.982565 -0.308842 1.713574 -0.358655 1.713574 -0.727273V-2.052304C1.713574 -2.899128 1.912827 -4.184309 2.889166 -4.184309C2.929016 -4.184309 2.958904 -4.184309 2.998755 -4.174346V-4.164384C2.849315 -4.104608 2.769614 -3.945205 2.769614 -3.785803C2.769614 -3.556663 2.919054 -3.39726 3.148194 -3.35741C3.437111 -3.35741 3.626401 -3.536737 3.626401 -3.785803C3.626401 -4.184309 3.247821 -4.403487 2.889166 -4.403487C2.30137 -4.403487 1.77335 -3.875467 1.673724 -3.337484L1.663761 -4.403487L0.268991 -4.293898Z'/>-<path id='g0-119' d='M0.179328 -4.293898V-3.985056H0.328767C0.846824 -3.985056 0.86675 -3.765878 1.115816 -3.058531C1.364882 -2.371108 1.62391 -1.683686 1.863014 -0.996264L2.161893 -0.159402C2.201743 -0.049813 2.231631 0.089664 2.371108 0.099626H2.391034C2.610212 0.099626 2.749689 -0.56787 2.879203 -0.896638C3.058531 -1.424658 3.247821 -1.952677 3.447073 -2.480697C3.496887 -2.620174 3.556663 -2.759651 3.58655 -2.899128H3.596513C3.626401 -2.759651 3.686177 -2.620174 3.73599 -2.480697L4.024907 -1.673724C4.204234 -1.155666 4.403487 -0.647572 4.582814 -0.129514C4.622665 -0.019925 4.662516 0.099626 4.801993 0.099626C5.021171 0.099626 5.190535 -0.607721 5.310087 -0.966376L5.877958 -2.550436C6.107098 -3.178082 6.246575 -3.985056 7.003736 -3.985056V-4.293898H5.3599V-3.985056C5.618929 -3.975093 5.897883 -3.835616 5.927771 -3.556663C5.927771 -3.277709 5.758406 -2.958904 5.668742 -2.699875C5.50934 -2.271482 5.3599 -1.843088 5.210461 -1.414695C5.13076 -1.205479 5.031133 -0.986301 4.98132 -0.767123H4.971357C4.921544 -1.006227 4.79203 -1.305106 4.692403 -1.554172C4.463263 -2.201743 4.224159 -2.839352 4.004981 -3.496887C3.975093 -3.566625 3.945205 -3.646326 3.945205 -3.726027V-3.765878C3.995019 -3.985056 4.323786 -3.985056 4.523039 -3.985056V-4.293898H2.590286V-3.985056H2.769614C3.158157 -3.985056 3.247821 -3.835616 3.377335 -3.496887C3.39726 -3.427148 3.447073 -3.337484 3.447073 -3.257783C3.437111 -3.16812 3.387298 -3.068493 3.35741 -2.988792L2.789539 -1.404732C2.729763 -1.235367 2.67995 -1.066002 2.610212 -0.9066C2.49066 -1.165629 2.410959 -1.454545 2.311333 -1.723537C2.161893 -2.15193 2.002491 -2.580324 1.853051 -3.008717L1.673724 -3.516812C1.653798 -3.576588 1.613948 -3.646326 1.613948 -3.716065C1.613948 -3.975093 1.982565 -3.985056 2.201743 -3.985056V-4.293898H0.179328Z'/>-</defs>-<g id='page1'>-<use x='0' y='0' xlink:href='#g0-72'/>-<use x='7.470156' y='0' xlink:href='#g0-101'/>-<use x='11.896915' y='0' xlink:href='#g0-108'/>-<use x='14.663639' y='0' xlink:href='#g0-108'/>-<use x='17.430364' y='0' xlink:href='#g0-111'/>-<use x='25.730537' y='0' xlink:href='#g0-119'/>-<use x='32.92402' y='0' xlink:href='#g0-111'/>-<use x='37.904124' y='0' xlink:href='#g0-114'/>-<use x='41.805206' y='0' xlink:href='#g0-108'/>-<use x='44.57193' y='0' xlink:href='#g0-100'/>-<use x='53.425448' y='0' xlink:href='#g0-33'/>-</g>-</svg>\ No newline at end of filediff --git a/tests/tests_cache/writing/TextMobjectTest/Tex/f67f7fb5c5d47dbf.tex b/tests/tests_cache/writing/TextMobjectTest/Tex/f67f7fb5c5d47dbf.texdeleted file mode 100644index 4d3091521..000000000--- a/tests/tests_cache/writing/TextMobjectTest/Tex/f67f7fb5c5d47dbf.tex+++ /dev/null@@ -1,28 +0,0 @@-\documentclass[preview]{standalone}--\usepackage[english]{babel}-\usepackage[utf8]{inputenc}-\usepackage[T1]{fontenc}-\usepackage{amsmath}-\usepackage{amssymb}-\usepackage{dsfont}-\usepackage{setspace}-\usepackage{tipa}-\usepackage{relsize}-\usepackage{textcomp}-\usepackage{mathrsfs}-\usepackage{calligra}-\usepackage{wasysym}-\usepackage{ragged2e}-\usepackage{physics}-\usepackage{xcolor}-\usepackage{microtype}-\DisableLigatures{encoding = *, family = * }-%\usepackage[UTF8]{ctex}-\linespread{1}--\begin{document}--Hello world !--\end{document}diff --git a/tests/tests_data/creation/WriteTest.npy b/tests/tests_data/creation/WriteTest.npyindex e80518177..e835795e1 100644Binary files a/tests/tests_data/creation/WriteTest.npy and b/tests/tests_data/creation/WriteTest.npy differdiff --git a/tests/tests_data/writing/TextMobjectTest.npy b/tests/tests_data/writing/TextMobjectTest.npyindex f9215108c..9f85ae15c 100644Binary files a/tests/tests_data/writing/TextMobjectTest.npy and b/tests/tests_data/writing/TextMobjectTest.npy differ