[Konsole-devel] Disable BiDi rendering in konsole4

Robert Knight robertknight at gmail.com
Sat Mar 15 07:42:20 UTC 2008


Hello,

I have already changed Konsole in trunk to always use left-to-right
layout rendering for text.  In other words BiDi is disabled by default.

The layout direction is set via calls to setLayoutDirection() in
QWidget, not QPainter, although you can set the layout direction when
rendering pieces of text using QTextOption.

Regards,
Robert.

On Fri, 2008-03-14 at 21:14 +0200, Diego Iastrubni wrote:
> Hello all,
> 
> One feature which is missing from konsole4 (comparing to konsole3) is the 
> rendering of BiDi. In konsole3 BiDi was disabled by default and it can be 
> enabled from the options dialog, or pressing alt+control+b.
> 
> In QPainter4, there is no option for this, but it may be hacked using &LRO;
> +text (I will open a task in Trolltech and ask for such method in Qt4.5). 
> Meanwhile, I have a patch here which enables/disables this feature (note that 
> there was some code left in konsole, some variables already defined which 
> deal with BiDi).
> 
> I still am missing the keyboard shortcut to enable/disable this on the current 
> view/profile, and I was hopping someone would give me a hint about this.
> 
> The patch is attached, and I can commit if no one objects.
> 
> - diego
> _______________________________________________
> konsole-devel mailing list
> konsole-devel at kde.org
> https://mail.kde.org/mailman/listinfo/konsole-devel




More information about the konsole-devel mailing list