Text this: One-dimensional confinement and width-dependent bandgap formation in epitaxial graphene nanoribbons