From 124718d5a0fe55fc0399c41c7b13af16336b4dc6 Mon Sep 17 00:00:00 2001 From: Noah Petherbridge Date: Sun, 22 Dec 2019 18:38:56 -0800 Subject: [PATCH] Fix WebAssembly demo font loading --- README.md | 4 ++++ examples/hello-wasm/index.html | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 7dc29b7..368f866 100644 --- a/README.md +++ b/README.md @@ -8,6 +8,10 @@ the web browser. ![Screenshot](examples/hello-world/screenshot.png) +**Notice:** [github.com/kirsle/render](https://github.com/kirsle/render) is a +mirror to the upstream repository at [git.kirsle.net/go/render](https://git.kirsle.net/go/render). +Issues and pull requests will be accepted at GitHub. + ## Example ```go diff --git a/examples/hello-wasm/index.html b/examples/hello-wasm/index.html index a1d353c..7535abb 100644 --- a/examples/hello-wasm/index.html +++ b/examples/hello-wasm/index.html @@ -15,7 +15,7 @@ @font-face { font-family: "DejaVuSans"; - src: url("fonts/DejaVuSans.ttf") format("truetype"); + src: url("DejaVuSans.ttf") format("truetype"); }