This question has not been answered anywhere else. There is another post like this but it's not the same issue.
I have created a theme of my own, using Blank as the fallback. I have set Lato to be my default font.
I have set Lato in the CSS, on increasingly specific elements, with !important
.
I have carefully gone through EVERY file in the site using DreamWeaver's excellent (and it's only useful) file search funtion, searching for occurences of both Open Sans and Open+Sans in the site files, and have found nothing outside of the dev/test folders that would affect my site.
I have refreshed the cache, and I have manually emptied the pub/*/frontend files.
And yet still, the fonts are clearly Open Sans and not Lato.
If I inspect the CSS file using Firebug, I have discovered this rule:
@font-face {
font-family: "Lato";
font-style: normal;
font-weight: 300;
src: url("http://www.XXX.co.uk/pub/static/frontend/XXX/ohc-dac/en_GB/fonts/opensans/light/opensans-300.eot?#iefix") format("embedded-opentype"), url("http://www.XXX.co.uk/pub/static/frontend/XXX/ohc-dac/en_GB/fonts/opensans/light/opensans-300.woff2") format("woff2"), url("http://www.XXX.co.uk/pub/static/frontend/XXX/ohc-dac/en_GB/fonts/opensans/light/opensans-300.woff") format("woff"), url("http://www.XXX.co.uk/pub/static/frontend/XXX/ohc-dac/en_GB/fonts/opensans/light/opensans-300.ttf") format("truetype"), url("http://www.XXX.co.uk/pub/static/frontend/XXX/ohc-dac/en_GB/fonts/opensans/light/opensans-300.svg#Lato") format("svg");
}
Which appears to show that the font in use is indeed called Lato, but it is using Opan Sans as Lato!? But how is this possible? I have completely emptied the pub/static/frontend folder a number of times, where is this cached font coming from?
It's driving me insane.