I'm using fabric.js in my site. suppose if I need to add any text in canvas, I write - like- var text1 = new fabric.Text('Fabric', { left: 90, top: 570, angle: -5, fontFami
Solution 1:
fabricjs doens't provide any fonts for you. Instead, it uses a html5 canvas and therefore have the font the browser provides for you.
If you need to list available fonts during runtime you can test out the following.
Post a Comment for "How To Get Whole List Of Font Family In Fabric.js"