Community Packages

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#38377 - [jedit] AA Font Rendering on KDE

Attached to Project: Community Packages
Opened by Jesco Freund (daemotron) - Saturday, 04 January 2014, 09:25 GMT
Last edited by Alexander F. Rødseth (xyproto) - Monday, 06 January 2014, 11:28 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Alexander F. Rødseth (xyproto)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

When started in a KDE environment, all text labels (buttons, menus, dialogs, ...) display a non-antialiased font. This cannot be fixed by any of jedit's own options, but by using one of the JVMs options (cf. proposed fix below).


Additional info:
* Package version: jedit-5.1.0-2
* Java JRE: jre7-openjdk 7.u45_2.4.3-1
* Desktop Environment: KDE 4.11, 4.12


Steps to reproduce:
Launch jedit by either /usr/bin/jedit or /usr/bin/jeditbg or /usr/share/applications/jedit.desktop


Proposed Fix:
--- jedit.orig 2014-01-04 10:15:55.915136467 +0100
+++ jedit 2014-01-04 10:15:39.729010743 +0100
@@ -13,4 +13,4 @@
# Set jvm heap initial and maximum sizes (in megabytes).
JAVA_HEAP_MAX_SIZE=192

-exec java -Xmx${JAVA_HEAP_MAX_SIZE}M -jar "/usr/share/java/jedit/jedit.jar" "$@"
+exec java -Xmx${JAVA_HEAP_MAX_SIZE}M -Dawt.useSystemAAFontSettings=lcd -jar "/usr/share/java/jedit/jedit.jar" "$@"


Note:
* Not sure whether the /usr/bin/jedit script is provided by upstream or by the Arch package itself. If it is provided by upstream, maybe passing this bug to upstream would be the suitable way forward
* The proposed solution does not seem to have a negative impact on any DE other than KDE (tested on Gnome 3 and Cinnamon)
* The proposed solution also makes it obsolete to alter the view.antiAlias option in Jedit's property file
This task depends upon

Closed by  Alexander F. Rødseth (xyproto)
Monday, 06 January 2014, 11:28 GMT
Reason for closing:  Fixed
Comment by Alexander F. Rødseth (xyproto) - Monday, 06 January 2014, 11:28 GMT
Thanks for reporting. The updated version will appear in [community] shortly.

Loading...