Re: Obsolete fribidi_log2vis
Behdad Esfahbod <[email protected]> Mon, 22 Jun 2009 15:34:41 -0400
| Newsgroups | gmane.comp.internationalization.fribidi |
|---|---|
| Message-ID | <[email protected]> |
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--- > _______________________________________________ fribidi mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/fribidi