WPF * fix font handling * other fixes