* Some small refactors
* Refactor MTex
* Implement TransformMatchingMTex
* Some refactors
* Some refactors
* Some small refactors
* Strip strings before matching
* Implement get_submob_tex
* Use RGB color mode
* Some small refactors
* Try refactoring SVGMobject with svglib
* Refactor SVGMobject using svgelements
* Refactor SVGMobject using svgelements
* Use functions instead of func names as dict values
* style: modify import order to conform to PEP8
* Set default values to None
* modify import order
* Remove unused import
Co-authored-by: TonyCrane <tonycrane@foxmail.com>
This would use a Pango specific markup which looks like html.
There are some specific implementation here about `<color>`
and `<gradient>`
Pango doesn't support `<gradient>` or `<color> ` instead it works
with `color` attribute and gradient isn't supported.
Since, `SVGMobject` doesn't know about parsing colors from SVG image
and implmentation of `<color>` and `<gradient>` is added.
Co-authored-by: Philipp Imhof <52650214+PhilippImhof@users.noreply.github.com>
Signed-off-by: Naveen M K <naveen@syrusdark.website>
Change TEXT_MOB_SCALE_FACTOR value
Also deprecate `size` parameter
Also, now text isn't scaled when increasing font size
instead it is passed to the underlying enging
for handling. Though always a Text object is scaled
with a default value so that it fits the screen.
Signed-off-by: Naveen M K <naveen@syrusdark.website>
* fix: remove the last M tag in svg files to make Text run in shaders branch
* fix: close the svg path manually to fix the bug of wrong stroke
* fix: remove Space mobjects in Text to fix the bug of TransformText
* feat: make Text and TextMobject equal in size
* this will lead to more bugs of setting color, so I delete it
* fix typo in text_mobject.py
* fix conflict of default size and height