This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 241199 - Font size does not adjust for HiDPI displays
Summary: Font size does not adjust for HiDPI displays
Status: NEW
Alias: None
Product: editor
Classification: Unclassified
Component: Painting & Printing (show other bugs)
Version: 7.4
Hardware: PC Windows 8 x64
: P3 normal with 11 votes (vote)
Assignee: Miloslav Metelka
Depends on:
Reported: 2014-01-30 22:27 UTC by PrplHaz4
Modified: 2015-12-26 22:51 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:

Notepad++ vs Netbeans text sizes (109.12 KB, image/png)
2014-01-30 22:27 UTC, PrplHaz4

Note You need to log in before you can comment on or make changes to this bug.
Description PrplHaz4 2014-01-30 22:27:18 UTC
Created attachment 144611 [details]
Notepad++ vs Netbeans text sizes

When running netbeans on a HiDPI display (retina...etc), it does not scale font sizes appropriately and most UI elements are very small.

Dell XPS 15
Native Resolution: 3200x1800
Windows 8.1 x64, JDK 7u60

DPI Scaling set to 150%

In the attachment, I have NPP and Netbeans side by side and at the default settings, Netbeans text is almost half the size (and completely unreadable).
Comment 1 arekm 2014-06-06 12:56:14 UTC
The same problem exists on Linux, also on XPS 15 (236 DPI, 3200x1800).
Comment 2 pns 2014-06-23 18:01:17 UTC
Netbeans 8.0 still suffers from this (in HiDPI displays the text inside tabs is very very small).

Is it possible to either automatically scale according to system settings or have a setting to scales the tabs text?
Comment 3 allenatdecisiv 2014-11-27 03:45:34 UTC
Still happening with Netbeans 8.0.1. Everything is very teeny tiny.
Dell M4800 Nvidia K2100M 3200x1800 w/235 PPI running Fedora 20
java version "1.8.0_25"
Java(TM) SE Runtime Environment (build 1.8.0_25-b17)
Java HotSpot(TM) 64-Bit Server VM (build 25.25-b02, mixed mode)
Comment 4 jonrwads 2015-01-20 21:01:22 UTC
This is almost a year old now, and was wondering if anything has been done or can be done to resolve this issue?  Netbeans is the only thing keeping me from using the beauty of HiDPI.
Comment 5 inonit 2015-05-22 15:29:14 UTC
I have had good success on KDE with the following settings:

--laf Metal --fontsize 24

I would note these are highly dependent on the look-and-feel selected. I used to use Nimbus and it was a mess under high-DPI scenarios.