See this PR for an example. The actual font colour is white (invisible).
The tag is required by DVLA to identify the first page of each letter when they're combined in a single print run. From the DVLA letter spec and email conversations:
- Suggested top-left corner position: (1.8, 1.8)
- Bounding box: top-left=(0, 0), bottom-right=(15.191, 6.149)
- Font: Arial, 6pt, black (but they're OK with white)
All coordinates are expressed as (mm from left, mm from top).
DVLA currently treat our PDFs as a special case: the bounding box where they look for the tag is much bigger than their spec implies. Ideally, we should keep the tag outside the yellow "customer" areas of the spec, but historically we've not done this - it's unclear why. In practice, for our PDFs it's OK if the tag is in the periphery of the "customer" area, as our actual letter spec is intentionally more strict.
We inject the tag automatically.
Originally, we asked services to do this for us and at least one of them still does, so we should avoid injecting the tag twice - it's unclear what the consequences of overlapping / duplicate text would be.
The tag is injected into the HTML template using a margin box. The position of the tag is determined by the CSS page margins and can therefore differ from precompiled letters.