Pathfinder is gamist (because it cares a lot about challenge) and narrativist (because it cares a lot about telling a story). It does not do this the same way as, say, Apocalypse World, but the mountain of APs tell you that the game prioritizes story. I love the OSR, but its priorities focus on challenging players in a way consistent with old school sensibilities. Either game has some mechanics that can model a fantasy world, and the way OSR games do this is of course preferred personally, but doing so is not their mechanical priority. Games where that is the priority are vanishingly rare.