Code Monkey home page Code Monkey logo

fontgardener's Introduction

Fontgardener

An experimental tool to manage large font projects, with the following goals:

  1. Suitable for large font projects with multiple scripts moving at different speeds and with different scopes
  2. Trying hard to avoid Git merge conflicts by reducing their surface area
  3. Easier diffing for human eyes by structuring data in tables where it makes sense
  4. Avoiding data duplication where reasonably possible

A format aimed at font gardeners, or engineers, rather than font designers and design applications.

Status

Very bare bones and experimental. Can currently only handle glyphs.

Example Usage

Creating a new Fontgarden

$ fontgardener new MyFont.fontgarden

Importing Glyphs into Sets

Prepare a text file with the glyphs (one glyph name per line) you want to import into a set, per set. Example Latin.txt:

A
B
C
C.alt

Example default.txt:

one
two
BASE

Then run:

$ fontgardener import MyFont.fontgarden Latin.txt --set-name Latin MyFont-Regular.ufo MyFont-Italic.ufo

Exporting Back into UFOs

To export whole sets:

$ fontgardener export MyFont.fontgarden --set-names default --set-names Latin --output-dir some/dir/for/output

To export glyphs by list, make another one-line-per-name file like above and run:

$ fontgardener export MyFont.fontgarden --glyph-names-file Export.txt --output-dir some/dir/for/output

To limit the sources to just what you want (i.e. only work on the Regular and nothing else):

$ fontgardener export MyFont.fontgarden --glyph-names-file Export.txt --source-names Regular --output-dir some/dir/for/output

Repeat the switch to select more sources, e.g. --source-names Regular --source-names Italic.

fontgardener's People

Contributors

madig 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.