Article 6MV03 css font-face not working

css font-face not working

by
mfoley
from LinuxQuestions.org on (#6MV03)
I have the following <style> definition in an html page:
Code:<style>
@font-face {
font-family: MICR2;
src: url('https://mydom.org/office/images/micr-W2.ttf');
}This displays a MICR font used when printing checks. This has worked literally for year. Suddenly it's not working. The above definition shows nothing on the html output.

I changed it to:
Code: src: local('/srv/tomcat/webapps/office/images/micr-W2.ttf');which now shows the digits, but not in the MICR font.

The not working state may be coincidental with upgrading to Slackware 15.0, but I can't see how that would affect this.

Any ideas? We have checks to print!
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments