The API docs for TextMeasurer are pretty sparse. getAdvanceBetween(int start, int limit) "Returns the graphical width of a line beginning at start and including characters up to limit." I had read "graphical width" to mean the width of marks; i.e. excluding any spaces on the end of a line, and excluding the right-bearing of the last graphical character on the line.
My initial experiments indicate, however, that the advance returned includes the width of a trailing space, and, presumably, the right-bearing of a non-space final character. Is this true, or are my experiments amiss? Peter =========================================================================== To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff JAVA2D-INTEREST". For general help, send email to [EMAIL PROTECTED] and include in the body of the message "help".