Pts

Latest version: v1.4.8

Safety actively analyzes 681866 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 2 of 4

1.4.2

* Fixed error in setup if Pillow is not installed.

1.4.1

* Changed `getSize` and `setSizes` to not use case-sensitive font names.

1.4.0

* Changed font size to be specific to a particular font. If no font size is specified, the defaults will be used.
* Changed `setSizes` to `setSize` and changed its function.
* Added new function `getSize` that gives you size details of a font.
* Fixed bug in 1.3.1 that caused `setSizes` to fail.

1.3.1

* Added `MAX_SIZE` field to `PTS.core`. Avoid importing it directly to be able to detect changes to the font size.

1.3.0

* Added new option `preferUnwrapped` to `fitText`. If this is enabled then the function will try to find a size of the font where it does not wrap the text mid-word. Will return the standard if it cannot find any sizes that do not do this.

1.2.3

* Changed the way `FontError` works so that you can now access the font that caused the error. Access is done through `FontError.font`.

Page 2 of 4

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.