svg-ultralight 0.43.0__py3-none-any.whl → 0.43.1__py3-none-any.whl

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.

Potentially problematic release.


This version of svg-ultralight might be problematic. Click here for more details.

@@ -461,7 +461,12 @@ class FTTextInfo:
461
461
  stroke_width = attributes.get("stroke-width")
462
462
  if stroke_width:
463
463
  attributes["stroke-width"] = float(stroke_width) / self.scale
464
- return new_element("path", d=self.font.get_text_svgd(self.text), **attributes)
464
+ return new_element(
465
+ "path",
466
+ data_text=self.text,
467
+ d=self.font.get_text_svgd(self.text),
468
+ **attributes,
469
+ )
465
470
 
466
471
  @property
467
472
  def bbox(self) -> BoundingBox:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: svg-ultralight
3
- Version: 0.43.0
3
+ Version: 0.43.1
4
4
  Summary: a sensible way to create svg files with Python
5
5
  Author-email: Shay Hill <shay_public@hotmail.com>
6
6
  License: MIT
@@ -24,11 +24,11 @@ svg_ultralight/constructors/__init__.py,sha256=XLOInLhzMERWNnFAs-itMs-OZrBOpvQth
24
24
  svg_ultralight/constructors/new_element.py,sha256=hRUW2hR_BTkthEqPClYV7-IeFe9iv2zwb6ehp1k1xDk,3475
25
25
  svg_ultralight/font_tools/__init__.py,sha256=NX3C0vvoB-G4S-h1f0NLWePjYAMMR37D1cl_G4WBjHc,83
26
26
  svg_ultralight/font_tools/comp_results.py,sha256=iEDbExO3D7ffo0NZxrqf-WjtzUCJZbdHmqwjjac4laY,10444
27
- svg_ultralight/font_tools/font_info.py,sha256=DE8VvGQqsgg1qZyL98OYs7hTC4wEzMF3ynEtdqhyR5Y,26290
27
+ svg_ultralight/font_tools/font_info.py,sha256=CDAA5hJOkVS8yyRzAk0uVb0WMTL3fY6Jhxk9I6SEFi8,26375
28
28
  svg_ultralight/font_tools/globs.py,sha256=JdrrGMqDtD4WcY7YGUWV43DUW63RVev-x9vWqsQUhxU,119
29
29
  svg_ultralight/strings/__init__.py,sha256=BMGhF1pulscIgkiYvZLr6kPRR0L4lW0jUNFxkul4_EM,295
30
30
  svg_ultralight/strings/svg_strings.py,sha256=FQNxNmMkR2M-gCFo_woQKXLgCHi3ncUlRMiaRR_a9nQ,1978
31
- svg_ultralight-0.43.0.dist-info/METADATA,sha256=_ZAM898pdWypT_-vZDTm_5ERfSDYc8SwN-uu0E4irb0,9052
32
- svg_ultralight-0.43.0.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
33
- svg_ultralight-0.43.0.dist-info/top_level.txt,sha256=se-6yqM_0Yg5orJKvKWdjQZ4iR4G_EjhL7oRgju-fdY,15
34
- svg_ultralight-0.43.0.dist-info/RECORD,,
31
+ svg_ultralight-0.43.1.dist-info/METADATA,sha256=0lV1rScmuaMl3tHmBxIBwD2I-shfrGe__RAX7Sx2bmc,9052
32
+ svg_ultralight-0.43.1.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
33
+ svg_ultralight-0.43.1.dist-info/top_level.txt,sha256=se-6yqM_0Yg5orJKvKWdjQZ4iR4G_EjhL7oRgju-fdY,15
34
+ svg_ultralight-0.43.1.dist-info/RECORD,,