Text this: Emittance compensation in a superconducting rf gun with a magnetic mode