Lurker News
What are you working on? Any new ideas that you're thinking about?

Comments (1,214) 642 threads

Show all comments

Showing thread 15 of 642

perihelions2 replies#
Reverse typesetting: reflowing page layouts where you don't have knowledge of the typesetting structure, i.e. a scanned physical book or PDF paper. Naive rules-based heuristics based on the dimensions of bounding boxes and gaps. Point is to reflow things for resizing to eink readers. (Specifically the size that fits in my pocket which I carry around. User #1 is me). Building in Common Lisp and targeting an Emacs mode for interactive execution with manual feedback.
Foreignborn1 reply#
i don’t quite understand, what makes it reverse typesetting?

my understanding is your typesetting books for responsive eink readers.

perihelions1 reply#
You're inferring the structure of the document from the printed result. If typesetting takes a set of layout directives and outputs a page, this is taking a finished page and guessing what layout directives could create it. Then you can take that inferred structure and reflow the page in a new layout.
froh1 reply#
so like ocr but not recognizing characters and words but recognizing the layouted structure and transforming it into content markup and layout markup?

Continue this thread — 1 reply