manimpango 0.2.1__tar.gz → 0.2.2__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: ManimPango
3
- Version: 0.2.1
3
+ Version: 0.2.2
4
4
  Summary: Bindings for Pango for using with Manim.
5
5
  Home-page: https://manimpango.manim.community/
6
6
  Author: Naveen M K
@@ -11,6 +11,5 @@ ManimPango.egg-info/not-zip-safe
11
11
  ManimPango.egg-info/top_level.txt
12
12
  manimpango/__init__.py
13
13
  manimpango/_version.py
14
- manimpango/cmanimpango.c
15
14
  manimpango/cmanimpango.pxd
16
15
  manimpango/cmanimpango.pyx
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: ManimPango
3
- Version: 0.2.1
3
+ Version: 0.2.2
4
4
  Summary: Bindings for Pango for using with Manim.
5
5
  Home-page: https://manimpango.manim.community/
6
6
  Author: Naveen M K
@@ -1,2 +1,2 @@
1
1
  # -*- coding: utf-8 -*-
2
- __version__ = "0.2.1"
2
+ __version__ = "0.2.2"
@@ -269,9 +269,8 @@ def text2svg(
269
269
  class MarkupUtils:
270
270
  @staticmethod
271
271
  def validate(text: str) -> bool:
272
- length = len(text)
273
272
  text_bytes = text.encode("utf-8")
274
- return pango_parse_markup(text_bytes, <int>length, 0, NULL, NULL, NULL, NULL)
273
+ return pango_parse_markup(text_bytes, -1, 0, NULL, NULL, NULL, NULL)
275
274
 
276
275
  @staticmethod
277
276
  def text2svg(