Hide Forgot
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.
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.
http://forums.codeblocks.org/index.php/topic,14351.0.html