diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 7533574..7012583 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -23,4 +23,10 @@ Use `./build_wasm.sh PATH_TO_INCLUDE_DIR` to build the WASM output, where `PATH_ ``` cmake . make +``` + +# Running command line + +``` +./font-maker --name "Noto Sans" output File1.ttf File2.ttf ``` \ No newline at end of file diff --git a/main.cpp b/main.cpp index 5f28ee2..43cce79 100644 --- a/main.cpp +++ b/main.cpp @@ -7,6 +7,9 @@ #ifndef EMSCRIPTEN #include "ghc/filesystem.hpp" + +// allow font filenames with commas +#define CXXOPTS_VECTOR_DELIMITER '\0' #include "cxxopts.hpp" #endif #include