summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAki <please@ignore.pl>2020-08-12 19:56:41 +0200
committerAki <please@ignore.pl>2020-08-12 19:56:41 +0200
commit8270e34b81197be8f7168eecf929634e38dcaa29 (patch)
treee6a231550826256ca5a5ed529b48727607ccc52f
parent2cb755e90018efe04e8569ec1c9d509b8ae2c7ce (diff)
downloadbrowse-8270e34b81197be8f7168eecf929634e38dcaa29.zip
browse-8270e34b81197be8f7168eecf929634e38dcaa29.tar.gz
browse-8270e34b81197be8f7168eecf929634e38dcaa29.tar.bz2
Included support for SVG and some other image types
-rw-r--r--README5
-rwxr-xr-xviewhtml2
2 files changed, 6 insertions, 1 deletions
diff --git a/README b/README
index 72b5669..26edb57 100644
--- a/README
+++ b/README
@@ -14,4 +14,7 @@ opener
viewhtml
A view for HTML5 documents based on gumbo.
- Depends on https://github.com/ray2501/tclgumbo
+ Depends on:
+ https://github.com/ray2501/tclgumbo
+ http://tkimg.sourceforge.net/
+ https://github.com/auriocus/tksvg
diff --git a/viewhtml b/viewhtml
index 7a03591..1e581ec 100755
--- a/viewhtml
+++ b/viewhtml
@@ -1,6 +1,8 @@
#!/usr/bin/env tclsh
package require tclgumbo
package require Tk
+package require tksvg
+package require Img
# TODO: This is still ugly, refactor into functions and namespaces?