Demo JavaScript Embedded Fonts

Stable Version 1.0.0 (OutSystems 8)
Published on 26 September 2014 by 
Created on 26 September 2014
Details
Demonstration on how to render 3rd party fonts without needing to install in user machine. This aplication demonstrates how to display barcodes using IDAutomation fonts and encoding classes
Read More
This application is for demonstration purposes on how to use typeface.js libray in addition with  proprietary Fonts, to correctly display in any end-user without needing to install said fonts.
The included encode routine and font are property of IDAutomation, and are used here only for demonstration purposes. You should purchase a avalid license to redistribute this particular font.

Steps
  • Create or download an extension to encode data in any barcode standard (code 128 in the demo)
  • Download typeface.js from Typeface.neocracy.org and add to OML/Resources, deploying to Target Directory on publish.
  • Convert or download font to js glyph file in Typeface.neocracy.org; attach to OML/Resources as previous step.
  • Add 2 HTTPRequestHandler/AddJavaScriptTag to your page preparation, refrencing both typeface.js and your-font.js
  • Add an expression with the encoded data and style to the target font-family name.
  • Enclose previous expression in a <div> with class=typeface-js

 
Reviews (0)
Category
Applications
Tags
Support Options
This component is not supported by OutSystems. You may use the discussion forums to leave suggestions or obtain best-effort support from the community, including from Santiago Suarez who created this component.
Dependencies
Demo JavaScript Embedded Fonts has no dependencies.
Requirements
Platform
8.0.0.0
Database
All
Stack
All
Component Consumers
No consumers yet.
Weekly Downloads