[FriBidi] Attributed unicode
Behnam Esfahbod
behnam at zwnj.org
Mon Feb 5 23:21:31 UTC 2018
Robin,
Why don't you track the position of your target (the CAPITAL LETTER I here)
via the log2vis mapping that most bidi implementations, including FriBidi,
provide?
-Behnam
On Mon, Feb 5, 2018 at 3:13 AM, Robin Becker <robin at reportlab.com> wrote:
> Not sure if this is the right place to ask, but I would like to know if
> there's a way to attach attributes (eg colour) to the unicodes that enter
> the fribidi api. In the reportlab case we allow rather arbitrary changes to
> the unicode strings that represent text eg
>
> paragraph('<span color="red" fontSize="14">I</span>n the beginning.......
>
> where the initial capital I is larger and a different colour.
>
> If this happened in a word that I want to pass to fribidi is there a way
> to see where the attributes change in the return from fribidi? I imagine
> this must be an issue in html rendering as well.
>
> I looked at various unicode mechanisms (eg variation sequences), but none
> seem appropriate to changes of font, size, weight, style or colour.
> --
> Robin Becker
> _______________________________________________
> fribidi mailing list
> fribidi at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/fribidi
>
--
Behnam Esfahbod | بهنام اسفهبد | Q4880939 Q2064908
http://behnam.es/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/fribidi/attachments/20180205/5de429ef/attachment.html>
More information about the fribidi
mailing list