Text this: Spectral problem in a generalized theory of electromagnetic waves