[HarfBuzz] Example application using FriBidi, FreeType, and HarfBuzz

Behdad Esfahbod behdad.esfahbod at gmail.com
Mon Mar 9 19:35:15 PDT 2015

Hi there,

That's very nice.  Thanks for sharing.

That said, I was under the impression that VLC could already use HarfBuzz /
FriBidi to render subtitles using libass.  Is that not the case?


On 15-03-08 12:58 PM, Salah-Eddin Shaban wrote:
> Hello,
> I would like to thank you very much for HarfBuzz.
> I'm currently trying to use it to add complex-script support to the
> text renderer of VLC Media Player, mainly for Arabic subtitle files. I
> tried first using Pango but was told there were compatibility issues
> with GLib, so HarfBuzz is the way to go.
> I had to struggle a little with the Unicode bidirectional algorithm
> and with getting to understand how Fribidi, FreeType, and HarfBuzz
> work together. Documentation is rather scarce so I had to dig through
> some source code, and to experiment with a test application.
> I still can't claim to understand everything about the algorithm or
> the process of rendering text. When I compare my code to the source
> code of Pango it seems too simple to be correct. But it's producing
> correct results, as far as I can see, for all text I test it on, and
> not just subtitle files.
> Anyway, I thought it might help someone get the general picture, if
> you think it's appropriate as another user example on the HarfBuzz
> wiki.
> Any comments or corrections are greatly appreciated.
> https://github.com/salshaaban/BidiRenderer
> _______________________________________________
> HarfBuzz mailing list
> HarfBuzz at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/harfbuzz

More information about the HarfBuzz mailing list