At the Hunterian Art Gallery, Glasgow, the artist activates the archives of Scotland’s most influential carpet designers, James Templeton & Co Ltd and Stoddard International plc