WINGs: Add optional Pango text layout support
commite3dcadde3099e744921018bbf9506ac169221db6
authorKhaled Hosny <khaledhosny@eglug.org>
Sat, 11 Oct 2014 14:45:18 +0000 (11 16:45 +0200)
committerCarlos R. Mafra <crmafra@gmail.com>
Sun, 2 Nov 2014 12:04:14 +0000 (2 13:04 +0100)
treecfc5dcd7da1a317023167f75da33ccd35d0e28d0
parent1485233292acc942ceaeffaf84fd0647510b88c2
WINGs: Add optional Pango text layout support

Currently WINGs renders text using Xft directly which does not support
any advanced text layout that is needed for scripts like Arabic or Indic
scripts (or even things like automatic ligature support for Latin
script).

With Pango we also get text fallback for free, so no more square boxes
for characters not supported in the current font (unless no font on the
system supports the specified character, of course).

This patch introduces support for using Pango to render the text (though
its Xft backed), to avoid forcing the additional dependency to everyone
it is made off by default.

Signed-off-by: Carlos R. Mafra <crmafra@gmail.com>
WINGs/Makefile.am
WINGs/WINGs/WINGsP.h
WINGs/get-wings-flags.in
WINGs/wfont.c
configure.ac