Misalignment of column headers and data when converting TXT files to PDF


When TXT files containing tables are converted to PDF in Ephesoft Transact, the column headers are not aligned with column data in the output file.



While TXT to PDF conversion in Ephesoft Transact works fine, there is an inherent limitation of TXT files – they do not contain any font or style information, their content is just plain text (even though it is possible to define fonts and styles in text editors). So, conversion tools used in Transact cannot detect any styling details, thus creating PDF with default font and style. That’s why there might be some format differences between the original text file as seen in a text editor (for example, Notepad) and the PDF created by the conversion tools (LibreOffice/wkhtml2pdf).