{"repo":"mooman219/fontdue","free":true,"listed":false,"github":"https://github.com/mooman219/fontdue","clone":"git clone https://github.com/mooman219/fontdue.git","description":"The fastest font renderer in the world, written in pure rust.","language":"Rust","stars":1703,"topics":["rust","font","truetype","rasterizer","opentype","ui"],"license":"Apache-2.0","category":"ui-components","readme_excerpt":"Fontdue Fontdue is a simple, no std (does not use the standard library for portability), pure Rust, TrueType ( .ttf/.ttc ) & OpenType ( .otf ) font rasterizer and layout tool. It strives to make interacting with fonts as fast as possible, and currently has the lowest end to end latency for a font rasterizer. Roadmap fontdue is designed to be a replacement for rusttype (link), ab glyph (link), parts of glyph brush (link), and glyph brush layout (link). This is a class of font libraries that don't tackle shaping. It's unlikely I'll have time to integrate with a shaping library. If you need a more complete font engine you should check out the wonderful Cosmic Text project, which is a very complete pure rust text library. A non-goal of this library is to be allocation free and have a fast, \"zero cost\" initial load. This library does make allocations and depends on the alloc crate. Fonts are fully parsed on creation and relevant information is stored in a more convenient to access format. Unlike other font libraries, the font structures have no lifetime dependencies since it allocates its own space. Example Live demo. This demo is a web-assembly build of fontdue rasterizing to a browser canvas. It provides a side by side of characters being rasterized between fontdue and the browser's canvas text api provided with the same parameters. Some other examples can be found under ./dev/examples. Rasterization The rasterization API should not see major changes in the near future. Layout T","default_branch":null,"files":null,"tree":[],"storefront":"/r/mooman219","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/mooman219/fontdue/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}