Skip to content

Latest commit

 

History

History
32 lines (20 loc) · 1.01 KB

CONTRIBUTING.md

File metadata and controls

32 lines (20 loc) · 1.01 KB

Contributing

Local development

The WASM outputs sdfglyph.js and sdfglyph.wasm are not committed to git. To develop the web app locally download the compiled ones from GitHub pages:

Building WASM

If you want to compile the WebAssembly components from scratch, you'll need the following:

  • The Emscripten SDK installed and activated on your machine (emcc on your path)
  • A boost installation on your machine

Clone this repository and all submodules with git clone --recursive

Use ./build_wasm.sh PATH_TO_INCLUDE_DIR to build the WASM output, where PATH_TO_INCLUDE_DIR is the directory of your local Boost install. example: ./build_wasm.sh /opt/local/include

Building command line

cmake .
make

Running command line

./font-maker --name "Noto Sans" output File1.ttf File2.ttf