Crates.io | gerb |
lib.rs | gerb |
version | 0.0.1-alpha+2023-04-27 |
source | src |
created_at | 2022-03-11 17:35:43.651215 |
updated_at | 2023-04-27 20:02:15.626996 |
description | Font editor for UFO 3 fonts. |
homepage | https://github.com/epilys/gerb |
repository | https://github.com/epilys/gerb |
max_upload_size | |
id | 548384 |
size | 2,746,834 |
gerb
: a font editor in gtk3 and Rust☛ See the Screenshots section.
gerb
is a GUI font editor and IDE.
It is not production ready, but all the basics are implemented.
It uses the UFOv3 format and can import:1
and export:2
.otf
).ttf
)ℹ️ Interested in contributing? Consult CONTRIBUTING.md . |
---|
.otf
and .ttf
Some other projects in development are:
gtk
.Packages are available:
.deb
files included with each releaseIt is also installable from crates.io: cargo install gerb
See 'Releases' for binaries of tagged releases built in the CI.
To build, you will need Rust's cargo
tool.
You can get it from your distribution's packages, or directly with the official rustup
tool.
If the build fails because of missing system libraries, see the Dependencies section of the README
.
Download or clone the git repository with your method of choice, e.g.:
git clone https://github.com/epilys/gerb.git
cd gerb
cargo build --release
Needs gtk-3
.
For the python
feature you'll need libpython3.9
or greater.
On Debian and relatives:
apt install libgtk-3-dev
On macOS
you can install dependencies with Homebrew
:
brew install librsvg gtk+3 gnome-icon-theme
You can open a UFOv3 project from the GUI ( File->Open or Ctrl+O ) or directly in the command line with the -u
flag.
Assuming the project directory is "/path/to/font.ufo":
# Directly calling the binary:
gerb -u /path/to/font.ufo
# Running through cargo
cargo run --release -- -u /path/to/font.ufo
Configuration of various settings is stored at the $XDG_CONFIG_HOME/gerb
directory in a TOML file.
The usual location would be $HOME/.config/gerb/config.toml
.
dconf is not used but PRs that add dconf support are welcome.