GNOME Bugzilla – Bug 511172
pango_layout_set_height() with positive height always shows at least two lines
Last modified: 2008-02-26 01:31:04 UTC
Currently when a positive height is set on the layout, at least two lines are rendered before ellipsizing. That's obviously not correct.
2008-02-25 Behdad Esfahbod <behdad@gnome.org> Bug 511172 – pango_layout_set_height() with positive height always shows at least two lines * pango/pango-layout.c (should_ellipsize_current_line), (pango_layout_check_lines), (pango_layout_get_empty_extents_at_index), (pango_layout_line_get_empty_extents): Initialize line_height using empty-line extents.