Ghidra: Font size is unchangeable?

Created on 7 Mar 2019  路  6Comments  路  Source: NationalSecurityAgency/ghidra

Is your feature request related to a problem? Please describe.

The font is rather small in CodeBrowser and there is no obvious means to make the font larger. I like to use size 16 font (for Liberation Mono).

Describe the solution you'd like

An obvious place to make the editor's font larger. Possibly a File > Preferences window that lets you customize the UI?

Describe alternatives you've considered

Searched the help file, tried to locate the settings.

Enhancement

Most helpful comment

It seems this only affects font in Listing window, is it able to change all the font in the whole Ghidra program, including all the windows, settings, menu bar?

The default font in Ghidra is so weird, seems aged, totally different from the font in my system.

Platform: Manjaro+KDE

ghidra

All 6 comments

It's located in Edit > Tools Options > Listing Display

https://i.imgur.com/uEyI6Zb.png

Thanks! My other recommendation would be to make this easily found by searching for "font" or "font size" in the help document.

It seems this only affects font in Listing window, is it able to change all the font in the whole Ghidra program, including all the windows, settings, menu bar?

The default font in Ghidra is so weird, seems aged, totally different from the font in my system.

Platform: Manjaro+KDE

ghidra

This worked for me on Manjaro + KDE:

Edit /opt/ghidra/support/launch.properties and change the line:
VMARGS_LINUX=-Dsun.java2d.uiScale=1
to
VMARGS_LINUX=-Dsun.java2d.uiScale=2

This worked for me on Manjaro + KDE:

Edit /opt/ghidra/support/launch.properties and change the line:
VMARGS_LINUX=-Dsun.java2d.uiScale=1
to
VMARGS_LINUX=-Dsun.java2d.uiScale=2

That works, but you can't set it to eg 1.5, so for me the choices are too small or too big.

That works, but you can't set it to eg 1.5, so for me the choices are too small or too big.

Another option, albeit crude, is to use the global font override in the properties file:
VMARGS=-Dfont.size.override=

You can make this whatever you wish, but it affects all widgets and often does not look attractive.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

lab313ru picture lab313ru  路  16Comments

dw picture dw  路  20Comments

0x6d696368 picture 0x6d696368  路  19Comments

astrelsky picture astrelsky  路  21Comments

ghost picture ghost  路  29Comments