Text this: Tailoring optical fields emitted by nanometric sources