implented windows text rendering