Matthew Butterick
680422ea57
Merge branch 'main' of https://git.matthewbutterick.com/mbutterick/typesetting
7 months ago
Matthew Butterick
2d2f4ed430
update forum link
7 months ago
Matthew Butterick
c9eb43b5e2
add exception
7 months ago
Matthew Butterick
46591cc2c0
raise error on negative printable width or height
7 months ago
Matthew Butterick
796de89b13
README with status
7 months ago
Matthew Butterick
6acec6864d
Merge branch 'main' of https://git.matthewbutterick.com/mbutterick/typesetting
8 months ago
Matthew Butterick
ef47cafdf8
add some iExceptions
8 months ago
Matthew Butterick
d74075b724
improve handling of intercapped words
...
Intercapped (aka camelCase) words are treated like a list of subwords joined by hyphens, but only if the pieces meet the usual min-length threshold. But don’t use this splitting technique when unhyphenating.
8 months ago
Matthew Butterick
9b95b094df
update URLs for git.matthewbutterick.com
8 months ago
Matthew Butterick
342422e221
add unicode-linebreak
9 months ago
Matthew Butterick
40b87a4bb9
doc typo
9 months ago
Matthew Butterick
4220033f37
track character-tracking in add-text
...
in certain cases we need to jump out of a PDF text-drawing command (`TJ`) to reset the xy position (say, if the next glyph has a special offset). We need to account for any tracking that the TJ might impose
10 months ago
Matthew Butterick
fcfebb70bf
fallback for older OS/2 tables
...
the capHeight and xHeight fields were introduced in the version 4 OS/2 table. Ancient fonts may have an earlier version of the table, and thus be missing these fields.
10 months ago
Matthew Butterick
d6e4b81675
Merge branch 'main' of https://github.com/mbutterick/typesetting
10 months ago
Matthew Butterick
09d7a8f939
allow upper or lowercase font extensions
10 months ago
Matthew Butterick
e158569f86
allow upper or lowercase font extensions
10 months ago
Matthew Butterick
54b2ff0bf9
let's get stricter
10 months ago
Matthew Butterick
4aac042157
cleaner
10 months ago
Matthew Butterick
ab900dc3b7
set a word width correct size
10 months ago
Matthew Butterick
4297717f25
improve font resolution
10 months ago
Matthew Butterick
765426d980
no scaling in render pt 2
10 months ago
Matthew Butterick
3bad396c60
no scaling in render
10 months ago
Matthew Butterick
e2c2f9429c
define attrs in attr.rkt
...
put other ops in attr-passes
10 months ago
Matthew Butterick
a79266d421
test str
10 months ago
Matthew Butterick
1f537a1233
start fiddling with layout
10 months ago
Matthew Butterick
e9955c9d25
better error messages when using list-of
...
capture error and append to message
10 months ago
Matthew Butterick
eb40e8b576
use quad-copy instead of struct-copy
...
because struct-copy is evil
10 months ago
Matthew Butterick
56431ddf47
better error msg
10 months ago
Matthew Butterick
9a2abebf31
note
10 months ago
Matthew Butterick
52d33803de
setup first page
10 months ago
Matthew Butterick
bc78ac9824
append-boq-and-eoq
...
signals beginning & end of a list of quads
10 months ago
Matthew Butterick
b5f794014e
print-pass
10 months ago
Matthew Butterick
2cc67cd3bf
change how attr-keys are printed
10 months ago
Matthew Butterick
9e005433b0
cleaner
10 months ago
Matthew Butterick
c574a9a844
page & page-sizes
10 months ago
Matthew Butterick
ea88ccb05e
more HTML renderer
10 months ago
Matthew Butterick
7f374ee974
start HTML renderer
10 months ago
Matthew Butterick
67ba2690cc
add `set-font` drawing instruction
10 months ago
Matthew Butterick
6edad964bd
implement `remove-font-without-char`
10 months ago
Matthew Butterick
fd30c9ed44
paths can be case sensitive, can't they
10 months ago
Matthew Butterick
2b459351bc
add font & attr passes
11 months ago
Matthew Butterick
ff3e38f2e7
unicode char testers
11 months ago
Matthew Butterick
27ef82cd96
add `convert-path-attr-values`
11 months ago
Matthew Butterick
6e9d26fa62
remove obsolete comment
11 months ago
Matthew Butterick
396d52ae27
catch no-value case
11 months ago
Matthew Butterick
8a3110e9f4
add `resolve-font-features`
11 months ago
Matthew Butterick
71ad54fa78
fix attr iteration
...
if we mutate hash while using it within `in-hash`, bad things happen
11 months ago
Matthew Butterick
51d6c536d2
reversal on name
...
add and subtract are better antonyms
11 months ago
Matthew Butterick
4b8fc2e363
change name of attr
...
font-features-remove is consistent with set-remove
11 months ago
Matthew Butterick
fec7b03474
add attr-keys font-features, font-features-add, font-features-subtract
12 months ago