From 1c6e38392ee1510b5fe5a4293137e1ca59c63f48 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Mon, 6 Feb 2023 22:17:30 +0100 Subject: Add readme MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- README | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 README diff --git a/README b/README new file mode 100644 index 0000000..82ceaf9 --- /dev/null +++ b/README @@ -0,0 +1,25 @@ +NAME + librifunktionsteckensnittsglyfrasteriseringsprogrambiblioteket - Font rasterisation library + +DESCRIPTION + librifunktionsteckensnittsglyfrasteriseringsprogrambiblioteket is a C library + for converting shape outlines to filled shapes, with a focus on fonts, which + that it only supports filled, closed shapes and that the direction of the + outline determines whether a shape adds or subtracts to the image (the absolute + values of the result is used in the image). Furthermore this means that the + library only supports curve types that are used for drawing glyphs; specifically + this means that lines and quadratic Bézier curves are supported by cause this + is what is requied to draw vectorised bitmap fonts and TrueType fonts, but also + cubic Bézier curves as this is required for OpenType fonts and elliptical arcs + (elliptical rather than circular because it may be need required to strech the + circle to support outputs with different vertical and horizontal dot density and + to support subpixel antialiasing) as this is commonly used for corners when + stroking the outline of a glyph. + +NOTES + Rifunktionsteckensnittsglyfrasteriseringsprogrambiblioteket (hyphenation: + ri|funk¦tions-tec¦ken|snit¦ts-glyf-ras¦ter¦iser¦ings-prog¦ram|bib¦lio¦te¦ket) + is Swedish for "the library for rasterising glyphs from spline fonts". + + Because of the length of the library name, and length limitation on function + names, the functions in this library are namespaced with the prefix "rtgrpblib_". -- cgit v1.2.3-70-g09d2