shithub: fnt


branches: front

Clone

clone: git://shithub.us/sigrid/fnt gits://shithub.us/sigrid/fnt
push: hjgit://shithub.us/sigrid/fnt
patches to: sigrid @ #cat-v

Last commit

f711b442 – Sigrid Solveig Haflínudóttir <sigrid@ftrv.se> authored on 2024/09/02 19:25
define COLR and CPAL

About

# fnt

Font loading, rendering and text shaping engine for 9front (and
Unix-like OS) in C.

It is still very much *WIP*.

## What does it have so far?

An [OpenType](https://en.wikipedia.org/wiki/OpenType) parser and
pretty-printer in C generated from [human-readable
specifications](https://learn.microsoft.com/en-us/typography/opentype/spec/otff)
written down as [Racket](https://racket-lang.org) data.

An optimized rasterizer for glyphs, mainly based on [Wavelet
Rasterization](https://josiahmanson.com/research/wavelet_rasterization)
paper by J. Manson and S. Schaefer.  The supplied code, however, was
not used.  This is an implementation from scratch.

 * Antialiasing.
 * Basic subpixel rendering (RGB/BGR, horizontal/vertical).
 * Arbitrary non-integer scaling on X and Y axis.
 * Bitmap (`*.otb`) fonts.