Re: Hyphenation Design (Was Re: Possible Pango 1.4 ideas)



Matthias Clasen <maclas gmx de> writes:

> One question that just occurred to me is if layout-generated characters
> in the PangoLayout (or, if you want, PangoSuperDuperLayout) like hypens
> or ZWNBSPs inserted for kerning won't interfere with uses of PangoLayout
> for visual navigation like gtk_text_layout_move_iter_visually() does ?

The set of possible cursor positions is defined by the results of
pango_break() which would be called on the pre-hyphenation text, so 
the hyphen glyph should't effect cursor positioning at all. (*)

Regards,
                                        Owen

(*) Except for the problems with positioning at the ends of lines
    without trailing whitespace that we have now in GtkTextView.
    There should a bug open about it somewhere. 



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