Bug 63420 - On Windows 10 Surface Pro, the JSyntaxTextArea has really very small fonts
Summary: On Windows 10 Surface Pro, the JSyntaxTextArea has really very small fonts
Status: NEW
Alias: None
Product: JMeter
Classification: Unclassified
Component: Main (show other bugs)
Version: 5.1.1
Hardware: All All
: P2 normal (vote)
Target Milestone: JMETER_5.1.1
Assignee: JMeter issues mailing list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-05-10 01:51 UTC by Philippe Mouawad
Modified: 2019-05-13 13:22 UTC (History)
1 user (show)



Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Philippe Mouawad 2019-05-10 01:51:40 UTC
Workaround:
Add in user.properties for example:

jsyntaxtextarea.font.family=Dialog
jsyntaxtextarea.font.size=23


Ideally, those should be computed automatically when hidpi properties are enabled
Comment 1 Felix Schumacher 2019-05-10 10:19:43 UTC
When I last looked at those settings, there was a problem, that those settings seem to be coded in the library and not exposed as normal font settings.

Another problem is, that you have to specify the font family (at least for windows) unless you want to have weird looking fonts. And of course the names for the fonts differ from platform to platfrom.
Comment 2 Philippe Mouawad 2019-05-13 13:22:19 UTC
Hi Felix,
Thanks for your help.

To give more details, issue was happening on Surface Tablets and was due to JDK 8 version.


Workarounds:

- https://stackoverflow.com/questions/23651486/netbeans-ide-scaling-on-windows-8-10
- https://netbeans.org/bugzilla/show_bug.cgi?id=252452
- https://issues.apache.org/jira/browse/NETBEANS-1227