Add compile time switch for HarfBuzz support
commitdcebd5fe2a3bc278ab99bd76b66daa0915c98469
authorGrigori Goronzy <greg@blackbox>
Sun, 7 Aug 2011 23:09:24 +0000 (8 01:09 +0200)
committerGrigori Goronzy <greg@blackbox>
Sun, 7 Aug 2011 23:16:37 +0000 (8 01:16 +0200)
treed957bcd037886c0cd4c23b0c7fed5bdede77a057
parent0d391f67d3d1c87cd8e8cff907bd7c6b3b1f9cd8
Add compile time switch for HarfBuzz support

Now that it's possible to switch shapers at runtime, it also becomes a
lot easier to disable them at compile time. Add ifdefs and build system
changes so that HarfBuzz can be safely disabled. It's autodetected now
and enabled if available.

This shuffles a bit of code around, but there are no functional changes.

Note that FriBidi remains mandatory for the time being, but this
shouldn't pose any problems, since it is a small and very portable
library without any special dependencies.
configure.ac
libass/ass_render.c
libass/ass_render_api.c
libass/ass_shaper.c