--- xmessage/xmessage.c	2022-02-22 09:08:14.771287549 -0400
+++ xmessage-ttf.c	2022-02-22 09:07:06.450290221 -0400
@@ -33,6 +33,7 @@
 #include <X11/Intrinsic.h>
 #include <X11/StringDefs.h>
 #include <X11/Shell.h>
+#include <X11/Xaw3dxft/Xaw3dXft.h>
 #include <stdio.h>
 #include <stdlib.h>
 
@@ -298,6 +299,20 @@
 int
 main (int argc, char *argv[])
 {
+Xaw3dXftData *xaw3dxft_data=NULL;
+Xaw3dXftProc *xaw3dxft_proc=NULL;
+GET_XAW3DXFT_DATA(xaw3dxft_data);
+if(xaw3dxft_data)
+{
+    xaw3dxft_data->border_hack=1;
+    xaw3dxft_data->text_fg_alternate_color=0;
+    xaw3dxft_data->encoding=-1;
+    xaw3dxft_data->menu_spacing=1;
+    xaw3dxft_data->string_use_pixmap=0;
+    xaw3dxft_data->button_dashed=0;
+    xaw3dxft_data->show_tips=1;
+}
+
     Widget top, queryform;
     XtAppContext app_con;
     char *message_str;
