From: Carlos Q. <car...@rt...> - 2001-10-23 13:06:21
|
>=20 > > > > > 4. The drawing code for the plugin tab buttons has some=20 > problems. Some > > > labels are cut off, the vertical labels are misaligned so=20 > that only the > > > lower half of them appears, and the rendering leaves the text > > with a blurred > > > appearance compared to menu lables and other GUI elements. > > > > Patch please. Different text rotation code is used on JDK=20 > 1.1 and 1.2 > > (ImageFilter on 1.1, more efficent Java2D on 1.2). I cannot=20 > be bothered > > waiting 1 1/2 minutes for JDK 1.3 to start, then make changes to the > > code, recompile with the 1.3 javac which also takes ages,=20 > restart jEdit, > > make more changes, etc. >=20 > Well, yes, patches are possible. But two points first.=20 > First, some of the > horizontal buttons are not wide enough, so that the caption=20 > for the "cool > plugin thing that fits inside other cool things" is=20 > truncated. This is not > the result of text rotation code. Second, on my installation,=20 > the drawing > really looks sloppy compared to menu labels and other GUI=20 > elements, even > ignoring text alignment and button size. It's just too=20 > blurry. If this is > the best Java2D can do, I really think you should consider=20 > going back to the > old presentation, perhaps after others have had a chance to=20 > look at the new > approach. Either way, the button for minimizing and=20 > restoring a docking > pane will be quite useful. I think the buttons are quite ok and better than tabs. The problems with the drawing apparently come from jdk 1.3 font handling, since the actual code works fine in JDK 1.4. It would be nice if somebody who knows Java2D well could help to solve this since font measurments are quite different between JDK versions. The text is a bit blurry becasue antialiaising is being set to improve the drawing of the rotated text, maybe this could be removed at least from the horizontal buttons even tough for me is ok I'm using JDK 1.4b2 in Linux |