adjusted xft support