summarylogtreecommitdiffstats
path: root/texts2paths.patch
diff options
context:
space:
mode:
authorBehnam Momeni2016-08-28 15:12:31 +0430
committerBehnam Momeni2016-08-28 15:12:31 +0430
commit9bf8a1b417fadacfddd07df53c75d480cc15d130 (patch)
tree70693d54e19d4bf952d10837604bf535b42a1e78 /texts2paths.patch
parentf2039a5e4b75b92b50bcc04265de428a9b092804 (diff)
downloadaur-9bf8a1b417fadacfddd07df53c75d480cc15d130.tar.gz
Creating extras_media and tools_texts2paths subpackages
Diffstat (limited to 'texts2paths.patch')
-rw-r--r--texts2paths.patch20
1 files changed, 20 insertions, 0 deletions
diff --git a/texts2paths.patch b/texts2paths.patch
new file mode 100644
index 00000000000..3827b333863
--- /dev/null
+++ b/texts2paths.patch
@@ -0,0 +1,20 @@
+diff -ruN sozi-org/tools/texts2paths/texts2paths.py sozi-new/tools/texts2paths/texts2paths.py
+--- sozi-org/tools/texts2paths/texts2paths.py 2016-08-28 14:04:40.190289088 +0430
++++ sozi-new/tools/texts2paths/texts2paths.py 2016-08-28 14:08:39.806966462 +0430
+@@ -7,6 +7,7 @@
+ from optparse import OptionParser
+ from lxml import etree
+ import subprocess, shutil, sys
++import os
+
+ if __name__ == '__main__':
+ option_parser = OptionParser()
+@@ -44,6 +45,7 @@
+ command = ["inkscape"]
+ for t in texts:
+ command += ["--verb=EditDeselect", "--select=" + t.get("id"), "--verb=ObjectToPath"]
+- command += ["--verb=FileSave", "--verb=FileClose", output_file_name]
++ command += ["--verb=FileSave", "--verb=FileClose",
++ "--verb=FileQuit", output_file_name]
+
+ subprocess.call(command)