This job can be a hassle especially if you have painted trim.
Gap on latch side of door.
A properly installed door features a 1 8 inch gap along the latch side to allow the door to swing and function correctly.
The installer should have adjusted the frame with shims to leave about a 1 8 in.
Other than replacing the entire door frame and door it will be difficult to make a satisfactory repair.
You could remove the door trim on the catch side and see if you can figure a way to move the jamb over closer to the door.
If the gap on your door exceeds this.
If you have gaps around an outside door you could be losing up to 15 percent of the money you spend heating your home by allowing heated air to blow outside.
Gap along the latch side about the thickness of two quarters coins.
I notice from your picture that the bottom hinge side of the door looks like it has no clearance.
This may be due to the fact that the hinges were inset too far into the door and or frame.
Since the gap on the catch side is uniform from top to bottom it would appear that your door opening is an odd size.
Sometimes the gap is far too wide.
As the hinge leaves bind on the nail set they will spread slightly which will push the door over and close the gap on the latch side.
How to fix a gap in an outside door.
If this is the case it is a good bet that this is part of the reason for the excessive gap on the door latch side.