From 398c52e1b9a5c91cd99277463080819ebdedfe1d Mon Sep 17 00:00:00 2001 From: Marvin W Date: Thu, 2 Jan 2025 14:22:41 +0100 Subject: Work around pango bug See https://gitlab.gnome.org/GNOME/pango/-/issues/798 and https://gitlab.gnome.org/GNOME/pango/-/issues/832 --- main/src/ui/conversation_content_view/message_widget.vala | 3 +++ 1 file changed, 3 insertions(+) (limited to 'main/src/ui/conversation_content_view/message_widget.vala') diff --git a/main/src/ui/conversation_content_view/message_widget.vala b/main/src/ui/conversation_content_view/message_widget.vala index 376ef4bd..d116e7de 100644 --- a/main/src/ui/conversation_content_view/message_widget.vala +++ b/main/src/ui/conversation_content_view/message_widget.vala @@ -140,6 +140,9 @@ public class MessageMetaItem : ContentMetaItem { } } + // Work around pango bug + markup_text = Util.unbreak_space_around_non_spacing_mark((owned) markup_text); + if (conversation.type_ == Conversation.Type.GROUPCHAT) { markup_text = Util.parse_add_markup_theme(markup_text, conversation.nickname, true, true, true, Util.is_dark_theme(this.label), ref theme_dependent); } else { -- cgit v1.3