In a Queen vs Pawn endgame where the pawn is a Rook pawn on the 7th rank, it is a draw unless the King is inside the winning box, as shown here:
My question is what is that winning box if the pawn is a Bishop pawn? Though I do know that the Queen needs to be on h2 or d2 against an f pawn, and on a2 or e2 against a c pawn. (Comparing to the whole 2nd rank if it was a Rook pawn).