Hello everybody!

Does anybody know how to implement wordwrap with use of XDrawImageString?
The problem is that I don't know how many characters can be drawn in 
a region. Have I to calculate character for character the width of the drawn
text?

Thank you in advance.

                                ,,,
                               (o o)
 --------------------------oOO--(_)--OOo--------------------------------
Joerg Mainzer                  Internet: mainzer@darmstadt.gmd.de
German Nat. Research Center    X.400net: mainzer@ipsi.darmstadt.gmd.dbp.de
for Information Technology     Voice   : ++49-6151-869923
Dolivostrasse 15	       Fax     : ++49-6151-869818
W-6100 Darmstadt, Germany
-----------------------------------------------------------------------

Symptom  : Bar moving.
Fault    : You are being carried out.
Solution : Find out if you are being taken to another bar - if not complain
           loudly that you are being hi-jacked.