baruchel / txt2pdf

Text to PDF converter with Unicode support

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ENHANCEMENT idea - support output of meta data for target PDF

clach04 opened this issue · comments

txt2pdf knows what the dimensions of the pages are once it has loaded the font, page size, margins, etc. A neat/useful option would be to return this information to stdout on a new flag. E.g. output charsPerLine and linesPerPage (which _generate() already does) without processing the input text file.