WOFF, EOT & SVG Multi Web Font Declaration Example
We removed content from this page because EOT and SVG fonts are considered legacy and aren't compatible with modern web browsers. IDAutomation recommends using only WOFF fonts for current web applications.
Legacy Information for Reference Only
The following is a CSS @font-face declaration that helps browsers select the appropriate web font with a single font-family reference. When implemented, replace all instances of "IDAutomationHC39M" with the name of the IDAutomation barcode font being used.
<STYLE TYPE="text/css">
<!-- /* this font-face declaration includes multiple web fonts -- */
@font-face { font-family: 'IDAutomationHC39M'; src: url('https://www.idautomation.com/fonts/IDAutomationHC39M.eot'); src: url('https://www.idautomation.com/fonts/IDAutomationHC39M.eot?#iefix') format('embedded-opentype'), url('https://www.idautomation.com/fonts/IDAutomationHC39M.woff') format('woff'), url('https://www.idautomation.com/fonts/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 in all
compatible browsers.
