It depends if his appeal is based on his sexiness for me or not. NPH is a fantastic actor but even before he came out I wasn't attracted to him.

For me, yes, it does matter. I am not attracted to a man when I know he is gay. And some of those actors are only getting roles because they are hot and women are attracted to him.