Re: ellipsis per layout

On 14-01-02 01:36 PM, Parth Kanungo wrote:


I was trying to add ellipsis to a text containing '\n'.

I noticed that pango implements ellipsis per paragraph, but not ellipsis per

Can anyone throw some light on how to go about implementing it ?

If you can patch PangoLayout to implement that, I will take it upstream.

I ran the following test sample, where I expect an ellipsis after "an".

text = "This is sample text to reproduce an\n\n issue related to ellipsis"

font_size = 20,  layout.width = 150,   layout.height = 60


Thanks and regards,-

Parth Kanungo

gtk-i18n-list mailing list
gtk-i18n-list gnome org


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