On Wednesday 02 July 2008 12.44:46 Mattias Gärtner wrote: > > > I don't see how this have a big impact on the performance. > > > > The code is complicated enough, don't you think? ;-) > > Ah, sorry, now I understand. > You meant, the performance penalty of the *programmer* is not negligible > comparing ASCII/UCS-2 and UTF-8/16.
:-)))) > Yes, it's true, that for layout code it is often better (readability, > maintance) to refactor the code first, before extending it for UTF. > Especially if it is optimized code. > BTW, where is the layout code that handles Right-To-Left, kerning and sub > pixel rendering? Not supported. For wisiwig layout calculations of Truetype and Postscript printer fonts a scaled up shaddow font is used for emulation of sub pixel placement. Full Unicode handling is much more than to have the ability to encode all possible Unicode points... Martin _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal