--- xcalc/xcalc.c	2022-02-22 08:59:06.524308991 -0400
+++ xcalc-ttf.c	2022-02-22 08:57:34.750312580 -0400
@@ -48,6 +48,7 @@
 #include <X11/Xaw/Label.h>
 #include <X11/Xaw/Command.h>
 #include <X11/Xaw/Toggle.h>
+#include <X11/Xaw3dxft/Xaw3dXft.h>
 #include <X11/cursorfont.h>
 #include "xcalc.h"
 
@@ -113,6 +114,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;
+}
+
     Arg		args[3];
 
     XtSetLanguageProc(NULL, (XtLanguageProc) NULL, NULL);
