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
Matthew Butterick
7a84b42241
multi rendering experiment
3 years ago
Matthew Butterick
b6e74fc8b8
document that change
3 years ago
Matthew Butterick
cfbc56c96c
infer font families from filename alone
...
Allows a group of four RIBBI styles to be treated as a family, if they contain "bold" or "italic" in the filename
3 years ago
Matthew Butterick
dfb8c83340
support "next" value for `page-side-start`
3 years ago
Matthew Butterick
4a0e7d18bb
Merge branch 'main' of https://github.com/mbutterick/typesetting
3 years ago
Matthew Butterick
6921e2bb7f
improve dummy element
3 years ago
Matthew Butterick
2288842e7b
hash experiment
3 years ago
Matthew Butterick
23c940c6af
hacky shim to prevent numerical conversion in attribute
3 years ago