Code Monkey home page Code Monkey logo

gerb's Introduction

gerb License No Maintenance Intended Build Status Latest Version netbsd aur

☛ Development has stopped as of 2023-05-03. Discussion
  1. *gerb ʰ-: reconstructed Proto-Indo-European root, meaning to carve
  2. gerb: a font editor in gtk3 and Rust

Editing a glyph inside gerb.
Editing a glyph.

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

  • UFOv2 directories
  • Glyphs files

and export:2

  • OpenType files (.otf)
  • TrueType files (.ttf)
ℹ️ Interested in contributing? Consult CONTRIBUTING.md.

Features

  • import from other font source formats
  • export to .otf and .ttf
  • configurable shortcuts system
  • unlimited undos
  • embedded python shell and API for scripting and plugins (work in progress)
  • git integration (work in progress)
  • themeable (work in progress)

Future features

Screenshots 3

Alternative software

  • FontForge is the indisputable FOSS font editor. Realistically this is the only choice one has for making a professional quality typeface with free software.

Some other projects in development are:

  • runebender: development seems to have slowed down (as of Wed 15 Mar 2023). Unfortunately, the project —while excellent— looks like it is encumbered by its UI toolkit's development. In contrast, gerb uses the standard FOSS UI toolkit, gtk.
  • MFEK: it's focused on splitting every functionality into micro-libraries. gerb's technical goal is shipping a font editor.

Install

Packages

Packages are available:

It is also installable from crates.io: cargo install gerb

Prebuilt GNU/Linux & macos amd64 binaries

See 'Releases' for binaries of tagged releases built in the CI.

Build

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

Dependencies

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

Run & Configuration

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.

Footnotes

  1. Import is performed with fontTools and glyphsLib.

  2. Export is performed with ufo2ft.

  3. The screenshot typeface is Sporting Grotesque.

gerb's People

Contributors

epilys avatar erictapen avatar aloso avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.