Below you can see the front-view size comparison of the Canon G3 X and Olympus PEN-F. The Olympus PEN-F is 5 mm shorter and 68 mm thinner than the Canon G3 X but it is also 2 mm wider.
The chart below depicts how two cameras compare with average dimensions of the cameras in their class.