python-fontbro 0.24.0__tar.gz → 0.26.0__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.
- {python_fontbro-0.24.0/python_fontbro.egg-info → python_fontbro-0.26.0}/PKG-INFO +9 -9
- {python_fontbro-0.24.0 → python_fontbro-0.26.0}/README.md +2 -3
- {python_fontbro-0.24.0 → python_fontbro-0.26.0}/fontbro/data/features.json +607 -13
- {python_fontbro-0.24.0 → python_fontbro-0.26.0}/fontbro/data/unicode-blocks.json +76 -0
- {python_fontbro-0.24.0 → python_fontbro-0.26.0}/fontbro/data/unicode-scripts.json +71 -16
- {python_fontbro-0.24.0 → python_fontbro-0.26.0}/fontbro/font.py +54 -10
- {python_fontbro-0.24.0 → python_fontbro-0.26.0}/fontbro/metadata.py +1 -1
- {python_fontbro-0.24.0 → python_fontbro-0.26.0}/fontbro/subset.py +1 -2
- {python_fontbro-0.24.0 → python_fontbro-0.26.0}/fontbro/utils.py +3 -1
- {python_fontbro-0.24.0 → python_fontbro-0.26.0}/pyproject.toml +5 -5
- {python_fontbro-0.24.0 → python_fontbro-0.26.0/python_fontbro.egg-info}/PKG-INFO +9 -9
- {python_fontbro-0.24.0 → python_fontbro-0.26.0}/python_fontbro.egg-info/requires.txt +2 -2
- {python_fontbro-0.24.0 → python_fontbro-0.26.0}/tests/test_close.py +1 -1
- {python_fontbro-0.24.0 → python_fontbro-0.26.0}/tests/test_context_manager.py +1 -1
- {python_fontbro-0.24.0 → python_fontbro-0.26.0}/tests/test_family_classification.py +1 -2
- {python_fontbro-0.24.0 → python_fontbro-0.26.0}/tests/test_fingerprint.py +1 -1
- {python_fontbro-0.24.0 → python_fontbro-0.26.0}/tests/test_save.py +2 -0
- {python_fontbro-0.24.0 → python_fontbro-0.26.0}/tests/test_unicode_blocks_and_scripts.py +10 -10
- {python_fontbro-0.24.0 → python_fontbro-0.26.0}/LICENSE.txt +0 -0
- {python_fontbro-0.24.0 → python_fontbro-0.26.0}/MANIFEST.in +0 -0
- {python_fontbro-0.24.0 → python_fontbro-0.26.0}/fontbro/__init__.py +0 -0
- {python_fontbro-0.24.0 → python_fontbro-0.26.0}/fontbro/data/family-classifications.json +0 -0
- {python_fontbro-0.24.0 → python_fontbro-0.26.0}/fontbro/exceptions.py +0 -0
- {python_fontbro-0.24.0 → python_fontbro-0.26.0}/fontbro/flags.py +0 -0
- {python_fontbro-0.24.0 → python_fontbro-0.26.0}/fontbro/math.py +0 -0
- {python_fontbro-0.24.0 → python_fontbro-0.26.0}/fontbro/py.typed +0 -0
- {python_fontbro-0.24.0 → python_fontbro-0.26.0}/python_fontbro.egg-info/SOURCES.txt +0 -0
- {python_fontbro-0.24.0 → python_fontbro-0.26.0}/python_fontbro.egg-info/dependency_links.txt +0 -0
- {python_fontbro-0.24.0 → python_fontbro-0.26.0}/python_fontbro.egg-info/top_level.txt +0 -0
- {python_fontbro-0.24.0 → python_fontbro-0.26.0}/setup.cfg +0 -0
- {python_fontbro-0.24.0 → python_fontbro-0.26.0}/setup.py +0 -0
- {python_fontbro-0.24.0 → python_fontbro-0.26.0}/tests/test_characters.py +0 -0
- {python_fontbro-0.24.0 → python_fontbro-0.26.0}/tests/test_clone.py +0 -0
- {python_fontbro-0.24.0 → python_fontbro-0.26.0}/tests/test_collection.py +0 -0
- {python_fontbro-0.24.0 → python_fontbro-0.26.0}/tests/test_color.py +0 -0
- {python_fontbro-0.24.0 → python_fontbro-0.26.0}/tests/test_family_name.py +0 -0
- {python_fontbro-0.24.0 → python_fontbro-0.26.0}/tests/test_features.py +0 -0
- {python_fontbro-0.24.0 → python_fontbro-0.26.0}/tests/test_filename.py +0 -0
- {python_fontbro-0.24.0 → python_fontbro-0.26.0}/tests/test_format.py +0 -0
- {python_fontbro-0.24.0 → python_fontbro-0.26.0}/tests/test_glyphs.py +0 -0
- {python_fontbro-0.24.0 → python_fontbro-0.26.0}/tests/test_image.py +0 -0
- {python_fontbro-0.24.0 → python_fontbro-0.26.0}/tests/test_init.py +0 -0
- {python_fontbro-0.24.0 → python_fontbro-0.26.0}/tests/test_instantiation.py +0 -0
- {python_fontbro-0.24.0 → python_fontbro-0.26.0}/tests/test_issues.py +0 -0
- {python_fontbro-0.24.0 → python_fontbro-0.26.0}/tests/test_italic_angle.py +0 -0
- {python_fontbro-0.24.0 → python_fontbro-0.26.0}/tests/test_monospace.py +0 -0
- {python_fontbro-0.24.0 → python_fontbro-0.26.0}/tests/test_names.py +0 -0
- {python_fontbro-0.24.0 → python_fontbro-0.26.0}/tests/test_rename.py +0 -0
- {python_fontbro-0.24.0 → python_fontbro-0.26.0}/tests/test_sanitize.py +0 -0
- {python_fontbro-0.24.0 → python_fontbro-0.26.0}/tests/test_str.py +0 -0
- {python_fontbro-0.24.0 → python_fontbro-0.26.0}/tests/test_style_flags.py +0 -0
- {python_fontbro-0.24.0 → python_fontbro-0.26.0}/tests/test_style_name.py +0 -0
- {python_fontbro-0.24.0 → python_fontbro-0.26.0}/tests/test_subset.py +0 -0
- {python_fontbro-0.24.0 → python_fontbro-0.26.0}/tests/test_svg.py +0 -0
- {python_fontbro-0.24.0 → python_fontbro-0.26.0}/tests/test_update_unicode_data.py +0 -0
- {python_fontbro-0.24.0 → python_fontbro-0.26.0}/tests/test_variable.py +0 -0
- {python_fontbro-0.24.0 → python_fontbro-0.26.0}/tests/test_version.py +0 -0
- {python_fontbro-0.24.0 → python_fontbro-0.26.0}/tests/test_vertical_metrics.py +0 -0
- {python_fontbro-0.24.0 → python_fontbro-0.26.0}/tests/test_weight.py +0 -0
- {python_fontbro-0.24.0 → python_fontbro-0.26.0}/tests/test_width.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
Metadata-Version: 2.
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
2
|
Name: python-fontbro
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.26.0
|
|
4
4
|
Summary: friendly font operations on top of fontTools.
|
|
5
5
|
Author-email: Fabio Caccamo <fabio.caccamo@gmail.com>
|
|
6
6
|
Maintainer-email: Fabio Caccamo <fabio.caccamo@gmail.com>
|
|
@@ -43,11 +43,11 @@ Classifier: License :: OSI Approved :: MIT License
|
|
|
43
43
|
Classifier: Natural Language :: English
|
|
44
44
|
Classifier: Operating System :: OS Independent
|
|
45
45
|
Classifier: Programming Language :: Python :: 3
|
|
46
|
-
Classifier: Programming Language :: Python :: 3.8
|
|
47
|
-
Classifier: Programming Language :: Python :: 3.9
|
|
48
46
|
Classifier: Programming Language :: Python :: 3.10
|
|
49
47
|
Classifier: Programming Language :: Python :: 3.11
|
|
50
48
|
Classifier: Programming Language :: Python :: 3.12
|
|
49
|
+
Classifier: Programming Language :: Python :: 3.13
|
|
50
|
+
Classifier: Programming Language :: Python :: 3.14
|
|
51
51
|
Classifier: Programming Language :: Python :: Implementation :: PyPy
|
|
52
52
|
Classifier: Topic :: Text Processing :: Fonts
|
|
53
53
|
Classifier: Topic :: Multimedia :: Graphics
|
|
@@ -57,8 +57,9 @@ License-File: LICENSE.txt
|
|
|
57
57
|
Requires-Dist: fonttools[lxml,pathops,unicode,woff]<5.0,>=4.43.0
|
|
58
58
|
Requires-Dist: imagehash<5.0.0,>=4.2.1
|
|
59
59
|
Requires-Dist: opentype-sanitizer<10.0.0,>=9.1.0
|
|
60
|
-
Requires-Dist: pillow<
|
|
61
|
-
Requires-Dist: python-fsutil<1.0.0,>=0.
|
|
60
|
+
Requires-Dist: pillow<13.0.0,>=8.4.0
|
|
61
|
+
Requires-Dist: python-fsutil<1.0.0,>=0.16.0
|
|
62
|
+
Dynamic: license-file
|
|
62
63
|
|
|
63
64
|
[](https://www.python.org/)
|
|
64
65
|
[](https://pypi.org/project/python-fontbro/)
|
|
@@ -70,7 +71,6 @@ Requires-Dist: python-fsutil<1.0.0,>=0.9.3
|
|
|
70
71
|
[](https://github.com/fabiocaccamo/python-fontbro)
|
|
71
72
|
[](https://codecov.io/gh/fabiocaccamo/python-fontbro)
|
|
72
73
|
[](https://www.codacy.com/app/fabiocaccamo/python-fontbro)
|
|
73
|
-
[](https://codeclimate.com/github/fabiocaccamo/python-fontbro/)
|
|
74
74
|
[](https://github.com/psf/black)
|
|
75
75
|
[](https://github.com/astral-sh/ruff)
|
|
76
76
|
|
|
@@ -683,7 +683,7 @@ Determines if the font is a monospace font.
|
|
|
683
683
|
:returns: True if monospace font, False otherwise.
|
|
684
684
|
:rtype: bool
|
|
685
685
|
"""
|
|
686
|
-
mono = font.is_monospace()
|
|
686
|
+
mono = font.is_monospace(threshold=0.85)
|
|
687
687
|
```
|
|
688
688
|
|
|
689
689
|
#### `is_static`
|
|
@@ -1060,7 +1060,7 @@ Special thanks to [Jérémie Hornus](https://github.com/JeremieHornus) and [Just
|
|
|
1060
1060
|
## Supporting
|
|
1061
1061
|
- :star: Star this project on [GitHub](https://github.com/fabiocaccamo/python-fontbro)
|
|
1062
1062
|
- :octocat: Follow me on [GitHub](https://github.com/fabiocaccamo)
|
|
1063
|
-
- :blue_heart: Follow me on [
|
|
1063
|
+
- :blue_heart: Follow me on [Bluesky](https://bsky.app/profile/fabiocaccamo.bsky.social)
|
|
1064
1064
|
- :moneybag: Sponsor me on [Github](https://github.com/sponsors/fabiocaccamo)
|
|
1065
1065
|
|
|
1066
1066
|
## See also
|
|
@@ -8,7 +8,6 @@
|
|
|
8
8
|
[](https://github.com/fabiocaccamo/python-fontbro)
|
|
9
9
|
[](https://codecov.io/gh/fabiocaccamo/python-fontbro)
|
|
10
10
|
[](https://www.codacy.com/app/fabiocaccamo/python-fontbro)
|
|
11
|
-
[](https://codeclimate.com/github/fabiocaccamo/python-fontbro/)
|
|
12
11
|
[](https://github.com/psf/black)
|
|
13
12
|
[](https://github.com/astral-sh/ruff)
|
|
14
13
|
|
|
@@ -621,7 +620,7 @@ Determines if the font is a monospace font.
|
|
|
621
620
|
:returns: True if monospace font, False otherwise.
|
|
622
621
|
:rtype: bool
|
|
623
622
|
"""
|
|
624
|
-
mono = font.is_monospace()
|
|
623
|
+
mono = font.is_monospace(threshold=0.85)
|
|
625
624
|
```
|
|
626
625
|
|
|
627
626
|
#### `is_static`
|
|
@@ -998,7 +997,7 @@ Special thanks to [Jérémie Hornus](https://github.com/JeremieHornus) and [Just
|
|
|
998
997
|
## Supporting
|
|
999
998
|
- :star: Star this project on [GitHub](https://github.com/fabiocaccamo/python-fontbro)
|
|
1000
999
|
- :octocat: Follow me on [GitHub](https://github.com/fabiocaccamo)
|
|
1001
|
-
- :blue_heart: Follow me on [
|
|
1000
|
+
- :blue_heart: Follow me on [Bluesky](https://bsky.app/profile/fabiocaccamo.bsky.social)
|
|
1002
1001
|
- :moneybag: Sponsor me on [Github](https://github.com/sponsors/fabiocaccamo)
|
|
1003
1002
|
|
|
1004
1003
|
## See also
|