html - Preload font HTML5, JS, Kinetic.js? -
I have a custom font ( Unfortunately, on the first shipments of the page it is not using my custom font, when it is good to reload the page. Can I pre-load CSS TopePrint-Override "> Thank you in advance for your support! < / P> I still had the same problem today ... I have finished it After that you can do normal kineticsjs stuff .. actually it is necessary to load the font before using it ..! I am not good in English, but I hope See that link also: * ttf ), that I use to write text I am using Kinetic. HTML canvas using JS
@ font-face {font-family: "barcode"; Src: url (../font / IDAutomationHC39M.ttf);}
& lt; style & gt; @ font-face {font-family: 'archive black-regular'; Src: url ('../fonts / archivoBlack-Regular.ttf');} & lt; / Style> gt; style = "font-family: 'archivio black-regular'" & gt; & amp; nbsp; & lt; / div & gt; ;
Comments
Post a Comment