Thanks to visit codestin.com
Credit goes to lib.rs

28 releases (17 breaking)

new 0.18.0 Jan 15, 2026
0.17.0 Nov 27, 2025
0.16.1 Nov 3, 2025
0.16.0 May 27, 2025
0.0.1 May 22, 2019

#238 in Text processing

Codestin Search App Codestin Search App Codestin Search App Codestin Search App Codestin Search App Codestin Search App Codestin Search App Codestin Search App Codestin Search App Codestin Search App Codestin Search App Codestin Search App Codestin Search App Codestin Search App Codestin Search App Codestin Search App Codestin Search App

502 downloads per month
Used in 10 crates (7 directly)

MIT/Apache

445KB
9K SLoC

Norad

a Rust crate for working with Unified Font Object files.

A crate for reading, writing, and manipulating Unified Font Object files, a common font-design format.


lib.rs:

Utilities for working with Unified Font Object files.

The types in this crate correspond to types described in the spec.

Basic Usage

Instantiate a UFO font object with a Font struct like this:

use norad::Font;

let inpath = "RoflsExtraDim.ufo";
let mut font_obj = Font::load(inpath).expect("failed to load font");

The API may be used to access and modify data in the Font:

let layer = font_obj.default_layer();
let glyph_a = layer.get_glyph("A").expect("missing glyph");
assert_eq!(glyph_a.name().as_ref(), "A");

Serialize the Font to UFO files on disk with the Font::save method:

let outpath = "RoflsSemiDim.ufo";
font_obj.save(outpath);

Refer to the examples directory of the source repository for additional source code examples.

API Documentation

Details on the full API for working with UFO fonts are available in these docs.

License

norad is licensed under the MIT and Apache v2.0 licenses.

Source

Source files are available at https://github.com/linebender/norad.

Dependencies

~4–6MB
~102K SLoC