Re: "fribidi_remove_special_chars" function?

Evgeny Grin <[email protected]> Wed, 14 Aug 2013 00:24:36 +0400
Newsgroups gmane.comp.internationalization.fribidi
Message-ID <[email protected]>
Thanks!
I'm using it in XBMC (http://xbmc.org).
What should I do to convert logical paragraph to visual?
I'm going to implement it in the following way: 
 * convert to UTF-32
 * call fribidi_get_bidi_types
 * call fribidi_get_par_embedding_levels
 * call fribidi_get_joining_types
 * call fribidi_join_arabic
 * call fribidi_shape
 * split result into lines, for each line call fribidi_reorder_line, combine resulting lines back to paragraph
 * call fribidi_remove_bidi_marks
 * convert result to needed encoding (UTF-8 in my case)
 * use result for display
Correct?

Is it possible to detect on early stage ability to skip arabic joining and shaping?

Best wishes,
Evgeny


13.08.2013, 20:56, "Behdad Esfahbod" <[email protected]>:
> The docs are wrong.  Use the "deprecated" one.
>
> On 13-08-12 08:43 PM, Evgeny Grin wrote:
>
>>  Hello!
>>
>>  I see that "fribidi_remove_bidi_marks" function is deprecated and "fribidi_remove_special_chars" is recommended replacement.
>>  But I can't find any function with similar name.
>>  What's supposed to be used as non-deprecated function for removing special chars?
>>
>>  Best Wishes,
>>  Evgeny
>>  _______________________________________________
>>  fribidi mailing list
>>  [email protected]
>>  http://lists.freedesktop.org/mailman/listinfo/fribidi
>
> --
> behdad
> http://behdad.org/
_______________________________________________
fribidi mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/fribidi