Bug 678694 - code printout is very poor
Summary: code printout is very poor
Keywords:
Status: CLOSED UPSTREAM
Alias: None
Product: Fedora EPEL
Classification: Fedora
Component: codeblocks
Version: el6
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Dan Horák
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-02-18 21:47 UTC by Aram Agajanian
Modified: 2011-04-26 08:40 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-04-26 08:40:40 UTC
Type: ---


Attachments (Terms of Use)

Description Aram Agajanian 2011-02-18 21:47:58 UTC
Description of problem:
When printing a C++ program in Code::Blocks, the output is very poor.

Version-Release number of selected component (if applicable):
codeblocks-10.05-2.el6.x86_64

How reproducible:
Happens every time

Steps to Reproduce:
1.  Bring up a C program in Code::Blocks editor
2.  Print that program using the Print option in the File menu
  
Actual results:
The text on the page is misaligned.  The top two lines of the file are cut off. 

Also, some of the characters in the printout are overlapping each other.

Expected results:
The text on the page should be aligned properly and the characters shouldn't overlap each other.

Comment 1 Dan Horák 2011-02-21 13:38:40 UTC
I can confirm that using the Print function doesn't produce the expected results in both 10.05 and the latest nightly build (packaged at http://fedora.danny.cz/danny-el/). After reading the code it looks to me that Scintilla (the editor component) is responsible for the page layout and thus it's out of bug fixing abilities. Please report/open this issue directly to upstream at http://forums.codeblocks.org/index.php

As a workaround I recommend the Source Exporter plugin from codeblocks-contrib package available then as File/Export menu item.


Note You need to log in before you can comment on or make changes to this bug.