Index: trunk/MagicSoft/Mars/mtools/MCalendar.cc
===================================================================
--- trunk/MagicSoft/Mars/mtools/MCalendar.cc	(revision 7894)
+++ trunk/MagicSoft/Mars/mtools/MCalendar.cc	(revision 7923)
@@ -268,4 +268,23 @@
 ClassImp(MCalendar);
 
+// ****************+ ROOT Bugs  *****************
+// fCornerRadius not handled in TPave::Copy
+// TEllipse::Paint(values) doesn't work at all
+// TEnv::SetValue crashes if created with default constructor
+// TEnv::Save doesn't take filename as an argument
+// TEnv::fRcName no Getter
+// DrawClone doesn't work for a canvas/pad containing a TASImage
+// TPave::GetCornerRadius not const
+// TPabe::GetBorderRadius not const
+// TEllipse is transparent if FillColor=kWhite
+// TLatex::PaintLatex also sets data members to arguments in
+//  contradiction to all other graf-classes.
+// TEnv cannot be streamed from/to a file (means: cannot be cloned!)
+// Double_t TEnv::GetValue  Typo: dobule
+// Support for TTF fonts in font directory in TText?
+// TASImage::DrawText doesn't search TTFonts in root ttfont-path
+// TTF::SetTextFont ttffont not deleted (see gSystem->Which)
+// TASImage doesn't support transparency?
+
 using namespace std;
 
@@ -1547,31 +1566,15 @@
     const UInt_t size = TMath::Nint(sz*941);
 
-    TTF::SetTextFont(file);
-    TTF::SetTextSize(size);
-
-    UInt_t wi, hi;
-    TTF::GetTextExtent(wi, hi, (char*)text);
-
-    const FT_BBox &box = TTF::GetBox();
-
     delete file;
 
-    if (size>hi)
-        hi = size;
-
-    TASImage img(wi, hi);
-    img.FillRectangle();
-
-    Double_t x = (x1+x2)/2;
-    Double_t y = (y1+y2)/2;
-
-    Double_t w = gPad->PixeltoX(wi)/2;
-    Double_t h = gPad->PixeltoY(hi)/2;
-
-    // This is the bounding box of the text
-    // If this box is not drawn part of the text disappears magically!
-    img.DrawBox(box.xMin, size, box.xMax, size-hi, "#ffffff");
-
-    DrawDate(img, 0, box.yMin, text, size, "#000000", font);
+    const Double_t x = (x1+x2)/2;
+    const Double_t y = (y1+y2)/2;
+
+    TASImage img;
+    DrawDate(img, 0, 0, text, size, "#000000", font);
+
+    const Double_t w = gPad->PixeltoX(img.GetWidth())/2;
+    const Double_t h = gPad->PixeltoY(img.GetHeight())/2;
+
     return DrawImage(img, x-w, y-h, x+w, y+h);
 }
