[JAVA2D] Printable and Graphics2D

2006-01-22 Thread Peter B. West
This is a follow-up on my questions about GraphicsEnvironment, GraphicsDevice and GraphicsConfiguration. Reading the Printing with Printables section of the Programmer's Guide to the Java 2D API, 1.4 edition, April 24 2001, I find that a Graphics object is passed to the print method of

[JAVA2D] layoutGlyphVector

2006-01-22 Thread Peter B. West
The API docs for java.awt.Font.layoutGlyphVector(...) have a slight bug. The underlying text reads: -quote- DDReturns a new codeGlyphVector/code object, performing full layout of the text if possible. Full layout is required for complex text, such as Arabic or Hindi. Support for different

Re: [JAVA2D] layoutGlyphVector

2006-01-22 Thread Phil Race
1. Yes that's a bad javadoc closing tag placement. 2. What it is trying to say is that if you have text that needs Bidi, then use the java.text.Bidi analysis to break it into runs, each of which can then be used with layoutGlyphVector. This does mean you'd have multiple GVs you'd have to draw