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