[cp-patches] FYI: TextLayout patch & Bidi fix

Sven de Marothy sven at physto.se
Fri Jun 9 20:41:03 UTC 2006


Hey all, this is my initial implementation of TextLayout, deprecating
the whole old TextLayoutPeer stuff.

Work's still needed (no hit testing yet), but it's mostly there.
/Sven

2006-06-08  Sven de Marothy  <sven at physto.se>

	* java/text/Bidi.java: Treat WS as neutral for rules N1 & N2.
	* gnu/java/awt/peer/gtk/FreetypeGlyphVector.java
	New constructor for bidirectionality.
	(getGlyphMetrics): Return whitespace glyphs.
	(getLogicalBounds): Offset rectangles to correct positions.
	* gnu/java/awt/peer/gtk/GdkFontPeer.java
	(getBaselineFor): Default to ROMAN_BASELINE.
	(GdkFontLineMetrics): Guess some values for underline and 
	strikethrough.
	(layoutGlyphVector): Use bidirectionality.
	* java/awt/font/TextLayout.java: Implement, mostly.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: textlayout.patch
Type: text/x-patch
Size: 27547 bytes
Desc: not available
Url : http://developer.classpath.org/pipermail/classpath-patches/attachments/20060609/0b4c3dc3/textlayout-0001.bin


More information about the Classpath-patches mailing list