Re: TeX-like H&J demo



On Sun, Apr 27, 2003 at 03:27:44PM +0100, Damon Chaplin wrote:
> [stuff deleted]
> Yes, I think it is a bug in pango_glyph_string_get_logical_widths().
> I could be wrong though.
> 
> As I understand it, the sum of the log_widths (of all the chars) should
> equal the sum of the PangoGlyphString geometry widths (of all the
> glyphs) for an item. But that isn't happening:

It is probably the same bug that causes the text widget to sometimes 
add a horizontal scrollbars for RTL text in spite of the fact that
the text should word wrap...

Dov
  
> Item logical widths: 9216 4608 4608     Total: 18432
> Item glyph widths  : 9216 9216 9216     Total: 27648
> 
> Item logical widths: 9216 9216 4608 4608     Total: 27648
> Item glyph widths  : 9216 9216 9216 9216     Total: 36864
> 
> My code uses the logical widths a lot more than PangoLayout does, which
> is why the problem is more noticeable.
> 
> 
> There's also a bug in my unicode stuff that is causing crashes in the
> RTL demo page. I'm looking into that now.
> 
> Damon
> 
> 
> _______________________________________________
> gtk-i18n-list mailing list
> gtk-i18n-list gnome org
> http://mail.gnome.org/mailman/listinfo/gtk-i18n-list



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]