Commit Graph

35 Commits (396d52ae27313b2879baeac23e3249f517e90e50)

Author SHA1 Message Date
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