[fpc-devel] Unicodestring branch, please test and help fixing

Marco van de Voort marcov at stack.nl
Thu Sep 11 22:37:20 CEST 2008


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.



More information about the fpc-devel mailing list