Re: GtkSource.PrintCompositor: How to possible printing plain text documents without lost blank lines and indentations?

2017-10-15 Thread Hammer Attila
Hi Eric, This test code me works correctly too if keeping the line numbers each blank lines. If have a number before a simple \n line, the correct line positioning happening when I trying convert back the generated pdf file with pdftotext -layout command. The last line of the first page right

Re: GtkSource.PrintCompositor: How to possible printing plain text documents without lost blank lines and indentations?

2017-10-15 Thread Eric Cashon via gtk-app-devel-list
OK, you got me on the PDF. I don't know about that. I think a monospace font will help though because they are easier to keep track of rows and columns since all the characters are in the same sized rectangle. The Marburg font is also in a constant sized rectangle. I don't know how to put

Re: GtkSource.PrintCompositor: How to possible printing plain text documents without lost blank lines and indentations?

2017-10-15 Thread Hammer Attila
Hi, I think the last post described exactly what the problem. I using the pdftotext test only because me not have a Braille printer hardware, and any way need verifying the real printed output with equals exactly the LiblouisUTDML file2brl command generated formatted text braille output file

Re: GtkSource.PrintCompositor: How to possible printing plain text documents without lost blank lines and indentations?

2017-10-15 Thread Yuri Khan
On Sun, Oct 15, 2017 at 1:42 AM, Eric Cashon via gtk-app-devel-list wrote: > The first thing that I would try out is to change the font that is being > drawn to see if that works. I am getting an impression that fonts are not going to make any difference. The OP