Text this: An engineered design of a diffractive mask for high precision astrometry