RoelN / fontra

A browser-based font editor

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Fontra

Fontra Icon

Fontra is an in-development browser-based font editor. It consists of two main parts:

  • Fontra client — runs in the browser, written in JavaScript
  • Fontra server — runs locally or on a remote machine, written in Python

Installing Fontra

  • Check out the repo, cd into the root of the repo

  • Ensure you have Python >= 3.10 installed, preferably from python.org

  • Create a Python venv in the root of the repo:

    python3 -m venv venv --prompt=fontra

  • Activate venv:

    source venv/bin/activate

  • Install dependencies:

    pip install --upgrade pip

    pip install -r requirements.txt

    pip install -e .

  • Start the fontra server with a path to a folder containing fonts (.designspace, .ufo, .ttf or .otf), using the filesystem subcommand:

    fontra --launch filesystem /path/to/a/folder

  • The default browser will then navigate to:

    http://localhost:8000/

  • To use Fontra with .rcjk data on disk, or to connect to a remote rcjk server, install the fontra-rcjk plugin package. Then you can start it with a robocjk server hostname, using the rcjk subcommand provided by the fontra-rcjk plugin:

    fontra --launch rcjk some-robocjk-server.some-domain.com

About

A browser-based font editor

License:GNU General Public License v3.0


Languages

Language:JavaScript 72.3%Language:Python 20.1%Language:CSS 5.9%Language:HTML 1.7%Language:Shell 0.1%