A thing I've been struck by when looking at medieval manuscripts is how
ubiquitous "microtypography" is in them. No two copies of the same letter are ever the same width, swashes and scribal abbreviations are chosen to fit the space available, etc. If you can manage to do that kind of thing on a computer, pretty soon you're doing continuous optimization instead of discrete optimization, so maybe the optimization process becomes a lot cheaper computationally.
I hope you get around to writing up your thoughts! I'd be interested in providing feedback on drafts if that would be useful.