Skip to main content



      Home
Home » Language IDEs » Java Development Tools (JDT) » Huge font size when printing on Linux(Need advice how to change Eclipse's modules...)
Huge font size when printing on Linux [message #511792] Tue, 02 February 2010 16:56 Go to next message
Eclipse UserFriend
Hi mates,

when printing sources from Eclipse on Linux, the font size is huge (20pt or so) whereas the editor font is 10pt. The hardcopies cannot be used this way. It's wasting a lot of paper unless you switch the editor's font to a _really_ tiny size.

It is with a Ganymede 32bit installation on Suse 11.1 as well as with the newest Galileo 64bit on Ubuntu, both with C++ and Java code. Thus, I don't think that this has an influence on the bug. BTW: on Windows, it works fine.
It's the same when I print on paper with a post script printer and when I create a PDF with the virtual printer. The letters are just _huge_.

This subject has been around in the forums a couple of times, but so far nobody could really help. Some suggest to use an external program like OO for printing, but that's not quite the idea of an _Integrated_ Development Environment, is it?


Nevertheless, I don't want to complain but I rather think it shouldn't be a big deal to fix this problem. I guess that the editor's font size should just be divided by some factor in the printer module. That'd help heaps...

I'm very interested to help here if I can, if only somebody could give me a hint how to start: for instance, where to get the sources I would need, how change the responsible module? I work a lot _with_ Eclipse (mostly C++) but have not yet modified Eclipse itself.

Can anybody recommend a good book or tutorial that gives some really deep insight into Eclipse's guts?

Regards Ingmar
Re: Huge font size when printing on Linux [message #511906 is a reply to message #511792] Wed, 03 February 2010 01:38 Go to previous messageGo to next message
Eclipse UserFriend
Hi Ingmar,

Comments below.
Ingmar a écrit :
> Hi mates,
>
> when printing sources from Eclipse on Linux, the font size is huge (20pt
> or so) whereas the editor font is 10pt. The hardcopies cannot be used
> this way. It's wasting a lot of paper unless you switch the editor's
> font to a _really_ tiny size.
>
> It is with a Ganymede 32bit installation on Suse 11.1 as well as with
> the newest Galileo 64bit on Ubuntu, both with C++ and Java code. Thus, I
> don't think that this has an influence on the bug. BTW: on Windows, it
> works fine.
> It's the same when I print on paper with a post script printer and when
> I create a PDF with the virtual printer. The letters are just _huge_.
>
> This subject has been around in the forums a couple of times, but so far
> nobody could really help. Some suggest to use an external program like
> OO for printing, but that's not quite the idea of an _Integrated_
> Development Environment, is it?
>
>
> Nevertheless, I don't want to complain but I rather think it shouldn't
> be a big deal to fix this problem. I guess that the editor's font size
> should just be divided by some factor in the printer module. That'd help
> heaps...
>
> I'm very interested to help here if I can, if only somebody could give
> me a hint how to start: for instance, where to get the sources I would
> need, how change the responsible module? I work a lot _with_ Eclipse
> (mostly C++) but have not yet modified Eclipse itself.
>
> Can anybody recommend a good book or tutorial that gives some really
> deep insight into Eclipse's guts?
>
> Regards Ingmar

Please have a look to this bug, it may be related :

https://bugs.eclipse.org/bugs/show_bug.cgi?id=150870

Regards,

Mariot
icon7.gif  Re: Huge font size when printing on Linux [message #512067 is a reply to message #511906] Wed, 03 February 2010 14:11 Go to previous message
Eclipse UserFriend
Hi Mariot,

yes, it's surely the same bug, as well as the duplicate #260661 which is mentioned there. The symptoms and attachments described in the latter are exactly what I've observed.

Please keep me informed if your patch happens to work and a bugfix for a running Eclipse installation would be available. Since I'm not an Eclipse developer, I'd be glad to just change some of the java files... If possible...

Merci beaucoup.

Regards, Ingmar
Previous Topic:Eclipse crash/busy-loops on Javadoc generation
Next Topic:How to convert all existing tabs to blanks?
Goto Forum:
  


Current Time: Wed Mar 19 13:23:41 EDT 2025

Powered by FUDForum. Page generated in 0.04771 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top