Re: [evolution-patches] gtkhtml preedit_changed callback
- From: Radek Doulík <rodo ximian com>
- To: Botond Botyanszki <boti siliconium net>
- Cc: evolution-patches lists ximian com, Larry Ewing <lewing ximian com>
- Subject: Re: [evolution-patches] gtkhtml preedit_changed callback
- Date: Fri, 11 Jul 2003 17:06:15 +0200
On Fri, 2003-07-11 at 16:09, Botond Botyanszki wrote:
> On 09 Jul 2003 18:55:57 +0200
> Radek Doulík <rodo ximian com> wrote:
>
> > thanks for your patch. Your patch is targeting the right direction, but
> > has some issues, mostly with gtk_html_im_reset function.
> >
> > I have prepared another patch which should handle it better. I am
> > attaching it to this mail. Could you test if it works OK for you,
> > please?
>
> I have reworked my patch and went a bit lower to use htmltext. It works
> better and is little more simple. I also incorporated your im_reset
> changes, these seem to work ok.
okie, good to know.
> I was digging in htmltext for pango attributes, but unfortunately there
> seem to be none. The widgets in gtk which support gtkimcontext use
> PangoLayout. Either this needs to be implemented into htmltext, or a new
> object needs to be written that can render the preedit string properly
> with pango attributes.
>
> I couln't test your patch with current cvs version because both the
> html-editor test program and evolution crashed
weird, cvs works OK for me
> so I compiled it into the
> latest release. The font style changes didn't have any effect on the
> preedit text (probably this needs the cvs tree). IMHO this approach is a
> dead-end street anyway, because the preedit string should be rendered with
> the pango attributes provided. For some languages a simple underline is
> enough, but complex ones like Japanese need more than that.
what attributes are used for Japanese preedit string? could you show me
some screenshots?
I am thinking about translating pango attributes to HTML, but if it uses
attributes which can't be displayed in HTML (like background color), I
will probably try to use embedded GtkLabel widget for preedit text.
Cheers
Radek
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]