[EMAIL PROTECTED] wrote:
Please be more explicit I don't get what you mean here. We should maybe
switch to French... ;-)
You replaced one simple call to get metrics by another one which looks more
complicated. There should bee only one Method (as thre used to be), and
it should do the caching always...
En direct tu peux me parler en Francais si tu veux :-)
Back to English, yes I understand what you mean but the former metrics
was the one of the Qt API not my doing. The more complicated path can be
reduced to:
textwidth = theFontMetrics(f).width(s, ls);
instead of :
textwidth = guiApp->guiFontLoader().metrics(f).width(s, ls);
But I want to specialise the Qt fontloader to deal with QString
directly, thus avoiding the back and forth conversion to ucs4 which
shows in Bennett's profile.
Abdel.