Not all fonts have such marks. When present, you’ll find them on the side of the sorts. According to Georg Kandler, they came up around the middle of the 19th century with manually operated casting machines, and fell out of fashion when those were replaced by faster automatic machines. Some foundries kept using the marks well into the 1940s.