Hi, Hussein Shafie a ?crit :
> Java seems to incorrectly measure the width (and to a lesser extent, the > height) of arabic text. Java returns much too large dimensions, as if it > simply added the width of each *unjoined* arabic glyph. Yes, roughly what I've explained. > (We use java.awt.FontMetrics.charsWidth().) Can't : http://java.sun.com/j2se/1.3/docs/api/java/awt/Font.html#getStringBounds(char[],%20int,%20int,%20java.awt.font.FontRenderContext) or maybe : http://java.sun.com/j2se/1.3/docs/api/java/awt/font/GlyphVector.html#getGlyphOutline(int) ... help you on this particular point ? Considering individual characters out of their context is a dead end for arabic an some other scripts. A difficult-looking issue though... Cheers, -- Pierrick Brihaye, informaticien Service r?gional de l'Inventaire DRAC Bretagne mailto:pierrick.brihaye at culture.gouv.fr +33 (0)2 99 29 67 78

