Game Development Community

XftNameUnparse not found.

by Fyodor -bank- Osokin · in Torque Game Engine · 01/09/2007 (9:34 pm) · 0 replies

In the latest X.org builds, there is no XftNameUnparse function in libxft.
Many times (on ML's) is was said like "don't use it, it's going to be removed".

For now, I have openSUSE 10.2 and can't even compile the binary, as engine/playformX86UNIX/x86UNIXFont.cc uses this function.
In libXft 2.1.9 the XftNameUnparse is removed.
lists.freedesktop.org/archives/xorg/2006-June/015864.html
lists.freedesktop.org/archives/xorg/2006-June/015863.html

and this:
lists.freedesktop.org/archives/xorg/2006-December/020325.html
lists.freedesktop.org/archives/xorg/2006-December/020326.html

I think will be good to make some kind of workaround with this.
P.S. I'm not good in c++/linux to help in this case :(

Orig code here