[FriBidi] Obsolete fribidi_log2vis
Behdad Esfahbod
behdad at behdad.org
Mon Jun 22 12:34:41 PDT 2009
You are not allocating enough for outstr which is UTF8. Try allocating 4
bytes per character. That is, (size * 4). Also, "sizeof(us)" doesn't return
what you meant.
behdad
On 06/22/2009 02:36 PM, أحمد المحمودي wrote:
> On Mon, Jun 22, 2009 at 02:10:35PM -0400, Behdad Esfahbod wrote:
>> Attachment?
>>
>> On 06/22/2009 02:08 PM, أحمد المحمودي wrote:
>>> On Mon, Jun 22, 2009 at 01:32:00PM -0400, Behdad Esfahbod wrote:
>>>> I may remove the obsolete notice in the future. If your paragraph
>>>> is one line of text, you can continue using that function,
>>> ---end quoted text---
>>>
>>> Thanks for the info.
>>>
>>> I have made a small program to test if I understand fribidi right, it is
>>> attached with this email.
>>>
>>> This program works fine as long as: base = FRIBIDI_PAR_LTR;
>>>
>>> Yet if I set: base = FRIBIDI_PAR_RTL;
>>>
>>> I don't get anything printed in the printf statement.
>>>
> ---end quoted text---
>
More information about the fribidi
mailing list