Commit Graph

2637 Commits (6e9d26fa62da339975954e2286d4b757e271ce14)
 

Author SHA1 Message Date
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 28e676fe82
hide build status because it's misleading
![Build Status](https://github.com/mbutterick/typesetting/workflows/typesetting%20CI/badge.svg)
3 years ago
Matthew Butterick 94fb4057c9 process the attrs 3 years ago
Matthew Butterick f8a0a90f36 fix font resolution for font family with single style
even if the style has bold or italic in the name, it should be treated as the regular style
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
Matthew Butterick bea91f647d shorten kws 3 years ago
Matthew Butterick ec0a9b536a nit 3 years ago
Matthew Butterick 3bea636677 nit 3 years ago
Matthew Butterick 5b48d5b1fc make way for atomize 3 years ago
Matthew Butterick 7a9ac1c43f hashes all the way
A microbenchmark reveals that alist lookup with assq never beats a hasheq lookup with hash-ref.
3 years ago
Matthew Butterick dfd4dc9e74 note to self 3 years ago
Matthew Butterick f90fa12878 flaw 3 years ago
Matthew Butterick 3d29b0ed33 hope 3 years ago
Matthew Butterick ba872ac51f let me assq something 3 years ago
Matthew Butterick f60e46f39f callback-driven renderer 3 years ago
Matthew Butterick cdd77bca00 fold it 3 years ago
Matthew Butterick 7e75bfd63e stackerization 3 years ago