public Object getFontSmoothingValue()
   {
      switch(font_smoothing_value)
      {
      default:
      case 0:
         return RenderingHints.VALUE_TEXT_ANTIALIAS_DEFAULT;
      case 1:
         return RenderingHints.VALUE_TEXT_ANTIALIAS_OFF;
      case 2:
         return RenderingHints.VALUE_TEXT_ANTIALIAS_ON;
      case 3:
         return RenderingHints.VALUE_TEXT_ANTIALIAS_GASP;
      case 4:
         return RenderingHints.VALUE_TEXT_ANTIALIAS_LCD_HBGR;
      case 5:
         return RenderingHints.VALUE_TEXT_ANTIALIAS_LCD_HRGB;
      case 6:
         return RenderingHints.VALUE_TEXT_ANTIALIAS_LCD_VBGR;
      case 7:
         return RenderingHints.VALUE_TEXT_ANTIALIAS_LCD_VRGB;
      }

   }