--- Rotated.C.orig	2025-02-13 14:47:55.636935163 +0000
+++ Rotated.C	2025-02-13 14:48:08.296935459 +0000
@@ -353,26 +353,6 @@
 
 // the public functions use the fltk global variables for font & gc:
 
-static XRotFontStruct* font;
-
-static void setrotfont(int angle) {
-  /* make angle positive ... */
-  if (angle < 0) do angle += 360; while (angle < 0);
-  /* get nearest vertical or horizontal direction ... */
-  int dir = ((angle+45)/90)%4;
-  if (font) {
-    if ((font->xfontstruct == fl_X_core_font()) && (font->dir == dir)) return;
-    XRotUnloadFont(fl_display, font);
-  }
-  font = XRotLoadFont(fl_display, fl_X_core_font(), dir);
-}
-
-void draw_rotated(const char* text, int n, int x, int y, int angle) {
-  if (!text || !*text) return;
-  setrotfont(angle);
-  XRotDrawString(fl_display, font, fl_window, fl_gc, x, y, text, n);
-}
-
 #if !defined(FLWM) || FL_MAJOR_VERSION>=2
 void draw_rotated(const char* text, int x, int y, int angle) {
   if (!text || !*text) return;
