Giter VIP home page Giter VIP logo

fonttools.rlib's Introduction

Rust Font Tools

This is a collection of crates for working on (and compiling) OpenType fonts in Rust. It also contains the Fonticulus font compiler. If you're just interested in compiling fonts quickly, see the section Fonticulus Installation below.

Components

  • babelfont-rs: A library for loading and representing source font files (Glyphs 3, UFO, Designspace, Fontlab VI VFJ) into a common set of objects.
  • designspace: A library for reading .designspace files.
  • dschecker: A tool for checking Designspace formatting and compatibility issues.
  • fonticulus: A fonticulusly fast font compiler.
  • fonttools-cli: Various command line utilities using the fonttools-rs library.
  • fonttools-rs: A high-level library for parsing and creating OpenType and TrueType binary fonts.
  • openstep-plist: A library for reading OpenStep-style plist fonts (used by babelfont-rs to handle Glyphs files).
  • otmath: A library for various common OpenType-related mathematical operations, rounding, interpolation and so on.
  • otspec: A low-level library for parsing and creating OpenType and TrueType binary fonts.
  • otspec-macros: A set of proc_macros for serializing and deserializing OpenType binary data into Rust structures.
  • triangulate: A work-in-progress UFO interpolator.

Fonticulus Installation

First: Install Rust

Then:

cargo install --git https://github.com/simoncozens/rust-font-tools fonticulus
fonticulus --help

This will install the latest cutting-edge version directly from the repo, which is probably what you want to be using at this point while Fonticulus is in alpha stage.

dschecker

cargo install --git https://github.com/simoncozens/rust-font-tools dschecker
dschecker --help

dschecker quickly checks .designspace files for correctness and for interpolation incompatibilities. It has two output modes; by default, it prints a human-readable textual description of any problems it finds. When the -j flag is passed on the command line, it prints a report in JSON format, for use when called by other programs.

triangulate

% cargo install --git https://github.com/simoncozens/rust-font-tools dschecker
% triangulate Nunito.designspace ital=0 wght=450
Saved on Nunito-ital0-wght450.ufo

triangulate interpolates a font, creating a UFO file representing the font at a given point in the design space.

fonttools.rlib's People

Contributors

simoncozens avatar cmyr avatar m4rc1e avatar madig avatar moyogo avatar belluzj avatar

Watchers

 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.