Matthew Butterick
52d33803de
setup first page
3 years ago
Matthew Butterick
bc78ac9824
append-boq-and-eoq
...
signals beginning & end of a list of quads
3 years ago
Matthew Butterick
b5f794014e
print-pass
3 years ago
Matthew Butterick
2cc67cd3bf
change how attr-keys are printed
3 years ago
Matthew Butterick
9e005433b0
cleaner
3 years ago
Matthew Butterick
c574a9a844
page & page-sizes
3 years ago
Matthew Butterick
ea88ccb05e
more HTML renderer
3 years ago
Matthew Butterick
7f374ee974
start HTML renderer
3 years ago
Matthew Butterick
67ba2690cc
add `set-font` drawing instruction
3 years ago
Matthew Butterick
6edad964bd
implement `remove-font-without-char`
3 years ago
Matthew Butterick
fd30c9ed44
paths can be case sensitive, can't they
3 years ago
Matthew Butterick
2b459351bc
add font & attr passes
3 years ago
Matthew Butterick
ff3e38f2e7
unicode char testers
3 years ago
Matthew Butterick
27ef82cd96
add `convert-path-attr-values`
3 years ago
Matthew Butterick
6e9d26fa62
remove obsolete comment
3 years ago
Matthew Butterick
396d52ae27
catch no-value case
3 years ago
Matthew Butterick
8a3110e9f4
add `resolve-font-features`
3 years ago
Matthew Butterick
71ad54fa78
fix attr iteration
...
if we mutate hash while using it within `in-hash`, bad things happen
3 years ago
Matthew Butterick
51d6c536d2
reversal on name
...
add and subtract are better antonyms
3 years ago
Matthew Butterick
4b8fc2e363
change name of attr
...
font-features-remove is consistent with set-remove
3 years ago
Matthew Butterick
fec7b03474
add attr-keys font-features, font-features-add, font-features-subtract
3 years ago
Matthew Butterick
ec40caa7a2
add set type attr-key
3 years ago
Matthew Butterick
93b272ea87
make quad constructor more lenient
3 years ago
Matthew Butterick
92c56e3ee4
use all-attrs as default value for current-attrs parameter
3 years ago
Matthew Butterick
d0e6a86cd5
delete font-size-previous key
3 years ago
Matthew Butterick
169030b6bf
nit
3 years ago
Matthew Butterick
728433fcde
finish resolving font sizes
3 years ago
Matthew Butterick
03f8ca5d79
comment
3 years ago
Matthew Butterick
93ed327a32
tag attr-keys as mandatory and provide default values
3 years ago
Matthew Butterick
6175eeb909
work on font size cascading
3 years ago
Matthew Butterick
1028171471
use attr objects
3 years ago
Matthew Butterick
8982ed2f21
ignored → unknown
3 years ago
Matthew Butterick
7ece173055
convert txexprs
3 years ago
Matthew Butterick
98f12121fa
convert immutable hashes
3 years ago
Matthew Butterick
a56ad07fd9
more lenient pass macro
3 years ago
Matthew Butterick
c6d5f2f188
introduce ignored attr type
3 years ago
Matthew Butterick
ce02eca979
improve iteration
...
handle flat list or tree
3 years ago
Matthew Butterick
4ec35cd238
append -key to key structs
3 years ago
Matthew Butterick
09289f5df7
better error
3 years ago
Matthew Butterick
19dbffd813
font-size attr key
3 years ago
Matthew Butterick
6cf3d0895f
don't convert to string
3 years ago
Matthew Butterick
4f99f4d38a
some more pipeline pieces
3 years ago
Matthew Butterick
ddc3a030d7
introduce typed attrs
3 years ago
Matthew Butterick
dc30317d44
resolve font paths
3 years ago
Matthew Butterick
94fb4057c9
process the attrs
3 years ago
Matthew Butterick
267fcd2595
tweaks
3 years ago
Matthew Butterick
6122baca65
make posn a struct field
...
If it's an attribute, then we have to first duplicate the attrs hash (because otherwise these objects are shared). This will result in a ton of extra memory allocation & GC just for one field
3 years ago
Matthew Butterick
b84adeb6be
hash union
3 years ago
Matthew Butterick
6fa16add86
curiouser
3 years ago
Matthew Butterick
d3d4c4e8e4
move dir
3 years ago