Marco van de Voort schrieb:
In our previous episode, listmember said:
> else
> DrawCaption(0,0,AsUTF8(Caption), flags);
> end;
>
> In other words where is the benefit from OOP in this ?
IMO, both are deficient as they both assume that a string block (text)
is either RTL or LTR.
The assignment only transfers data to the object "TCaption".
Doesn't that mean we will be --by design-- unable to write something
like 'Yom Kippur (??? ??????)' on a caption?
TCaption is responsible for rendering. Including LTR and RTL. Not the
string.
Actually, UTF-8 can contain bidi info, it's indeed a matter of the renderer.
_______________________________________________
fpc-devel maillist - fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel