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

Florian Klaempfl florian at freepascal.org
Thu Sep 11 22:43:18 CEST 2008


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.



More information about the fpc-devel mailing list