Pages: [1]   Go Down
Author Topic: How to change Arduino IDE menu font size?  (Read 4612 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Newbie
*
Karma: 0
Posts: 24
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hi all, how can I change the Arduino IDE menu font size? Reason: I have installed a lot of cores and my screen is not large enough to show them all. The respective menu does not scroll down, so I'd like to choose a smaller font for the menus. I did find settings to change just about every other font but not the menu font. I am using Ubuntu.
Logged

Global Moderator
Netherlands
Online Online
Shannon Member
*****
Karma: 211
Posts: 13479
In theory there is no difference between theory and practice, however in practice there are many...
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

did you look into   File menu -> preferences  -> preferences.txt

editor.font=Monospaced,plain,12

Be aware you must change this file without any IDE running, as the IDE saves the settings upon close

and backup the file before changing !

add/check also these ...
build.verbose=true
upload.verbose=true
Logged

Rob Tillaart

Nederlandse sectie - http://arduino.cc/forum/index.php/board,77.0.html -
(Please do not PM for private consultancy)

Offline Offline
Newbie
*
Karma: 0
Posts: 24
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Thanks, but editor.font does not affect the menus... the menus are "somehow" coupled to the system font. While this may work on many OSes, the result is a too large font (at least for my taste) in Ubuntu where it fails to match the real system font...
Logged

Chile
Offline Offline
Edison Member
*
Karma: 35
Posts: 1251
Arduino rocks?
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Thanks, but editor.font does not affect the menus... the menus are "somehow" coupled to the system font. While this may work on many OSes, the result is a too large font (at least for my taste) in Ubuntu where it fails to match the real system font...

Come to Windows, we have cookies and scrollable menus smiley-twist
Logged

My website: http://ried.cl

Offline Offline
Newbie
*
Karma: 0
Posts: 2
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I'd like to know this too. For some reason, my Arduino IDE (1.0.3, downloaded from the website just now) starts up with menu and UI (e.g. preferences window fonts) so small that I can't read them -- see attached.

I'm running kubuntu quantal, with OpenJDK Runtime Environment (IcedTea7 2.3.3) (7u9-2.3.3-0ubuntu1~12.10.1).

Edit: I've also tried IcedTea6 and Oracle Java 7. Same thing.


* arduino-tiny-font.png (21.67 KB, 580x680 - viewed 139 times.)
« Last Edit: January 14, 2013, 03:51:48 am by naught101 » Logged

Offline Offline
Newbie
*
Karma: 0
Posts: 2
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Nevermind. Fixed after reboot.

Logged

Chile
Offline Offline
Edison Member
*
Karma: 35
Posts: 1251
Arduino rocks?
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

haHAHAHA! at least was a funny glitch
Logged

My website: http://ried.cl

Offline Offline
Newbie
*
Karma: 0
Posts: 24
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

On Linux, I was able to solve this by creating a file called "fontsettings" with the following content:

Code:
style "small" {
        font_name = "Sans Condensed 8"
}
class "GtkWidget" style "small"

Now I have to

Code:
export GTK2_RC_FILES=$GTK2_RC_FILES:./fontsettings

and then launch Arduino. Of course you can integrate the export statement into the Arduino launch script.
Logged

Offline Offline
Newbie
*
Karma: 0
Posts: 1
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I'm running a Debian-based Linux and had the same problem with impossibly small menu text when using the Arduino IDE version 1.0.5

The solution for me was to edit the arduino script (/usr/bin/arduino on my system) to get rid of the GTKLookAndFeel.

From this:

Code:
java -Dswing.defaultlaf=com.sun.java.swing.plaf.gtk.GTKLookAndFeel processing.app.Base "$@"

To this:

Code:
#java -Dswing.defaultlaf=com.sun.java.swing.plaf.gtk.GTKLookAndFeel processing.app.Base "$@"
java processing.app.Base "$@"
Logged

Pages: [1]   Go Up
Jump to: