This one worked for me:
Code:
<style>
@font-face {
font-family: MICRW2;
src: url("file://localhost/C|/temp/micr-W2.ttf");
}
On the other hand, neither of these made it possible to use font via remote-url:
Code:
<meta http-equiv="Access-Control-Allow-Origin" content="*">
<meta http-equiv="Content-Security-Policy" content="*">
Maybe because it is a static file. Or because it is http not https.
(Note: CORS (Origins, Options, preflight requests, Security-Policy, HSTS etc) is way above my understanding, but surely it is good for something.)