GNOME Bugzilla – Bug 148682
Text: cannot make justified text
Last modified: 2008-04-13 17:38:49 UTC
It is not possible to make a text block justified (Fill, called "justify paragraph" in AbiWord) in GIMP. Is this dependant on Pango? Or just dependant on http://bugzilla.gnome.org/show_bug.cgi?id=122707 ?
This depends on bug #64538. After justification is implemented in Pango it will also need some changes to the text tool interface as described in bug #122707. So basically this report is just a duplicate. I will leave it open nevertheless in order to make it easier to find the relevant bug reports.
Justification seems to have been implemented in Pango as of May 2007 (http://bugzilla.gnome.org/show_bug.cgi?id=64538), yet it has not made it into any release of GIMP that I have seen. I have also brought this up at the GIMP User Group (http://gug.sunsite.dk/forum/?threadid=2696). If I misunderstood the bug report regarding justification in Pango, please let me know. Otherwise, I'm curious about why this feature hasn't been activated within GIMP yet. This is not a criticism, I am truly curious about this. Did the fix in Pango go overlooked? Is this feature currently being worked on? Was there a conscious decision to delay implementation, a production/timeline reason (work-in-progress), or was it an accident? Anyways, I'm really just looking for some clarification, and possibly an estimate on when users might expect to see this feature working in GIMP.
The fix in pango will work automatically as soon as GIMP bug #122707 is fixed. All the code to use the fixed pango justification is there.
There's work going on on the trunk in bug 122707, but someone just came into #gimp and asked about that "filled" button in the text tool options that doesn't work (it says it's for filled/justified text, but it actually left-justifies). Should the button be removed in 2.4? Should that be a separate bug?
No user interface changes in 2.4, so it's pointless to open a bug report for that. We used to keep the button there to put more pressure on the Pango developers to implement this functionality. Now that it is implemented, we are adding the missing bits in GIMP to actually make it work. As this is now the case in trunk I am closing this report as FIXED.