Matthew Butterick
fd30c9ed44
paths can be case sensitive, can't they
2 years ago
Matthew Butterick
2b459351bc
add font & attr passes
2 years ago
Matthew Butterick
ff3e38f2e7
unicode char testers
2 years ago
Matthew Butterick
27ef82cd96
add `convert-path-attr-values`
2 years ago
Matthew Butterick
6e9d26fa62
remove obsolete comment
2 years ago
Matthew Butterick
396d52ae27
catch no-value case
2 years ago
Matthew Butterick
8a3110e9f4
add `resolve-font-features`
2 years ago
Matthew Butterick
71ad54fa78
fix attr iteration
...
if we mutate hash while using it within `in-hash`, bad things happen
2 years ago
Matthew Butterick
51d6c536d2
reversal on name
...
add and subtract are better antonyms
2 years ago
Matthew Butterick
4b8fc2e363
change name of attr
...
font-features-remove is consistent with set-remove
2 years ago
Matthew Butterick
fec7b03474
add attr-keys font-features, font-features-add, font-features-subtract
2 years ago
Matthew Butterick
ec40caa7a2
add set type attr-key
2 years ago
Matthew Butterick
93b272ea87
make quad constructor more lenient
2 years ago
Matthew Butterick
92c56e3ee4
use all-attrs as default value for current-attrs parameter
2 years ago
Matthew Butterick
d0e6a86cd5
delete font-size-previous key
2 years ago
Matthew Butterick
169030b6bf
nit
2 years ago
Matthew Butterick
728433fcde
finish resolving font sizes
2 years ago
Matthew Butterick
03f8ca5d79
comment
2 years ago
Matthew Butterick
93ed327a32
tag attr-keys as mandatory and provide default values
2 years ago
Matthew Butterick
6175eeb909
work on font size cascading
2 years ago
Matthew Butterick
1028171471
use attr objects
2 years ago
Matthew Butterick
8982ed2f21
ignored → unknown
2 years ago
Matthew Butterick
7ece173055
convert txexprs
2 years ago
Matthew Butterick
98f12121fa
convert immutable hashes
2 years ago
Matthew Butterick
a56ad07fd9
more lenient pass macro
2 years ago
Matthew Butterick
c6d5f2f188
introduce ignored attr type
2 years ago
Matthew Butterick
ce02eca979
improve iteration
...
handle flat list or tree
2 years ago
Matthew Butterick
4ec35cd238
append -key to key structs
2 years ago
Matthew Butterick
09289f5df7
better error
2 years ago
Matthew Butterick
19dbffd813
font-size attr key
2 years ago
Matthew Butterick
6cf3d0895f
don't convert to string
2 years ago
Matthew Butterick
4f99f4d38a
some more pipeline pieces
2 years ago
Matthew Butterick
ddc3a030d7
introduce typed attrs
2 years ago
Matthew Butterick
dc30317d44
resolve font paths
2 years ago
Matthew Butterick
94fb4057c9
process the attrs
2 years ago
Matthew Butterick
267fcd2595
tweaks
2 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
2 years ago
Matthew Butterick
b84adeb6be
hash union
2 years ago
Matthew Butterick
6fa16add86
curiouser
2 years ago
Matthew Butterick
d3d4c4e8e4
move dir
2 years ago