Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
allow font names with commas [#38]
Browse files Browse the repository at this point in the history
bdon committed Dec 20, 2024
1 parent d84432e commit 02b3ed6
Showing 2 changed files with 9 additions and 0 deletions.
6 changes: 6 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -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
```
3 changes: 3 additions & 0 deletions main.cpp
Original file line number Diff line number Diff line change
@@ -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 <iostream>

0 comments on commit 02b3ed6

Please sign in to comment.