As long as the item is ovenproof, the edding 4200 porcelain brush pens are absolutely fine for decorating on glass.
The pens are specially developed for decorating on porcelain, glazed ceramic and ovenproof glass. When the design is finished, it needs to be baked in a conventional oven at 160°C for 25 minutes and it will then be dishwasher-safe.