Skip to content

Commit

Permalink
allow font names with commas [#38] (#39)
Browse files Browse the repository at this point in the history
  • Loading branch information
bdon authored Dec 20, 2024
1 parent c1a84e6 commit bb5e2b9
Show file tree
Hide file tree
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
Expand Up @@ -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
Expand Up @@ -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>
Expand Down

0 comments on commit bb5e2b9

Please sign in to comment.