ktx-build-0.1.0.0: CHANGELOG.md
# Changelog for `ktx-build`
All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to the
[Haskell Package Versioning Policy](https://pvp.haskell.org/).
## WIP
Initial release.
- `type: slug` targets build Slug bundles from TrueType `glyf` outlines, read with ttf-reader.
They need no `size`, `format` or `target`.
A malformed font fails the build with its path.
Malformed glyph outlines are listed by glyph id, including the composite glyphs built on them.
- Output paths with unfilled `{{...}}` placeholders fail the config parse.
- JPEG images (`.jpg`, `.jpeg`) are texture sources, like PNG.
- `capHeight` fixes fonts whose OS/2 `sCapHeight` doesn't match their capitals. `measure` takes the top of the H outline, and a number sets the height in font units. `declared`, the default, keeps the font's own value.
The later stages of a target read a copy of its source with the new value in OS/2. Its planes and its bundled shaping data then agree on the cap height. Targets without the option build as before.