Add glu typesetter with samples for all eleven demos - #23
Open
pgundlach wants to merge 1 commit into
Open
Conversation
glu renders Markdown, HTML or Lua straight to PDF on top of the boxes and glue typesetting library (OpenType shaping, Knuth-Plass line breaking, an OpenType MATH engine and CSS Paged Media support). - Makefile pattern rules for glu.md / glu.html / glu.lua inputs and a .fonts download target for the Libertinus faces the samples use - a buildGoModule package for glu in the Nix dev shell (glu is not in nixpkgs yet); unzip joins the shell inputs for the font target - samples for all eleven demos
Owner
|
This is fantastic, thanks for taking the time to put this together! I'm traveling right now (and currently on 1 bar of 2G cell data!) so it might take me until next week to review it properly, but from the sounds of things I expect to be able to make this work and get it online. |
Author
|
Note: the failing |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This adds glu as a typesetter. glu renders
Markdown, HTML or Lua straight to PDF on top of the boxes and glue
typesetting library (OpenType shaping, Knuth-Plass line breaking, an
OpenType-MATH engine and CSS Paged Media support).
Included:
glu.md/glu.html/glu.luainputs,mirroring the SILE multi-extension setup, plus a
.fontsdownloadtarget for the Libertinus faces the samples reference.
buildGoModulepackage for glu in the Nix dev shell (glu is notin nixpkgs yet);
unzipjoins the shell inputs for the font target.the casing rules (including Turkish i/İ) in an embedded Lua block,
hieroglyphs exercises the engine's USE shaping of the Egyptian
quadrat composition, and Willans' formula runs through stretchy
fences built from glyph variants and assemblies. Where the engine
has a known gap (the overline form of varlimsup) the sample says so
in a source comment instead of faking the output.
All eleven glu samples (PDFs and AVIF previews) render in a pure Nix
environment (
nix develop --ignore-environment).