Skip to content

Commit 479ca25

Browse files
committed
define font-face in header
1 parent d830144 commit 479ca25

File tree

2 files changed

+1
-14
lines changed

2 files changed

+1
-14
lines changed

rough.js.patch

-13
This file was deleted.

test.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ INDEX=$OUT/index.html
88
rm -rf $OUT/* && mkdir -p $OUT
99
cp vivus*.js *.ttf $OUT/
1010
exec 3>&1 1>$INDEX
11-
echo "<html><head><style>svg {border: 1pt solid black; vertical-align: top;}</style></head><body>"
11+
echo "<html><head><style>svg {border: 1pt solid black; vertical-align: top;} @font-face {font-family: "xkcd Script"; src: url('./xkcd-script.ttf');}</style></head><body>"
1212

1313
BASENAMES=()
1414
for SOURCE in examples/*.a2s; do

0 commit comments

Comments
 (0)