Transformers through the lens of support-preserving maps between measures