summaryrefslogtreecommitdiff
path: root/notes/frameworks/cairo.md
diff options
context:
space:
mode:
Diffstat (limited to 'notes/frameworks/cairo.md')
-rw-r--r--notes/frameworks/cairo.md17
1 files changed, 17 insertions, 0 deletions
diff --git a/notes/frameworks/cairo.md b/notes/frameworks/cairo.md
new file mode 100644
index 00000000..3eeb2159
--- /dev/null
+++ b/notes/frameworks/cairo.md
@@ -0,0 +1,17 @@
+# Cairo
+
+WeasyPrint relies on Cairo>1.14.~ but cairo=1.15.* didn't install correctly. Cairo 1.16.0 tested and works as of Feb 9
+
+Install cairo on Ubuntu 16.04 for WeasyPrint
+
+```
+wget https://www.cairographics.org/releases/cairo-1.16.0.tar.xz
+tar -xf cairo-1.16.0.tar.xz
+cd cairo-1.16.0
+./configure --prefix=$HOME/code/cairo
+make
+make install
+export PKG_CONFIG_PATH=$HOME/code/cairo/lib/pkgconfig
+export LD_LIBRARY_PATH=$HOME/code/cairo/lib
+# pip install weasyprint
+``` \ No newline at end of file