#text-rendering #wgpu #graphics #gamedev #font-rendering #font #graphics-api

easytext

A dead simple, easy-to-use and basic text rendering library for wgpu

3 releases

0.0.3 Aug 8, 2024
0.0.2 Aug 8, 2024
0.0.1 Aug 8, 2024

#364 in Rendering

Apache-2.0

40KB
905 lines

easytext

A dead simple, easy-to-use, and basic text rendering library for wgpu.

Basically a more basic glyphon "alternative" that doesn't use cosmic-text. https://github.com/grovesNL/glyphon

Features

  • Easy-to-use API for text rendering
  • Supports most fonts
  • Very performant

Limitations

  • Very basic
  • No color (yet)

Installation

Add the following to your Cargo.toml:

[dependencies]
easytext = "0.0.1"

ATTRIBUTION

The m5x7.ttf font included is made by Daniel Linssen. https://managore.itch.io/m5x7

Dependencies

~14–44MB
~713K SLoC