Re: Whitespace at line-wrap spot preserved
- From: "Matt Hoosier" <mwhoosier gmail com>
- To: "Damon Chaplin" <damon karuna uklinux net>
- Cc: gtk-i18n-list gnome org
- Subject: Re: Whitespace at line-wrap spot preserved
- Date: Tue, 3 Oct 2006 11:45:45 -0500
Damon,
Thanks for the link. As nearly as I can tell, your patch applies to
Pango 1.8. Am I right about that?
If so, perhaps you could speculate whether I would be able to backport
that to Pango 1.2 or 1.4. I'm working on an embedded system, and all
thing else being equal, I'd prefer to avoid seeking up to a really
brand new version of Pango :)
Regards,
Matt
On 10/3/06, Damon Chaplin <damon karuna uklinux net> wrote:
On Tue, 2006-10-03 at 08:54 -0500, Matt Hoosier wrote:
> Hi,
>
> I'm doing some rendering with a PangoLayout, and it seems that when
> wrapping is enabled the space at which wrapping is performed, is still
> allocated physical horizontal space (for Latin languages, anyway).
> This works okay for PANGO_ALIGN_LEFT layouts, but the empty space
> causes a sort of ragged effect with PANGO_ALIGN_RIGHT, and off-center
> calculations for PANGO_ALIGN_CENTER.
>
> Is there some simple thing that I'm missing?
I noticed the same bug when working on justification for Pango.
My new layout code fixes this as well as adding justification:
http://bugzilla.gnome.org/show_bug.cgi?id=64538
> Example source is attached which paints the whitespace in a different
> color, so that the effect is a little more visible.
You forgot this.
Damon
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]