Font Tools

Swash – pure Rust, cross-platform crate

Swash is a pure Rust, cross-platform crate providing font introspection, complex text shaping, and glyph rendering. It aims to provide high performance components for beautiful typography while staying unopinionated about higher level layout, resource management, and lower level rendering.

This is free and open source software.

Key Features

  • Font introspection covering font collections, localized names, metadata, variation axes, named instances, metrics, color palettes, and bitmap strikes.
  • Zero allocation and zero copy introspection.
  • Complex text shaping with OpenType advanced typography support.
  • Partial Apple Advanced Typography support including glyph metamorphosis and extended kerning.
  • Support for variable fonts including positioning and feature substitutions.
  • Universal Shaping Engine implementation for complex scripts.
  • Arabic joining including Urdu-style climbing runs.
  • Basic shaping support including ligatures, marks, and kerning.
  • Scalable outlines with full variation support for TrueType and PostScript.
  • Horizontal subpixel rendering and fractional positioning.
  • Emoji support for Apple, Google, and Microsoft formats.
  • Text analysis covering Unicode character properties, composition, decomposition, cluster segmentation, word boundaries, and line boundaries.

Website: github.com/dfrg/swash
Support:
Developer: Chad Brokaw
License: Apache License 2.0 / MIT License

Swash is written in Rust. Learn Rust with our recommended free books and free tutorials.


Related Software

Font Renderers
HarfBuzzOpenType text shaping engine
FreeTypeSmall and efficient software font engine
LibICULibraries for Unicode and internationalization
FontconfigLibrary for configuring and customizing font access
FriBidiImplementation of the Unicode Bidirectional Algorithm

Read our verdict in the software roundup.


Best Free and Open Source Software Explore our comprehensive directory of recommended free and open source software. Our carefully curated collection spans every major software category.

This directory is part of our ongoing series of informative articles for Linux enthusiasts. It features hundreds of detailed reviews, along with open source alternatives to proprietary solutions from major corporations such as Google, Microsoft, Apple, Adobe, IBM, Cisco, Oracle, and Autodesk.

You’ll also find interesting projects to try, hardware coverage, free programming books and tutorials, and much more.

Discovered a useful open source Linux program that we haven’t covered yet? Let us know by completing this form.
Subscribe
Notify of
guest
0 Comments
Oldest
Newest Most Voted