Index: /branches/eam_branches/ipp-20100823/Ohana/src/libkapa/src/RotFont.c
===================================================================
--- /branches/eam_branches/ipp-20100823/Ohana/src/libkapa/src/RotFont.c	(revision 29351)
+++ /branches/eam_branches/ipp-20100823/Ohana/src/libkapa/src/RotFont.c	(revision 29352)
@@ -10,7 +10,12 @@
 static RotFont *currentfont;
 
+static int RotFontInited = FALSE;
+
 void InitRotFonts () {
 
   int i, Nhardwired;
+
+  if (RotFontInited) return;
+  RotFontInited = TRUE;
 
   Nhardwired = sizeof (HardwiredFonts) / sizeof (FontSet);
@@ -32,4 +37,6 @@
   
   int i, nsize, msize, bsize, bigger, dsize, match, good;
+
+  InitRotFonts();
 
   bigger = good = match = -1;
@@ -69,4 +76,6 @@
 char *GetRotFont (int *size) {
 
+  InitRotFonts();
+
   *size = currentsize;
   return (currentname);
@@ -75,4 +84,7 @@
 
 RotFont *GetRotFontData (double *scale) {
+
+  InitRotFonts();
+
   *scale = currentscale;
   return (currentfont);
@@ -84,4 +96,6 @@
   double scale; 
   
+  InitRotFonts();
+
   scale = currentscale;
 
