From 02210fe93358176a99590ad00079b6495b8d12d1 Mon Sep 17 00:00:00 2001 From: Simon Quigley Date: Thu, 17 Nov 2022 16:21:33 -0600 Subject: [PATCH] Import Ubuntu upload 1.1.0-0ubuntu2. --- debian/changelog | 6 ++++++ debian/patches/enable-bidi.patch | 33 ++++++++++++++++++++++++++++++++ debian/patches/series | 1 + 3 files changed, 40 insertions(+) create mode 100644 debian/patches/enable-bidi.patch create mode 100644 debian/patches/series diff --git a/debian/changelog b/debian/changelog index 538fd89..53d82e0 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +qtermwidget (1.1.0-0ubuntu2) kinetic; urgency=medium + + * Enable BiDi rendering by default. + + -- Simon Quigley Sat, 11 Jun 2022 14:15:19 -0400 + qtermwidget (1.1.0-0ubuntu1) kinetic; urgency=medium * New upstream release. diff --git a/debian/patches/enable-bidi.patch b/debian/patches/enable-bidi.patch new file mode 100644 index 0000000..5d90509 --- /dev/null +++ b/debian/patches/enable-bidi.patch @@ -0,0 +1,33 @@ +From 1dff927b317d9bb072aee95010f2c36d835464f5 Mon Sep 17 00:00:00 2001 +From: noureddin +Date: Thu, 26 May 2022 17:45:53 +0200 +Subject: [PATCH] enable bidi rendering by default (#481) + +Arabic, Persian, Urdu, Hebrew, and many other languages are written in +an RTL script. And, naturally, people prefer to have filenames etc in +their native language, regardless of the UI language. + +Konsole enables BiDi rendering by default, and for a good reason. + +As this is a library, I think it needs this to be enabled by default +more than a stand-alone application like Konsole, because it's very easy +for an application to overlook this feature, and not even provide an +option to enable it, rendering it much less useful than it would have +been. +--- + lib/TerminalDisplay.cpp | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/lib/TerminalDisplay.cpp b/lib/TerminalDisplay.cpp +index cbf2118e..9e95c66f 100644 +--- a/lib/TerminalDisplay.cpp ++++ b/lib/TerminalDisplay.cpp +@@ -332,7 +332,7 @@ TerminalDisplay::TerminalDisplay(QWidget *parent) + ,_resizing(false) + ,_terminalSizeHint(false) + ,_terminalSizeStartup(true) +-,_bidiEnabled(false) ++,_bidiEnabled(true) + ,_mouseMarks(false) + ,_disabledBracketedPasteMode(false) + ,_actSel(0) diff --git a/debian/patches/series b/debian/patches/series new file mode 100644 index 0000000..984cd33 --- /dev/null +++ b/debian/patches/series @@ -0,0 +1 @@ +enable-bidi.patch