Move from pdftk to qpdf

Remove dependency on java
This commit is contained in:
2026-04-15 11:39:19 +02:00
parent 579d141d93
commit 452ce78c46
5 changed files with 18 additions and 20 deletions
+1 -1
View File
@@ -99,7 +99,7 @@ tmpfile=/tmp/pdf_page.pdf
# Ideally would get the page from Zathura...
# pagenum=$(rofi -dmenu -p "Page Number")
pdftk "$1" cat $2 output "$tmpfile.pdf" && \
qpdf --pages "$1" "$2" -- "$1" "$tmpfile.pdf" && \
pdf2svg "$tmpfile.pdf" "$tmpfile.svg" && \
inkscape "$tmpfile.svg"
#+end_src