pango - controlling whitespace before ellipsis at the end of a line
- From: blake tregre <blake tregre gmail com>
- To: gtk-i18n-list gnome org
- Subject: pango - controlling whitespace before ellipsis at the end of a line
- Date: Mon, 12 Sep 2016 19:40:45 -0700
Hey y'all,
I'm using pango(ft2) to render a paragraph of text that is too long and must be ellipsized. I've set the layout to wrap at word boundaries, set it to ellipsize at the end of the line, and specified the width and height. The last visible line ends with "can be sure it ...". How can I get rid of that last space before the ellipsis? I'd rather see "can be sure it...". In addition, is it possible to ellipsize only at word boundaries? Thanks!
--blake
[Date Prev][Date Next] [Thread Prev][Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]