diff --git a/README.md b/README.md index 211265e..2486028 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,7 @@ Compile [Cairo](https://www.cairographics.org/) / [Pango](https://docs.gtk.org/Pango/index.html) / [PangoCairo](https://docs.gtk.org/PangoCairo) based applications from C to WebAssembly? -Try it online (5 ~ 8M): +Try it online (1.5 ~ 3.5 MB data transfer): > If the links failed you, please [clone](https://github.com/VitoVan/pango-cairo-wasm/tree/gh-pages) and serve them locally with [wasm-server](https://github.com/VitoVan/pango-cairo-wasm/blob/main/wasm-server). diff --git a/index.html b/index.html index 9df10f3..5b8c081 100644 --- a/index.html +++ b/index.html @@ -590,7 +590,7 @@ PangoCairo on the Web
-

PangoCairo on the Web

Compile Cairo/Pango/PangoCairo based applications from C to WebAssembly?src

Try it online (5 ~ 8M):

If the links failed you, please clone and serve them locally with wasm-server.

Cairo: https://vitovan.com/pango-cairo-wasm/hello-cairo.html

PangoCairo: https://vitovan.com/pango-cairo-wasm/hello-pangocairo.html

Preview:

Hello Cairo

Hello Pango

Usage

Setup emcc & pkg-config

with Docker

from Source

This build.sh only compiles on Fedora, if you can't get one, please modify it before execution.

Wait for 20 minutes or more. If all went well, execute:

Compile C Code

Cairo with no pthread