|
From: Crossfire C. r. messages.
<cro...@li...> - 2020-11-21 17:23:04
|
Revision: 21555
http://sourceforge.net/p/crossfire/code/21555
Author: silvernexus
Date: 2020-11-21 17:22:56 +0000 (Sat, 21 Nov 2020)
Log Message:
-----------
Make Harfbuzz word wrapping wrap on characters when the word is too long to wrap in the message window.
Modified Paths:
--------------
client/trunk/ChangeLog
client/trunk/gtk-v2/src/info.c
Modified: client/trunk/ChangeLog
===================================================================
--- client/trunk/ChangeLog 2020-11-21 16:42:33 UTC (rev 21554)
+++ client/trunk/ChangeLog 2020-11-21 17:22:56 UTC (rev 21555)
@@ -8,6 +8,7 @@
Do not attempt to redraw map widget when disconnected.
Removed vestigal 0/0 next to food, xp, grace, sp, and hp bars.
Reapeated logins do not perpetually associate additional instances of the mouse button events to the map area.
+Long words no longer send Harfbuzz on a wild goose chase when the message window is too narrow to fit the word.
**Changed**
- Allow for the client to handle face sets of any reasonable size. 24x24 has been currently tested.
Modified: client/trunk/gtk-v2/src/info.c
===================================================================
--- client/trunk/gtk-v2/src/info.c 2020-11-21 16:42:33 UTC (rev 21554)
+++ client/trunk/gtk-v2/src/info.c 2020-11-21 17:22:56 UTC (rev 21555)
@@ -644,7 +644,7 @@
GTK_WIDGET(gtk_builder_get_object(window_xml, widget_name));
gtk_text_view_set_wrap_mode(
- GTK_TEXT_VIEW(info_pane[i].textview), GTK_WRAP_WORD);
+ GTK_TEXT_VIEW(info_pane[i].textview), GTK_WRAP_WORD_CHAR);
info_pane[i].textbuffer =
gtk_text_view_get_buffer(GTK_TEXT_VIEW(info_pane[i].textview));
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|