Skip to content

Commit 9f4ab8c

Browse files
committed
Increase memory to 64MB
this was needed for a pretty much worst-case font, yasahshi rendered at 200 points tall. Conversion also takes long enough that the browser starts getting irritated.
1 parent be11e12 commit 9f4ab8c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

build.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
#!/bin/sh
22
[ -d output ] || mkdir output
33

4-
emcc -O -Wall -Werror -s SAFE_HEAP=1 -s STACK_OVERFLOW_CHECK=1 -s ASSERTIONS=2 -s FORCE_FILESYSTEM=1 -s EXPORTED_RUNTIME_METHODS="['ccall']" -DPACKAGE_STRING=\"bdftopcf\" -I . *.c -o output/index.html --shell-file shell.html
4+
emcc -O -Wall -Werror -s TOTAL_MEMORY=67108864 -s SAFE_HEAP=1 -s STACK_OVERFLOW_CHECK=1 -s ASSERTIONS=2 -s FORCE_FILESYSTEM=1 -s EXPORTED_RUNTIME_METHODS="['ccall']" -DPACKAGE_STRING=\"bdftopcf\" -I . *.c -o output/index.html --shell-file shell.html

0 commit comments

Comments
 (0)