Bug 678694

Summary: code printout is very poor
Product: [Fedora] Fedora EPEL Reporter: Aram Agajanian <agajania>
Component: codeblocksAssignee: Dan Horák <dan>
Status: CLOSED UPSTREAM QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: el6CC: dan, mzdunek
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-04-26 08:40:40 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

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.