Skip to content
a javascript package for node that generates SVG and PNG images for individual symbols and complete signs within the SignWriting script
JavaScript HTML
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
db
docs
fsw
server
swu
.npmignore
CHANGELOG.md
LICENSE
README.md
addstyle.js
documentation.yml
index.js
package.json
signwriting.svg

README.md

@sutton-signwriting/font-db

Gitter version npm downloads

SignWriting

@sutton-signwriting/font-db is a javascript package for node that generates SVG and PNG images for individual symbols and complete signs. The package covers the entire set of the International SignWritnig Alphabet 2010 (ISWA 2010).

This package supports both Formal SignWriting in ASCII (FSW) and SignWriting in Unicode (SWU) character sets, along with the style string. See draft-slevinski-formal-signwriting for detailed specification.

Useful links

Install in existing NPM package

    npm install @sutton-signwriting/font-db

Install Font Database Package as stand-alone

    # download package
    git clone https://github.com/sutton-signwriting/font-db.git

    # install dependancies
    cd font-db
    npm install

    # test project
    npm run test

    # create project documentation
    npm run docs

    # start built-in server
    npm run server

Usage

Using in code

    // import entire library
    const fontDb = require('@sutton-signwriting/font-db);

    // import individual module
    const fsw = require('@sutton-signwriting/font-db/fsw);

Using on the commad line

    # works for script with FSW and SWU, Symbol and Sign, SVG and PNG.

    # output in the terminal
    node fsw/fsw-sign-svg M525x535S2e748483x510S10011501x466S2e704510x500S10019476x475-C

    # save to file
    node fsw/fsw-sign-svg M525x535S2e748483x510S10011501x466S2e704510x500S10019476x475-C output.svg

License

MIT

SignWriting General Interest

You can’t perform that action at this time.