neharob / editra

Automatically exported from code.google.com/p/editra
Other
0 stars 0 forks source link

Incorrect line wrapping in printout #638

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?

1. I am running Editra 0.6.26 on MacOSX 10.6.7
2. Load any file with lines longer than 33 chars
3. onscreen view: http://img862.imageshack.us/img862/3913/onscreenview.jpg
4. print layout: http://img15.imageshack.us/img15/5551/onpaper.jpg

What is the expected output? What do you see instead?

The file does not print correctly when colour mode is selected.  Lines are 
wrapped around 32/33 characters. 

The file prints OK in black and white mode, however I would prefer to print in 
colour and keep the syntax highlighting. 

I have attached a screenshot as point 2, and a picture showing how the file is 
printed.  

What version of the product are you using? On what operating system?

Editra 0.6.26, MacOSX 10.6.7

What method of install was your version installed with (Binary/Source)?

Binary download from www.editra.org. 

Original issue reported on code.google.com by wil...@gmail.com on 15 Apr 2011 at 3:17

GoogleCodeExporter commented 9 years ago
This behaviour, wrapping long lines around 30 chars happens in any of the 
either of the colour modes : colour/white and colour/default.   Is this expeced 
behaviour? 

Original comment by wil...@gmail.com on 15 Apr 2011 at 3:21

GoogleCodeExporter commented 9 years ago
Hi,

What Syntax Highlighting scheme are you using?

What Font(s) do you have set for the scheme above to use?
  * Font name
  * Font size

Original comment by CodyPrec...@gmail.com on 15 Apr 2011 at 3:25

GoogleCodeExporter commented 9 years ago
update title

Original comment by CodyPrec...@gmail.com on 15 Apr 2011 at 3:30

GoogleCodeExporter commented 9 years ago
The fault does not seem to be in print preview.    Editra's print preview 
screen displays the file with correct wrapping 

When I click the "print" button to send to my printer, or use the "save as a 
pdf" option in the macosx print dialog, the line-wrapping is wrong,  lines wrap 
at approx. 32/33 characters instead of carrying on across the width of the 
page. 

FWIW, the printer is a Samsung CLP-315W colour laser, and page setup is 
configured to print at 100% size, in portrait mode, on A4 paper. 

Primary Font - Monaco 10pt
Secondary Font - Lucidia Grande 10pt

The file I have illustrated, 'README'  has no extension, and so the 
highlighting scheme is "NONMEM Control Stream ". 

No highlighting scheme has been explicitly selected.  Editra seems to have 
automatically selected to use when I open the 

The same behaviour, wrapping at lines early is also seen with .pl files being 
highlighted using the Perl lexer. 

Original comment by wil...@gmail.com on 15 Apr 2011 at 4:25

GoogleCodeExporter commented 9 years ago
http://img38.imageshack.us/g/73825680.jpg/

screen caps of the editra preference windows , the page setup and print 
dialogs, and editra's print preview page.

Original comment by wil...@gmail.com on 15 Apr 2011 at 4:51

GoogleCodeExporter commented 9 years ago
Reproduced

Something appears to be altering the text measurement and scaling for the 
actual printout job.

Original comment by CodyPrec...@gmail.com on 15 Apr 2011 at 7:42

GoogleCodeExporter commented 9 years ago
Should be fixed no in current svn for next release

Original comment by CodyPrec...@gmail.com on 15 Apr 2011 at 8:34

GoogleCodeExporter commented 9 years ago
great!  many thanks for your quick response.

Original comment by wil...@gmail.com on 16 Apr 2011 at 11:59