WOFF, EOT & SVG Web Font Declaration

The Web Font Testing page attempts to display WOFF, EOT, and SVG barcode fonts separately. The following is a CSS @font-face declaration that helps the various browsers select the appropriate web font with a single font-family reference.

When implemented, replace all instances "IDAutomationHC39M" with the name of IDAutomation barcode font being used.

<STYLE TYPE="text/css">
<!-- /* this font-face declaration includes multiple web fonts -- */
@font-face { font-family: 'IDAutomationHC39M'; src: url('IDAutomationHC39M.eot'); src: url('IDAutomationHC39M.eot?#iefix') format('embedded-opentype'), url('IDAutomationHC39M.woff') format('woff'), url('IDAutomationHC39M.svg#IDAutomationHC39M') format('svg'); font-weight: normal; font-style: normal; } --> </STYLE>

Reference the font-family to display the font as a barcode:
<p><font face="IDAutomationHC39M">(WEB-FONT)</font></p>
The barcode generated from the above declaration will appear below for all compatible browsers.

 

(WEB-FONT)

 

Related Information