From cca66b9ec4e494c1d919bff0f71a820d8afab1fa Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sun, 7 Apr 2024 20:24:48 +0200 Subject: Adding upstream version 1.2.2. Signed-off-by: Daniel Baumann --- share/extensions/text_lowercase.py | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100755 share/extensions/text_lowercase.py (limited to 'share/extensions/text_lowercase.py') diff --git a/share/extensions/text_lowercase.py b/share/extensions/text_lowercase.py new file mode 100755 index 0000000..866c50f --- /dev/null +++ b/share/extensions/text_lowercase.py @@ -0,0 +1,15 @@ +#!/usr/bin/env python +"""Make text lower case""" + +import inkex + + +class Lowercase(inkex.TextExtension): + """Convert to lowercase""" + + def process_chardata(self, text): + return text.lower() + + +if __name__ == "__main__": + Lowercase().run() -- cgit v1.2.3