[FriBidi] Is it possible to disable the shaping to presentation forms
eduardo
eduardo at brainstorm.es
Thu Nov 7 05:23:18 PST 2013
That might the answer to my opening question. But unfortunatelly I
don't know how to use the levels to reorder the runs. Is there any
documentation?
Wouldn't it be easier to let fribidi to do all the work except the
shaping, and then let harfbuzz to shape everything as it was LTR?
Then the clusters would be something like:
cluster[i] = fbd_v2l[glyph[i].cluster]
and the bidi types would be
bidiType[i] = fbCharType(cluster[i])
On Thu, 7 Nov 2013 14:34:31 +0200, Khaled Hosny wrote:
> It depennds on how you use FriBiDi, I can imagine
> fribidi_get_par_embedding_levels() to be what most people should be
> using, especially when in combination with HarfBuzz since you don't
> want
> to do in text reversion before HarfBuzz processes the text.
>
> Regards,
> Khaled
>
> On Thu, Nov 07, 2013 at 01:09:26PM +0100, eduardo wrote:
>> So how come it is deprecated but it is still the easiest one to use
>> even
>> when you don't want that kind of shaping?
>>
>> On Thu, 7 Nov 2013 14:04:33 +0200, Khaled Hosny wrote:
>> >It is still deprecated in the sense that nobody should be using
>> Unicode
>> >Arabic Presentation Forms shaping in 2013 AD.
>> >
>> >Regards,
>> >Khaled
>> >
>> >On Thu, Nov 07, 2013 at 03:09:58PM +0400, Evgeny Grin wrote:
>> >>Not everything, marked in fribidi as deprecated, are really
>> deprecated.
>> >>Log2vis is best and simple way to use fribidi with one-line
>> paragraphs.
>> >>
>> >>Best Wishes,
>> >>Evgeny
>> >>
>> >>07.11.2013, 15:05, "eduardo" <eduardo at brainstorm.es>:
>> >>> Hi Behdad,
>> >>>
>> >>> I checked log2vis and it is more complex than I expected. I
>> think it
>> >>is
>> >>> enough to comment the calls to get_joining_types, join_arabic
>> and
>> >>shape.
>> >>> But as long as this function is in a file called "deprecated.c
>> "I
>> >>wonder
>> >>> if there is a better way to use fribidi without using the big
>> log2vis
>> >>> function, something like a set of calls where I can
>> control/ommit
>> >>> different steps of the process.
>> >>>
>> >>> If I can get rid of the fribidi shaping, I think the algorithm
>> to
>> >>> connect to harfbuzz is easier. I will post it in the hb list as
>> soon
>> >>as
>> >>> you confirm I got the fribidi part right.
>> >>>
>> >>> Thanks!
>> >>>
>> >>_______________________________________________
>> >>fribidi mailing list
>> >>fribidi at lists.freedesktop.org
>> >>http://lists.freedesktop.org/mailman/listinfo/fribidi
More information about the fribidi
mailing list