Barcode Fonts, Components, ActiveX and .NET Windows Forms Controls, Java Servlets, 
DLLs and Barcode Scanners., Inc., Computer Hardware, Tampa, FL View your cart in the IDAutomation Store    

WOFF Barcode Web Fonts


WOFF Barcode Fonts


The Web Open Font Format (WOFF) is a web font format that is compatible with multiple web browsers and web viewers, including the latest versions of IE, Firefox, Chrome, Opera and Safari. It became a World Wide Web Consortium (W3C) Recommendation in December 2012. With a Developer License purchase, IDAutomation fonts may be used according to section 6 of the IDAutomation Software License Agreement, provided that domain restrictions are enabled for the fonts. Purchases of Developer Licenses made prior to 2014 may receive the WOFF fonts with an active support agreement to the corresponding product.

To enable support of web fonts on older browsers, other font types such as EOT (embedded opentype) and SVG are also provided and may be included in CSS. Generally, EOT fonts work on older versions of IE and SVG fonts work on older versions of Safari on the iPhone and iPad. The Web Font Testing page attempts to display WOFF, EOT and SVG barcode fonts separately for testing purposes. IDAutomation also provides a CSS @font-face declaration that includes multiple web fonts with a single reference to the font-family.

How to use WOFF Web Fonts in CSS and HTML

Web fonts are downloaded by the browser and discarded after use, so the fonts cannot be used for anything else. The following steps allow an easy implementation in CSS and HTML:

  1. Upload the fonts to your website in or near the same directory as your CSS files. Most browsers, including IE and Firefox, require the fonts to be used solely on the domain they are hosted on.
  2. Define the font in the CSS @font-face declaration with the complete URL to the font file:
    <STYLE TYPE="text/css">
    <!-- /* include the Code39 WOFF Font -- */
    @font-face { 
    font-family: IDAutomationHC39M;	 
    src: url(;
  3. Reference the font where it is to be used:
    <p style="font-size:16pt ; font-family: IDAutomationHC39M">(WOFF_FONT)</p>
  4. Implement domain restrictions and verify the font appears in the browser.
  5. The barcode generated below is the outcome of the implementation described above.


JavaScript Dynamic Font Encoder Example

IDAutomation JavaScript Font Encoders may be used to encode dynamic data with WOFF fonts. For example, clicking the encode button below generates a barcode from the data in the text box with the IDAutomation_Code39.js JavaScript function:



To investigate other methods of generating barcodes on the web that do not use fonts, visit the Internet & Web Page Barcode Implementation FAQ.

 ©Copyright 2020, All Rights Reserved. Legal Notices.

 Barcode Fonts | Components | Scanners | Support | Contact Us

Training Videos on YouTube  Join us on LinkedIn  Follow us on Twitter  Like us on Facebook
Over 70% of Fortune 100 companies use IDAutomation's products to automate their businesses.