Apparently the meaning doesn't come from the verb but from the italian word : "compositore" (according to wikitionary [1] and the larousse dictionary [2])
(again in [1]) "compositore" from italian is equivalent to "compositeur" in french which can mean "a person that writes music" but can also mean "a typographer or compositor".
Funnily enough the word we use for stamping tickets in Italian is vidimare which comes from vidimus (seen) in Latin, so it's actually closer to visa in etymology.
(again in [1]) "compositore" from italian is equivalent to "compositeur" in french which can mean "a person that writes music" but can also mean "a typographer or compositor".
[1] : https://fr.wiktionary.org/wiki/composteur
[2] : https://www.larousse.fr/dictionnaires/francais/composteur/17...