Text this: Linewidth optimization in fiber grating Fabry–Perot laser