#include #include #include #include #include #include #include #include #include "../../jkqtmathtext.h" #include "../../jkqtphighrestimer.h" #include "testform.h" #define W 2000 #define H 3000 #define X1 15 #define Y1 50 /* HighResTimer ht; double draw(QPainter& painter, double X, double YY, JKQTmathText& mt, QString name) { double Y=YY; painter.save(); ht.start(); QSizeF s=mt.getSize(painter); Y=Y+mt.getAscent(painter); std::cout<<" sizing in "<"+mt.toHtml(&okh)+"


"); qDebug()<<"HTML1: ---------------------------------------------\n"<"+mt.toHtml(&okh)+"


"); qDebug()<<"HTML2: ---------------------------------------------\n"<"+mt.toHtml(&okh)+"


"); qDebug()<<"HTML2: ---------------------------------------------\n"<