Re: measureString() oddity

From: Roland Kay <roland.kay_at_ox.compsoc.net>
Date: Fri Aug 19 2005 - 16:50:24 CEST

> This is not that hard to work around. All you have to do is to obtain
> the advances by calling measureString() first, and then to feed those
> advances into drawChars(). This will result in the characters being
> spaced according to the layout metrics.
                                                                                
True. In fact, that's effectively what I'm doing at the moment by
calling drawChars() for each character. However, that does mean that the
advances won't be quite right, but probably no one will notice.
                                                                                
Thanks for the advice!
                                                                                
R.
Received on Fri Aug 19 17:20:30 2005

This archive was generated by hypermail 2.1.8 : Fri Aug 19 2005 - 17:20:30 CEST