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
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
This should avoid re-laying out the text unnecessarily.
---
WINGs/wfont.c | 9 ++---
1 file changed, 6 insertions(+), 3 deletions(-)
diff --git a/WINGs/wfont.c b/WINGs/wfont.c
index 5416a43..32bb613 100644
--- a/WINGs/wfont.c
+++ b/WINGs/wfont.c
@@ -293,7 +293,8 @@ int WMWidthOfString(WMFont