ref: 6bf0a834bc0b9a179a63eab0f603db232227da42
parent: ed8ed23fc5671e443072e00603cf03805db8fd18
author: Sigrid Solveig Haflínudóttir <sigrid@ftrv.se>
date: Thu Jul 11 15:35:19 EDT 2024
update readme and add a license
--- /dev/null
+++ b/LICENSE
@@ -1,0 +1,18 @@
+Copyright © 2024 Sigrid Solveig Haflínudóttir
+
+Permission is hereby granted, free of charge, to any person obtaining a copy of
+this software and associated documentation files (the "Software"), to deal in
+the Software without restriction, including without limitation the rights to
+use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
+the Software, and to permit persons to whom the Software is furnished to do so,
+subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in all
+copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
+FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
+COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
+IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
+CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
--- a/README.md
+++ b/README.md
@@ -1,7 +1,18 @@
# fnt
-WIP.
+Font loading, rendering and text shaping engine for 9front (and
+Unix-like OS) in C.
-A try-out project of generating a parser of [OpenType](https://en.wikipedia.org/wiki/OpenType) in C
-from [human-readable specifications](https://learn.microsoft.com/en-us/typography/opentype/spec/otff)
-with as little/small declarative definitions as possible.
+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.