Better font resource handling