YesLogic Blog

Allsorts Font Shaping Engine 0.15 Release

Allsorts now supports variable fonts, CFF2, and can generate font specimen documents.

Allsorts is a Rust crate (library) that can parse OpenType, WOFF, and WOFF2 fonts, shape text, and subset fonts. We use it in Prince for all font parsing, shaping, and subsetting.

A lot has happened since we last wrote about Allsorts all the way back in 2021. There have been 14 releases since then. In that time Allsorts gained support for variable fonts, CFF2 outlines, and creating font specimen documents, as well as a few bug fixes and improvements.

Continue reading…

Allsorts Font Shaping Engine 0.6 Release

In the last six months we've added support for shaping new scripts, glyph positioning, accessing glyph contours, improved performance, and more.

Allsorts is a Rust crate (library) that can parse OpenType, WOFF, and WOFF2 fonts, shape text, and subset fonts. We use it in Prince for all font parsing, shaping, and subsetting.

Since the Allsorts 0.5 release in Dec 2020 we've continued to improve Allsorts and expand its capabilities. The 0.6 release adds support for shaping Khmer, Lao, Thai, and Sinhala scripts; laying out glyphs and obtaining their positions; accessing glyph contours; improved performance; and a few bug fixes as well.

Continue reading…

Allsorts Font Shaping Engine Year in Review

A year ago YesLogic open-sourced the Allsorts font parser, shaping engine, and subsetter. In this post we cover how Allsorts has worked out in Prince, what's improved over the past year, and what we're working on next.

Allsorts is a Rust crate (library) that can parse OpenType, WOFF, and WOFF2 fonts, shape text, and subset fonts.

Continue reading…

Announcing the Allsorts Font Shaping Engine

Today YesLogic is open-sourcing the Allsorts font parser, shaping engine, and subsetter for OpenType, WOFF, and WOFF2 under the Apache 2.0 license. Allsorts was extracted from the Prince HTML to PDF typesetting and layout tool and is implemented in Rust.

Prince is a tool that converts HTML and CSS into well laid out PDFs. Our customers use it to produce books, restaurant menus, invoices, business cards, and much more. Two years ago YesLogic set out to improve the font parsing and shaping in Prince.

Continue reading…