Font Tools

COSMIC Text – Rust library offering multi-line text handling

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
HarfBuzzOpenType text shaping engine
FreeTypeSmall and efficient software font engine
PangoInternational text layout and rendering with rich script support
LibICULibraries for Unicode and internationalization
FontconfigLibrary for configuring and customizing font access
COSMIC TextRust library for rich multi-line text layout, shaping and editing
FriBidiImplementation of the Unicode Bidirectional Algorithm
SwashPure Rust toolkit for glyph shaping, scaling and rendering
SheenBidiCompact Unicode bidirectional algorithm implementation for text engines
RaqmBidirectional layout and shaping for complex writing systems

Read our verdict in the software roundup.


Best Free and Open Source Software LinuxLinks helps you discover the best free and open source software for Linux. Explore our extensive collection of recommended applications, including alternatives to popular proprietary software.

We also publish software reviews, Linux tutorials, hardware reviews, free programming books and articles covering the wider open source community. Browse our Linux resources to discover more.

Know a useful free and open source Linux application we haven't covered? Suggest a program for inclusion.

Has your software been featured on LinuxLinks? Display one of our Featured on LinuxLinks badges on your website or GitHub README.
Subscribe

Please read our Comment Policy before commenting.

Notify of
guest
0 Comments
Oldest
Newest Most Voted