Below you can see the front-view size comparison of the Olympus PEN-F and Olympus E-P5. The Olympus E-P5 is 3 mm narrower and 3 mm shorter than the Olympus PEN-F but they have the same thickness of 37 mm.
The chart below depicts how two cameras compare with average dimensions of the cameras in their class.