3 releases (stable)
2.0.0 | May 27, 2022 |
---|---|
1.0.0 | Nov 6, 2021 |
0.1.0 | Nov 5, 2021 |
#39 in #glyph
22KB
475 lines
glyphspack
glyphspack
converts between the .glyphs
and .glyphspackage
file format flavors of the Glyphs font editor.
Usage
Convert between .glyphs
and .glyphspackage
files:
$ glyphspack SomeFont.glyphspackage
Unpacking SomeFont.glyphspackage into SomeFont.glyphs
$ glyphspack OtherFont.glyphs
Packing OtherFont.glyphs into OtherFont.glyphspackage
Write the contents to the standard output:
$ glyphspack -fo /dev/stdout SomeFont.glyphspackage
Options:
- Set the output file name with
-o
/--out
. - Overwrite any existing files with
-f
/--force
. - Suppress log messages with
-q
/--quiet
.
Run with --help
for a complete parameter description.
Installation
glyphspack
can be installed from source with cargo:
$ cargo install glyphspack
The releases page provides pre-build executables for macOS (universal binary, works with both Apple silicon and Intel), Linux (x64 64 bit), and Windows (x64 64 bit).
Alternatives
- In Glyphs, save a file to a different format with File → Save As… → File Format.
- A similar tool written in Python is glyphspkg.
License
Licensed under either of
- Apache License, Version 2.0 (LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0)
- MIT license (LICENSE-MIT or http://opensource.org/licenses/MIT)
at your option.
Contribution
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.
Dependencies
~9–22MB
~289K SLoC