[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-devel
Subject:    Re: Does QTextEdit supports full justified text?
From:       Lars Knoll <lars () trolltech ! com>
Date:       2002-07-30 8:23:33
[Download RAW message or body]


> On Monday 29 July 2002 04:44 pm, Kuba Ober wrote:
> > > > Ah, to clear something up: you need a multi-line paragraph. The last
> > > > line of the paragraph is always left-aligned.
> > >
> > > Ah sorry I assumed normal justification. Its kind confusing that
> > > center, left, and right all work on a single line, but full justify
> > > dosent.  I guess there must be a good reason why you cannot justify a
> > > single line?
> >
> > [...]
> >
> > > Ah, i was assumeing there must have been a technical reason why they
> > > only justify more than one line.
> >
> > Reason is simple: It doesn't make sense otherwise ;-)))
> >
> > That's a well established rule in general-purpose typesetting. A line
> > with just a few words at the end of the paragraph doesn't look good at
> > all when it's spread across the column width.
> >
> > Would		it		be		easier		to		read		text		written		in		this		way?
>
> Exactly hence why you use the 3/4s rule
> Any line that takes up more than 3/4 of the line then it is safe to
> justify. This is useful for labels or titles where you may want the look of
> something takeing up the full line.
>
> The issue is so far I have only seen this behavior in WordPerfect, and MS
> Word on my Mac... I cannot vouch for Windows at all, but I am assuming that
> TT just copied behavior from that.

Nope we haven't copied it (even if word does it the same way). If you have 
paragraphs without spacing between them, it is a lot easier to spot paragraph 
borders if the last line isn't justified. Also it is a bit 
annoying/irritating to see the cursor and text suddenly jumping a lot when 
you reach the 3/4 limit while typing in text (you're usually at the last 
line). That's the reasons we chose the approach we now have in qrichtext.

Lars

 
>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic