[Evolution-hackers] Re: [Gtkhtml] [patch] Printing with Pango
Radek Doulik
rodo@ximian.com
Tue, 08 Jun 2004 22:49:55 +0200
--=-zKxkvDwt0q5kEpwmJrIt
Content-Type: text/plain; charset=ISO-8859-2
Content-Transfer-Encoding: 8bit
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
--=-zKxkvDwt0q5kEpwmJrIt
Content-Type: text/html; charset=utf-8
Content-Transfer-Encoding: 7bit
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
<META NAME="GENERATOR" CONTENT="GtkHTML/3.1.16">
</HEAD>
<BODY>
On Mon, 2004-06-07 at 13:58 -0400, Owen Taylor wrote:
<BLOCKQUOTE TYPE=CITE>
<PRE>
<FONT COLOR="#000000">On Mon, 2004-06-07 at 11:58, Radek Doulík wrote:</FONT>
<FONT COLOR="#000000">> On Sat, 2004-06-05 at 15:58 -0400, Owen Taylor wrote: </FONT>
<FONT COLOR="#000000">> > Would it be possible to branch early for a pre-GNOME-2.8 release</FONT>
<FONT COLOR="#000000">> > and land these changes on HEAD? I think I and/or Dave Malcom</FONT>
<FONT COLOR="#000000">> > could help port changes from stable => HEAD if necessary.</FONT>
<FONT COLOR="#000000">> > </FONT>
<FONT COLOR="#000000">> > In general, I think people would be really excited if they could</FONT>
<FONT COLOR="#000000">> > print Indic languages for GNOME-2.8. (Unfortunately, bidi </FONT>
<FONT COLOR="#000000">> > languages still will be broken.)</FONT>
<FONT COLOR="#000000">> Yes, your gnome-print work is really great news. The gtkhtml still</FONT>
<FONT COLOR="#000000">> needs some work to display RTL languages right, but it's pretty close</FONT>
<FONT COLOR="#000000">> (we need reorder pango items IIRC).</FONT>
<FONT COLOR="#000000">Bidi certainly goes well beyond this patch. I don't think you can</FONT>
<FONT COLOR="#000000">actually do the reordering completely at the PangoItem level ...</FONT>
<FONT COLOR="#000000">if I understand the gtkhtml structure </FONT>
<FONT COLOR="#000000"> </FONT>
<FONT COLOR="#000000"> <text> <image> <text></FONT>
<FONT COLOR="#000000">Gives you two HTMLText objects not one? But the reordering needs to</FONT>
<FONT COLOR="#000000">be across the whole line of inline objects. (The HTML specs give quite a</FONT>
<FONT COLOR="#000000">bit of detail about how bidi is supposed to work.)</FONT>
</PRE>
</BLOCKQUOTE>
yes, we need to do ordering at object level as well<BR>
<BR>
<BLOCKQUOTE TYPE=CITE>
<PRE>
<FONT COLOR="#000000">I don't think getting *display* right for RTL is a huge project if there</FONT>
<FONT COLOR="#000000">was was someone interested in doing the work. Editing and selection</FONT>
<FONT COLOR="#000000">is a bit more of a project. (Much of pango-layout.c is helper functions</FONT>
<FONT COLOR="#000000">for bidi editing.)</FONT>
</PRE>
</BLOCKQUOTE>
yeah, that's what we figured out as well. bidi editing is planned for evo 2.1 so far.<BR>
<BR>
Cheers<BR>
Radek
</BODY>
</HTML>
--=-zKxkvDwt0q5kEpwmJrIt--