fontforge-variable-font 0.4.1__tar.gz → 0.4.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.
- {fontforge_variable_font-0.4.1/fontforge_variable_font.egg-info → fontforge_variable_font-0.4.2}/PKG-INFO +1 -1
- {fontforge_variable_font-0.4.1 → fontforge_variable_font-0.4.2}/fontforgeVF/load.py +3 -1
- {fontforge_variable_font-0.4.1 → fontforge_variable_font-0.4.2/fontforge_variable_font.egg-info}/PKG-INFO +1 -1
- {fontforge_variable_font-0.4.1 → fontforge_variable_font-0.4.2}/setup.cfg +1 -1
- {fontforge_variable_font-0.4.1 → fontforge_variable_font-0.4.2}/LICENSE +0 -0
- {fontforge_variable_font-0.4.1 → fontforge_variable_font-0.4.2}/README.md +0 -0
- {fontforge_variable_font-0.4.1 → fontforge_variable_font-0.4.2}/fontforgeVF/__init__.py +0 -0
- {fontforge_variable_font-0.4.1 → fontforge_variable_font-0.4.2}/fontforgeVF/__main__.py +0 -0
- {fontforge_variable_font-0.4.1 → fontforge_variable_font-0.4.2}/fontforgeVF/delete.py +0 -0
- {fontforge_variable_font-0.4.1 → fontforge_variable_font-0.4.2}/fontforgeVF/design_axes.py +0 -0
- {fontforge_variable_font-0.4.1 → fontforge_variable_font-0.4.2}/fontforgeVF/export.py +0 -0
- {fontforge_variable_font-0.4.1 → fontforge_variable_font-0.4.2}/fontforgeVF/instance.py +0 -0
- {fontforge_variable_font-0.4.1 → fontforge_variable_font-0.4.2}/fontforgeVF/language.py +0 -0
- {fontforge_variable_font-0.4.1 → fontforge_variable_font-0.4.2}/fontforgeVF/utils.py +0 -0
- {fontforge_variable_font-0.4.1 → fontforge_variable_font-0.4.2}/fontforge_variable_font.egg-info/SOURCES.txt +0 -0
- {fontforge_variable_font-0.4.1 → fontforge_variable_font-0.4.2}/fontforge_variable_font.egg-info/dependency_links.txt +0 -0
- {fontforge_variable_font-0.4.1 → fontforge_variable_font-0.4.2}/fontforge_variable_font.egg-info/entry_points.txt +0 -0
- {fontforge_variable_font-0.4.1 → fontforge_variable_font-0.4.2}/fontforge_variable_font.egg-info/requires.txt +0 -0
- {fontforge_variable_font-0.4.1 → fontforge_variable_font-0.4.2}/fontforge_variable_font.egg-info/top_level.txt +0 -0
- {fontforge_variable_font-0.4.1 → fontforge_variable_font-0.4.2}/pyproject.toml +0 -0
- {fontforge_variable_font-0.4.1 → fontforge_variable_font-0.4.2}/test/test_design_axes.py +0 -0
- {fontforge_variable_font-0.4.1 → fontforge_variable_font-0.4.2}/test/test_export.py +0 -0
- {fontforge_variable_font-0.4.1 → fontforge_variable_font-0.4.2}/test/test_language.py +0 -0
- {fontforge_variable_font-0.4.1 → fontforge_variable_font-0.4.2}/test/test_utils.py +0 -0
|
@@ -438,7 +438,9 @@ def _loadHook_ttf(font: fontforge.font):
|
|
|
438
438
|
|
|
439
439
|
|
|
440
440
|
def loadHook(font: fontforge.font):
|
|
441
|
-
if font.path
|
|
441
|
+
if not font.path: # may occur in CID fonts
|
|
442
|
+
_addGenerateHook(font)
|
|
443
|
+
elif font.path.endswith('.ttf') or font.path.endswith('.woff2'):
|
|
442
444
|
_loadHook_ttf(font)
|
|
443
445
|
_addGenerateHook(font)
|
|
444
446
|
elif font.path.endswith('.sfd'):
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|