Re: ellipsis per layout
- From: Behdad Esfahbod <behdad behdad org>
- To: parth k samsung com, gtk-i18n-list gnome org
- Subject: Re: ellipsis per layout
- Date: Thu, 02 Jan 2014 13:50:55 +0800
On 14-01-02 01:36 PM, Parth Kanungo wrote:
Hello,
I was trying to add ellipsis to a text containing '\n'.
I noticed that pango implements ellipsis per paragraph, but not ellipsis per
layout.
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
https://mail.gnome.org/mailman/listinfo/gtk-i18n-list
--
behdad
http://behdad.org/
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]