Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » Change font size in Java (source code) editor ?
Change font size in Java (source code) editor ? [message #190590] Mon, 29 January 2007 18:31 Go to next message
Charlie Kelly is currently offline Charlie KellyFriend
Messages: 276
Registered: July 2009
Senior Member
Can the size of the font used in the Java source code editor be changed?
If yes, how?

Thanks

Charlie
Re: Change font size in Java (source code) editor ? [message #190616 is a reply to message #190590] Mon, 29 January 2007 18:38 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: wayne.beaton._NOSPAM_eclipse.org

Charle Kelly wrote:
> Can the size of the font used in the Java source code editor be changed?
> If yes, how?
>
> Thanks
>
> Charlie

Window > Preferences > General > Appearance > Colors and Fonts > Java >
Java Editor Text Font

HTH,

Wayne
Re: Change font size in Java (source code) editor ? [message #190621 is a reply to message #190616] Mon, 29 January 2007 18:50 Go to previous messageGo to next message
Charlie Kelly is currently offline Charlie KellyFriend
Messages: 276
Registered: July 2009
Senior Member
Hi Wayne,

Worked perfectly.

Thanks

Charlie

Wayne Beaton wrote:

> Charle Kelly wrote:
>
>> Can the size of the font used in the Java source code editor be changed?
>> If yes, how?
>>
>> Thanks
>>
>> Charlie
>
>
> Window > Preferences > General > Appearance > Colors and Fonts > Java >
> Java Editor Text Font
>
> HTH,
>
> Wayne
Re: Change font size in Java (source code) editor ? [message #190782 is a reply to message #190621] Tue, 30 January 2007 14:31 Go to previous messageGo to next message
Lorenzo Bettini is currently offline Lorenzo BettiniFriend
Messages: 1812
Registered: July 2009
Location: Firenze, Italy
Senior Member
> Wayne Beaton wrote:
>
>> Charle Kelly wrote:
>>
>>> Can the size of the font used in the Java source code editor be changed?
>>> If yes, how?
>>>
>>> Thanks
>>>
>>> Charlie
>>
>>
>> Window > Preferences > General > Appearance > Colors and Fonts > Java
>> > Java Editor Text Font
>>

is there a way to change all the fonts? In particular I'd like them to
be smaller (e.g., in linux fonts are much bigger than in windows).

--
Lorenzo Bettini, PhD in Computer Science, DSI, Univ. di Firenze
ICQ# lbetto, 16080134 (GNU/Linux User # 158233)
HOME: http://www.lorenzobettini.it MUSIC: http://www.purplesucker.com
BLOGS: http://tronprog.blogspot.com http://longlivemusic.blogspot.com
http://www.gnu.org/software/src-highlite
http://www.gnu.org/software/gengetopt
http://www.gnu.org/software/gengen http://doublecpp.sourceforge.net


Re: Change font size in Java (source code) editor ? [message #190843 is a reply to message #190782] Tue, 30 January 2007 18:05 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: jacekp.siat.pl

Hi!
most of the fonts used in eclipse user interface are taken from OS. In
linux this means, you can change all fonts by modifying gtk
configuration. Search the internet for .gtkrc, it's quite often topic.

cheers
Jacek

Lorenzo Bettini napisał(a):
>> Wayne Beaton wrote:
>>
>>> Charle Kelly wrote:
>>>
>>>> Can the size of the font used in the Java source code editor be
>>>> changed?
>>>> If yes, how?
>>>>
>>>> Thanks
>>>>
>>>> Charlie
>>>
>>>
>>> Window > Preferences > General > Appearance > Colors and Fonts > Java
>>> > Java Editor Text Font
>>>
>
> is there a way to change all the fonts? In particular I'd like them to
> be smaller (e.g., in linux fonts are much bigger than in windows).
>
Re: Change font size in Java (source code) editor ? [message #190875 is a reply to message #190843] Tue, 30 January 2007 18:38 Go to previous messageGo to next message
Charlie Kelly is currently offline Charlie KellyFriend
Messages: 276
Registered: July 2009
Senior Member
Hi Jacek,

Thanks for your reply.

The reply that Wayne Beaton posted to my question yesterday, solved the
problem for me.

Charlie


Jacek Pospychala wrote:
> Hi!
> most of the fonts used in eclipse user interface are taken from OS. In
> linux this means, you can change all fonts by modifying gtk
> configuration. Search the internet for .gtkrc, it's quite often topic.
>
> cheers
> Jacek
>
> Lorenzo Bettini napisał(a):
>
>>> Wayne Beaton wrote:
>>>
>>>> Charle Kelly wrote:
>>>>
>>>>> Can the size of the font used in the Java source code editor be
>>>>> changed?
>>>>> If yes, how?
>>>>>
>>>>> Thanks
>>>>>
>>>>> Charlie
>>>>
>>>>
>>>>
>>>> Window > Preferences > General > Appearance > Colors and Fonts >
>>>> Java > Java Editor Text Font
>>>>
>>
>> is there a way to change all the fonts? In particular I'd like them
>> to be smaller (e.g., in linux fonts are much bigger than in windows).
>>
Re: Change font size in Java (source code) editor ? [message #190968 is a reply to message #190843] Wed, 31 January 2007 13:14 Go to previous messageGo to next message
Lorenzo Bettini is currently offline Lorenzo BettiniFriend
Messages: 1812
Registered: July 2009
Location: Firenze, Italy
Senior Member
Jacek Pospychala wrote:
> Hi!
> most of the fonts used in eclipse user interface are taken from OS. In
> linux this means, you can change all fonts by modifying gtk
> configuration. Search the internet for .gtkrc, it's quite often topic.
>
> cheers
> Jacek
>
> Lorenzo Bettini napisał(a):
>>> Wayne Beaton wrote:
>>>
>>>> Charle Kelly wrote:
>>>>
>>>>> Can the size of the font used in the Java source code editor be
>>>>> changed?
>>>>> If yes, how?
>>>>>
>>>>> Thanks
>>>>>
>>>>> Charlie
>>>>
>>>>
>>>> Window > Preferences > General > Appearance > Colors and Fonts >
>>>> Java > Java Editor Text Font
>>>>
>>
>> is there a way to change all the fonts? In particular I'd like them
>> to be smaller (e.g., in linux fonts are much bigger than in windows).
>>

I'm using kde and not gnome, and I don't have such a file...

so it's not possible to change the overall font size from eclipse?

--
Lorenzo Bettini, PhD in Computer Science, DSI, Univ. di Firenze
ICQ# lbetto, 16080134 (GNU/Linux User # 158233)
HOME: http://www.lorenzobettini.it MUSIC: http://www.purplesucker.com
BLOGS: http://tronprog.blogspot.com http://longlivemusic.blogspot.com
http://www.gnu.org/software/src-highlite
http://www.gnu.org/software/gengetopt
http://www.gnu.org/software/gengen http://doublecpp.sourceforge.net


Re: Change font size in Java (source code) editor ? [message #190985 is a reply to message #190968] Wed, 31 January 2007 13:29 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: jacekp.siat.pl

Lorenzo Bettini napisał(a):
> Jacek Pospychala wrote:
>> Hi!
>> most of the fonts used in eclipse user interface are taken from OS. In
>> linux this means, you can change all fonts by modifying gtk
>> configuration. Search the internet for .gtkrc, it's quite often topic.
>>
>> cheers
>> Jacek
>>
>> Lorenzo Bettini napisał(a):
>>>> Wayne Beaton wrote:
>>>>
>>>>> Charle Kelly wrote:
>>>>>
>>>>>> Can the size of the font used in the Java source code editor be
>>>>>> changed?
>>>>>> If yes, how?
>>>>>>
>>>>>> Thanks
>>>>>>
>>>>>> Charlie
>>>>>
>>>>>
>>>>> Window > Preferences > General > Appearance > Colors and Fonts >
>>>>> Java > Java Editor Text Font
>>>>>
>>>
>>> is there a way to change all the fonts? In particular I'd like them
>>> to be smaller (e.g., in linux fonts are much bigger than in windows).
>>>
>
> I'm using kde and not gnome, and I don't have such a file...
>
> so it's not possible to change the overall font size from eclipse?
>

Eclipse is compiled with gtk, so it requires gtk libs to run. That
doesn't mean you should switch to gnome :)
Essentially work that you have to do is to find, where the .gtkrc file
should be located and what should be inside.
Have a look at here, for similar problem, but with buttons:
http://ubuntuforums.org/archive/index.php/t-16083.html
And here an example gtkrc file:
http://dev.eclipse.org/newslists/news.eclipse.tools/msg37977 .html

let me know if you have any further questions

Jacek
Re: Change font size in Java (source code) editor ? [message #191076 is a reply to message #190968] Wed, 31 January 2007 15:25 Go to previous messageGo to next message
Charlie Kelly is currently offline Charlie KellyFriend
Messages: 276
Registered: July 2009
Senior Member
Hi Lorenzo,

What happens when you change Preferences as described below:
Window > Preferences > General > Appearance > Colors and Fonts > Java >
Java Editor Text Font

Lorenzo Bettini wrote:
> Jacek Pospychala wrote:
>
>> Hi!
>> most of the fonts used in eclipse user interface are taken from OS. In
>> linux this means, you can change all fonts by modifying gtk
>> configuration. Search the internet for .gtkrc, it's quite often topic.
>>
>> cheers
>> Jacek
>>
>> Lorenzo Bettini napisał(a):
>>
>>>> Wayne Beaton wrote:
>>>>
>>>>> Charle Kelly wrote:
>>>>>
>>>>>> Can the size of the font used in the Java source code editor be
>>>>>> changed?
>>>>>> If yes, how?
>>>>>>
>>>>>> Thanks
>>>>>>
>>>>>> Charlie
>>>>>
>>>>>
>>>>>
>>>>> Window > Preferences > General > Appearance > Colors and Fonts >
>>>>> Java > Java Editor Text Font
>>>>>
>>>
>>> is there a way to change all the fonts? In particular I'd like them
>>> to be smaller (e.g., in linux fonts are much bigger than in windows).
>>>
>
> I'm using kde and not gnome, and I don't have such a file...
>
> so it's not possible to change the overall font size from eclipse?
>
Re: Change font size in Java (source code) editor ? [message #191294 is a reply to message #191076] Thu, 01 February 2007 11:14 Go to previous message
Lorenzo Bettini is currently offline Lorenzo BettiniFriend
Messages: 1812
Registered: July 2009
Location: Firenze, Italy
Senior Member
Charle Kelly wrote:
> Hi Lorenzo,
>
> What happens when you change Preferences as described below:
> Window > Preferences > General > Appearance > Colors and Fonts > Java >
> Java Editor Text Font
>

it only changes the size of the font of the text editor...

--
Lorenzo Bettini, PhD in Computer Science, DSI, Univ. di Firenze
ICQ# lbetto, 16080134 (GNU/Linux User # 158233)
HOME: http://www.lorenzobettini.it MUSIC: http://www.purplesucker.com
BLOGS: http://tronprog.blogspot.com http://longlivemusic.blogspot.com
http://www.gnu.org/software/src-highlite
http://www.gnu.org/software/gengetopt
http://www.gnu.org/software/gengen http://doublecpp.sourceforge.net


Previous Topic:Update manager keeps prompting even though update installed
Next Topic:TPTP automated GUI testing for SWING applications
Goto Forum:
  


Current Time: Fri Apr 26 22:20:32 GMT 2024

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

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

Back to the top