5 ms·
You did it again. What's a row? Are you telling me that 100 of them will fit on any page, regardless of font size or margins?
by recursive 4y ago
You did it again. What's a row? Are you telling me that 100 of them will fit on any page, regardless of font size or margins?
- lazyeye 4y agoWhy would you be randomly changing the font-size or margin? Surely that would be known in advance?
- recursive 4y agoSometimes they might be. But even if you know the font size of the headers, the contents, and the bulleted lists, you still won't know where the paragraphs wrap, unless you also require a fixed-width font, and don't allow any of the word lengths to change. But then we probably wouldn't be calling it a "modern library for PDF generation".