+/**
+ * \file textpainter.C
+ * This file is part of LyX, the document processor.
+ * Licence details can be found in the file COPYING.
+ *
+ * \author André Pönitz
+ *
+ * Full author contact details are available in file CREDITS.
+ */
+
+#include <config.h>
#include "textpainter.h"
-#include "support/LOstream.h"
+#include "support/std_ostream.h"
TextPainter::TextPainter(int xmax, int ymax)