Too fat for him?

I've been talking to this guy recently. I've always been a bigger girl, but my mental health took a real downturn and I pulled the pounds on. 
Anyway, I've been eating clean and working out and trying to lose the weight, and I've been talking to this guy recently and we get on so well but I'm too fat for him. He's straight up said he wouldn't date someone who's obese. 
It's so frustrating because apart from that we are PERFECT for each other and I feel like a cant win, because I'm trying but he's not seeing that I don't think. 
I'm NOT just losing weight for him, I've been working on it for a while before we even started talking, by the way. I'm doing it for me but obviously this is a big thing too. 
I just needed to vent I think haha.