svg-ultralight 0.52.0__py3-none-any.whl → 0.52.2__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.
|
@@ -427,10 +427,9 @@ class FTFontInfo:
|
|
|
427
427
|
min_x, min_y, max_x, max_y = self.get_char_bounds(char)
|
|
428
428
|
return BoundingBox(
|
|
429
429
|
min_x,
|
|
430
|
-
|
|
430
|
+
-max_y,
|
|
431
431
|
max_x - min_x,
|
|
432
432
|
max_y - min_y,
|
|
433
|
-
transformation=(1, 0, 0, -1, 0, 0),
|
|
434
433
|
)
|
|
435
434
|
|
|
436
435
|
def get_text_bounds(self, text: str) -> tuple[int, int, int, int]:
|
|
@@ -492,10 +491,9 @@ class FTFontInfo:
|
|
|
492
491
|
min_x, min_y, max_x, max_y = self.get_text_bounds(text)
|
|
493
492
|
return BoundingBox(
|
|
494
493
|
min_x,
|
|
495
|
-
|
|
494
|
+
-max_y,
|
|
496
495
|
max_x - min_x,
|
|
497
496
|
max_y - min_y,
|
|
498
|
-
transformation=(1, 0, 0, -1, 0, 0),
|
|
499
497
|
)
|
|
500
498
|
|
|
501
499
|
def get_lsb(self, char: str) -> float:
|
|
@@ -13,7 +13,7 @@ svg_ultralight/constructors/__init__.py,sha256=fb-A50G3YTZNMQXpxcCl_QAcfssS0Us06
|
|
|
13
13
|
svg_ultralight/constructors/new_element.py,sha256=hVQG7WBHQoTUmGiZNtVadGOitdTFBrHOQeVKKVOWGaA,3526
|
|
14
14
|
svg_ultralight/font_tools/__init__.py,sha256=b_VSvk5aODzS2wv48EMU2sey_mxq1o1SL8ecWTdy4kc,78
|
|
15
15
|
svg_ultralight/font_tools/comp_results.py,sha256=KR6RtVGWjGGfHX2d_-XRx_Jr9CQ36kPbQxLVK1yzgTI,10421
|
|
16
|
-
svg_ultralight/font_tools/font_info.py,sha256=
|
|
16
|
+
svg_ultralight/font_tools/font_info.py,sha256=g1jk-HpFDCTYCmYAd1TEWxI6IXdRRuqmnDJmlrRB6Wc,29427
|
|
17
17
|
svg_ultralight/image_ops.py,sha256=cwR038ECUuiceIrk-9Peh5Ijp4tzjuaV5Y1cvYOt4TI,5454
|
|
18
18
|
svg_ultralight/inkscape.py,sha256=_aQ42ZQ1JP9TFdHmtxgCRsXvxfZPpdZWTGKEea9BgIU,9336
|
|
19
19
|
svg_ultralight/layout.py,sha256=yiTAYtSsYywdCObIdjkK3A4fiEYLNPqD3BOQKxfj6gQ,12514
|
|
@@ -29,6 +29,6 @@ svg_ultralight/strings/__init__.py,sha256=iaRwr9AF9bPDkG3XvgGRSf8JPAS2GQ8ds9yCNp
|
|
|
29
29
|
svg_ultralight/strings/svg_strings.py,sha256=XlXQ5RqueGrROXBI4VzR2cK7e1NdNhYx5S84bgyqFUQ,3132
|
|
30
30
|
svg_ultralight/transformations.py,sha256=YyhehH0Hlui2U9t7hjwgHgRyHzUR7UCMSSo-G85J-bo,4784
|
|
31
31
|
svg_ultralight/unit_conversion.py,sha256=Y32GZ5TLkvjDHM2kBw52M8ZxDNlpVSlDkSdRa1S_X-A,8985
|
|
32
|
-
svg_ultralight-0.52.
|
|
33
|
-
svg_ultralight-0.52.
|
|
34
|
-
svg_ultralight-0.52.
|
|
32
|
+
svg_ultralight-0.52.2.dist-info/WHEEL,sha256=eh7sammvW2TypMMMGKgsM83HyA_3qQ5Lgg3ynoecH3M,79
|
|
33
|
+
svg_ultralight-0.52.2.dist-info/METADATA,sha256=Tz4ruLeLwFv4s8U45JbguDMPdliUwOkEXWKhaLb7Iww,8691
|
|
34
|
+
svg_ultralight-0.52.2.dist-info/RECORD,,
|
|
File without changes
|