implemented ptext -fontslant and -fontweight on Windows