Text this: Band gap engineering of graphene through quantum confinement and edge distortions