1.0.2 • Published 3 years ago

@klonspace/nexfontinstaller v1.0.2

Weekly downloads
8
License
ISC
Repository
-
Last release
3 years ago

Nexrender Font Installer

This package is to be used in combination with nexrender to automatically install fonts on a Windows machine running nexrender-core.

Usage

Add links to yout font files in the assets object of your job object, with a type "static", and add a "font" property. The value of the font property is not important.

    ...
      "assets": [
        {
            "src": "/link/to/a/font.ttf",
            "type": "static",
            "font" : true
        }
    ],
    ...

Add this module as an action in the prerender section.

    ...
    "actions": {
        "prerender" :[
            {
                "module" : "C:\\Users\\callu\\Documents\\CODE\\weather renderer\\fontchecker.js"
            }
        ],
        "postrender" : []
    }
    ...

That's it.

This module is not very well tested and works only on windows.

Use at your own risk.