baruchel / txt2pdf

Text to PDF converter with Unicode support

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Tab character is displayed as a black box if file contains tabs

clach04 opened this issue · comments

Simple test case attached:

python txt2pdf.py --media letter --break-on-blanks test_text_7bit_US-ASCII.txt

test_text_7bit_US-ASCII.txt

NOTE related but should be considered a separate issue #22 ; also displays black boxes for form-feed character aka CTRL-L, US-ASCII 0x0c(12 in decimal) when break-on-blanks is used.

I suspect this is due to what appears to be lack of support for tabs in Reportlab - see https://groups.google.com/g/reportlab-users/c/WXTt_bQ3VRk/m/0jRa1Cp4DGgJ