[Evolution-hackers] Re: [Gtkhtml] [patch] Printing with Pango



On Mon, 2004-06-07 at 13:58 -0400, Owen Taylor wrote:
On Mon, 2004-06-07 at 11:58, Radek Doulík wrote:
> On Sat, 2004-06-05 at 15:58 -0400, Owen Taylor wrote: 
> >    Would it be possible to branch early for a pre-GNOME-2.8 release
> >    and land these changes on HEAD? I think I and/or Dave Malcom
> >    could help port changes from stable => HEAD if necessary.
> > 
> >    In general, I think people would be really excited if they could
> >    print Indic languages for GNOME-2.8. (Unfortunately, bidi 
> >    languages still will be broken.)
> Yes, your gnome-print work is really great news. The gtkhtml still
> needs some work to display RTL languages right, but it's pretty close
> (we need reorder pango items IIRC).

Bidi certainly goes well beyond this patch. I don't think you can
actually do the reordering completely at the PangoItem level ...
if I understand the gtkhtml structure 
  
  <text> <image> <text>

Gives you two HTMLText objects not one? But the reordering needs to
be across the whole line of inline objects. (The HTML specs give quite a
bit of detail about how bidi is supposed to work.)
yes, we need to do ordering at object level as well

I don't think getting *display* right for RTL is a huge project if there
was was someone interested in doing the work. Editing and selection
is a bit more of a project. (Much of pango-layout.c is helper functions
for bidi editing.)
yeah, that's what we figured out as well. bidi editing is planned for evo 2.1 so far.

Cheers
Radek

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