COSMIC Text is a Rust library offering multi-line text handling. It provides text shaping, layout, rendering, font discovery, font fallback, rasterization, and editing in a reusable abstraction.
The library supports advanced shaping, bidirectional text, ligatures, color emoji, wrapping, ellipsizing, text selection, and copy/paste. It is designed for projects that need robust text handling without pulling in a full graphical toolkit.
This is free and open source software.
Key Features
- Pure Rust multi-line text handling.
- Advanced text shaping with HarfRust.
- Custom safe Rust layout engine.
- Bidirectional text support.
- Font discovery and font fallback.
- Optional rasterization using swash.
- Supports ligatures and color emoji.
- Text wrapping, ellipsizing, and editing support.
- Cross-platform support – runs on Linux, macOS, and Windows.
Website: github.com/pop-os/cosmic-text
Support:
Developer: System76
License: Apache License 2.0 / MIT License
COSMIC Text is written in Rust. Learn Rust with our recommended free books and free tutorials.
Related Software
| Font Renderers | |
|---|---|
| HarfBuzz | OpenType text shaping engine |
| FreeType | Small and efficient software font engine |
| LibICU | Libraries for Unicode and internationalization |
| Fontconfig | Library for configuring and customizing font access |
| FriBidi | Implementation of the Unicode Bidirectional Algorithm |
Read our verdict in the software roundup.
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. |

