jenskutilek / glyphspkg Goto Github PK
View Code? Open in Web Editor NEWConverter for GlyphsApp package to monolithic files
License: MIT License
Converter for GlyphsApp package to monolithic files
License: MIT License
The following warning will pop up during package build:
> /usr/lib/python3/dist-packages/setuptools/config/setupcfg.py:293: _DeprecatedConfig: Deprecated config in `setup.cfg`
> !!
>
> ********************************************************************************
> The license_file parameter is deprecated, use license_files instead.
>
> By 2023-Oct-30, you need to update your project and remove deprecated calls
> or your builds will no longer be supported.
>
> See https://setuptools.pypa.io/en/latest/userguide/declarative_config.html for details.
> ********************************************************************************
>
First, thank you for making this library! It is already proving to be so helpful, especially in a Makefile similar to your recommendation.
However, I think I may have come across an unintended result, so I wanted to report it.
Context:
sources/shantellsans-wght_ital_IRGL.glyphspackage
build-prep
folder-o sources/build-prep/shantellsans-wght_ital_IRGL.glyphs
Unexpected result:
fontdir/familyname.glyphs/familyname.glyphs
Here’s the full traceback:
▶ glyphspkg sources/shantellsans-wght_ital_IRGL.glyphspackage -o sources/build-prep/shantellsans-wght_ital_IRGL.glyphs
Reading: sources/shantellsans-wght_ital_IRGL.glyphspackage
Saving: sources/build-prep/shantellsans-wght_ital_IRGL.glyphs/shantellsans-wght_ital_IRGL.glyphs
Traceback (most recent call last):
File "/Users/stephennixon/type-repos/shantell-sans/venv/bin/glyphspkg", line 8, in <module>
sys.exit(main())
File "/Users/stephennixon/type-repos/shantell-sans/venv/lib/python3.10/site-packages/glyphspkg/cmdline.py", line 48, in main
package_to_single(input_path, arguments.output_path)
File "/Users/stephennixon/type-repos/shantell-sans/venv/lib/python3.10/site-packages/glyphspkg/package_to_single.py", line 51, in package_to_single
save_to_plist_path(glyphs_file, output_file_path)
File "/Users/stephennixon/type-repos/shantell-sans/venv/lib/python3.10/site-packages/glyphspkg/plist.py", line 15, in save_to_plist_path
with codecs.open(plist_path, "wb", "utf-8") as f:
File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/codecs.py", line 905, in open
file = builtins.open(filename, mode, buffering)
FileNotFoundError: [Errno 2] No such file or directory: 'sources/build-prep/shantellsans-wght_ital_IRGL.glyphs/shantellsans-wght_ital_IRGL.glyphs'
This happens whether I try to run glyphspkg from the command line or from a Makefile. I might be doing something wrong, but I don’t think I am...
Thanks again!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.