jEdit Community - Resources for users of the jEdit Text Editor
ClearType on Windows
Submitted by Anonymous on Sunday, 10 July, 2005 - 18:47
ClearType antialiasing available on Windows is a lot better than jEdit's font smoothing. I have noticed that Eclipse, which I believe to be written in Java as well, and which I run on the same JVM, uses Windows' font smoothing. It would be great if jEdit allowed for this option.
Comment viewing options
Select your preferred way to display the comments and click 'Save settings' to activate your changes.
ClearType doesn't work for me, neither
by Mr Sneeze on Sat, 01/10/2005 - 18:20
I'm trying out jEdit on Windows and also experiencing poor font smoothing, at least compared to what I'm used to. Not sure if this will come across the same on all monitors, but I thought I'd take a few screenshots comparing font smoothing in jEdit to Wordpad (i.e. how fonts look in most editors when ClearType is enabled):

Wordpad & others (ClearType): http://img3.imageshack.us/img3/3316/wordpadcleartype5rc.png
jEdit (smooth text): http://img3.imageshack.us/img3/2466/jeditsmoothing8ci.png
jEdit (fractional font smoothing): http://img3.imageshack.us/img3/718/jeditfractional3pr.png

Is it visible from the pictures, or not? Not quite sure how to describe the way fonts in jEdit look on my LCD monitor except to say that they don't look very good at all. I tried the "-Dswing.aatext=true" switch suggested above, and it just made the interface fonts look "muddy" without affecting the text area:

http://img3.imageshack.us/img3/4111/jeditswingaatext9pn.png
Re: ClearType on Windows
by Anonymous on Sun, 10/07/2005 - 22:44
I don't think jEdit supports ClearType directly, but you can enable Java font smoothing by passing the parameter -Dswing.aatext=true to the Java virtual machine (JVM) when jEdit starts up. Change your jEdit shortcut(s) to something like the following:

"C:\Program Files\Java\jre1.5.0_04\bin\javaw.exe" -Dswing.aatext=true -jar "C:\Program Files\jEdit\jedit.jar"

You may have different directories for your JVM and jEdit installation. The double quotes are needed in this example because the paths to the javaw.exe and jedit.jar executable files contain spaces. Hope this helps!
 
I can't notice any difference
by Anonymous on Mon, 11/07/2005 - 01:38
I can't notice any difference. (My JVM version is 1.4.2_07.) I wonder how Eclipse does it. Anyway, thanks for the reply.
 
It works for me. Check tha
by Anonymous on Mon, 11/07/2005 - 11:35
It works for me.

Check that the font you are using can be anti-aliased, the default monospace font cannot.

Have a looksie at the text in the filebrowser - that should look smoother. Just gotta find a nice font to use in the main window now... ho hum.
 
After upgrading to JRE 1.5.0
by Anonymous on Tue, 12/07/2005 - 21:23
After upgrading to JRE 1.5.0 it works for me, too, although just for menu fonts, not for the text area, regardless of which font I'm using. But, come on! This is just awful compared to ClearType.

I'm not sure whether Eclipse uses some native Windows code that enables it to support ClearType, but I sure would love if jEdit could display text like that.
User login
Browse archives
« November 2024  
MoTuWeThFrSaSu
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
 
Poll
Are you interested in language packs for jEdit?
Yes, and I could help maintain translations
26%
Yes, I'd like to have translations
32%
Indifferent
35%
No, that'd be bad (please comment)
7%
Total votes: 1093
Syndication
file   ver   dls
German Localization light   4.4.2.1   101634
Context Free Art (*.cfdg)   0.31   46062
BBEdit scheme   1.0   18601
JBuilder scheme   .001   18502
ColdFusion scheme   1.0   18031
R Edit Mode - extensive version   0.1   17481
Advanced HTML edit mode   1.0   16213
Matlab Edit Mode   1.0   16075
jEdit XP icons   1.0   15236
XP icons for jEdit   1.1   14300