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.
Files changed (24) hide show
  1. {fontforge_variable_font-0.4.1/fontforge_variable_font.egg-info → fontforge_variable_font-0.4.2}/PKG-INFO +1 -1
  2. {fontforge_variable_font-0.4.1 → fontforge_variable_font-0.4.2}/fontforgeVF/load.py +3 -1
  3. {fontforge_variable_font-0.4.1 → fontforge_variable_font-0.4.2/fontforge_variable_font.egg-info}/PKG-INFO +1 -1
  4. {fontforge_variable_font-0.4.1 → fontforge_variable_font-0.4.2}/setup.cfg +1 -1
  5. {fontforge_variable_font-0.4.1 → fontforge_variable_font-0.4.2}/LICENSE +0 -0
  6. {fontforge_variable_font-0.4.1 → fontforge_variable_font-0.4.2}/README.md +0 -0
  7. {fontforge_variable_font-0.4.1 → fontforge_variable_font-0.4.2}/fontforgeVF/__init__.py +0 -0
  8. {fontforge_variable_font-0.4.1 → fontforge_variable_font-0.4.2}/fontforgeVF/__main__.py +0 -0
  9. {fontforge_variable_font-0.4.1 → fontforge_variable_font-0.4.2}/fontforgeVF/delete.py +0 -0
  10. {fontforge_variable_font-0.4.1 → fontforge_variable_font-0.4.2}/fontforgeVF/design_axes.py +0 -0
  11. {fontforge_variable_font-0.4.1 → fontforge_variable_font-0.4.2}/fontforgeVF/export.py +0 -0
  12. {fontforge_variable_font-0.4.1 → fontforge_variable_font-0.4.2}/fontforgeVF/instance.py +0 -0
  13. {fontforge_variable_font-0.4.1 → fontforge_variable_font-0.4.2}/fontforgeVF/language.py +0 -0
  14. {fontforge_variable_font-0.4.1 → fontforge_variable_font-0.4.2}/fontforgeVF/utils.py +0 -0
  15. {fontforge_variable_font-0.4.1 → fontforge_variable_font-0.4.2}/fontforge_variable_font.egg-info/SOURCES.txt +0 -0
  16. {fontforge_variable_font-0.4.1 → fontforge_variable_font-0.4.2}/fontforge_variable_font.egg-info/dependency_links.txt +0 -0
  17. {fontforge_variable_font-0.4.1 → fontforge_variable_font-0.4.2}/fontforge_variable_font.egg-info/entry_points.txt +0 -0
  18. {fontforge_variable_font-0.4.1 → fontforge_variable_font-0.4.2}/fontforge_variable_font.egg-info/requires.txt +0 -0
  19. {fontforge_variable_font-0.4.1 → fontforge_variable_font-0.4.2}/fontforge_variable_font.egg-info/top_level.txt +0 -0
  20. {fontforge_variable_font-0.4.1 → fontforge_variable_font-0.4.2}/pyproject.toml +0 -0
  21. {fontforge_variable_font-0.4.1 → fontforge_variable_font-0.4.2}/test/test_design_axes.py +0 -0
  22. {fontforge_variable_font-0.4.1 → fontforge_variable_font-0.4.2}/test/test_export.py +0 -0
  23. {fontforge_variable_font-0.4.1 → fontforge_variable_font-0.4.2}/test/test_language.py +0 -0
  24. {fontforge_variable_font-0.4.1 → fontforge_variable_font-0.4.2}/test/test_utils.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: fontforge_variable_font
3
- Version: 0.4.1
3
+ Version: 0.4.2
4
4
  Summary: A FontForge_plugin to create a variable font
5
5
  Home-page: https://github.com/MihailJP/fontforge-variable-font
6
6
  Author: MihailJP
@@ -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.endswith('.ttf') or font.path.endswith('.woff2'):
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'):
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: fontforge_variable_font
3
- Version: 0.4.1
3
+ Version: 0.4.2
4
4
  Summary: A FontForge_plugin to create a variable font
5
5
  Home-page: https://github.com/MihailJP/fontforge-variable-font
6
6
  Author: MihailJP
@@ -1,6 +1,6 @@
1
1
  [metadata]
2
2
  name = fontforge_variable_font
3
- version = 0.4.1
3
+ version = 0.4.2
4
4
  author = MihailJP
5
5
  author_email = mihailjp@gmail.com
6
6
  description = A FontForge_plugin to create a variable font