Re: GtkSource.PrintCompositor: How to possible printing plain text documents without lost blank lines and indentations?
- From: Hammer Attila <hammera pickup hu>
- To: cecashon aol com, gtk-app-devel-list gnome org
- Subject: Re: GtkSource.PrintCompositor: How to possible printing plain text documents without lost blank lines and indentations?
- Date: Mon, 16 Oct 2017 07:49:02 +0200
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 positioned the 28TH line (line
number is real 28 in the txt file), but before the 1 number have only 7
space characters, not 32 space characters.
If I remove the line numbers before the \n characters, the first page
last line again not right positioned the txt file when I ran the
pdftotext -layout pdf file command (real line number now 6, and before
the 1 number have 9 space characters, not 32).
I tried replacing the blank lines with simple space characters, but this
is not help of course.
Attila
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]