And now I hacked up Pango to:
1. finally do per-layout limits on the number of lines (instead of per-paragraph, which makes no sense),
2. do a better job ellipsizing the last line even when the line itself fits, but there are further lines that don't (due the the height limit or line number limit) — this still needs more polish, but it works somewhat,
3. and to finally have a proper way to disable wrapping, PANGO_WRAP_NONE (wanna guess how Gtk.Label.set_wrap (false) was working until now?)
#gtk
Embed Notice
HTML Code
Corresponding Notice
- Embed this notice
Sergey Bugaev (bugaevc@floss.social)'s status on Thursday, 14-Nov-2024 02:11:58 JSTSergey Bugaev