Ruby library to detect whether the margins are clear in a PDF