finalizers much more complicated. Convert fontset to a list of
patterns instead.
- Don't add a finalizer to pattern returned xft-font-match. This
seems to be the reason for the segfaults. However, I have to admit
don't fully understand why this is so.
Remaining problem:
- XftFontsetDestroy() calls free() for each XftPattern stored in the
Fontset. XftPatterns created by MAKE-XFT-PATTERN get their own
finalizer, thus if added to the fontset, there might be two calls
to free() for that object. That needs fixing.
+ finite types for some Xft pattern objects: xft-weight, xft-slant,
xft-spacing, xft-rgba
+ functions for translating Xft constants to finite types
+ make XftPatternGet/Add() use the finite types
+ fixed a serious bug in scx_XftPatternAdd
+ provide more functions for xft-fontsets
+ accept scx's screen-type instead of the raw screen-number
+ added debugging functions XftPatternPrint(), XftFontSetPrint()
+ added XftDefaultHasRender()