From koffice-devel Mon Oct 08 23:13:48 2001 From: thil Date: Mon, 08 Oct 2001 23:13:48 +0000 To: koffice-devel Subject: Possible problem: size of font in qt3beta6 ?? X-MARC-Message: https://marc.info/?l=koffice-devel&m=100258304627543 qt3 maximise the size of the font, but the ratio: size of font/size of logical coord is not te same than in qt2 here the code: void ConnectWidget::paintEvent( QPaintEvent * ) { QPainter paint( this ); QFont font; font.setFamily( "Arial" ); font.setPointSize(10); paint.setWindow(0, 0, 100, 100); paint.setFont( font ); paint.drawText( 0, 10, "Drag and Drop WMF file on the viewer !" ); } If you change setPointSize(100) and setWindow(0,0,1000,1000) I don't think the result is correct (the size seem maximize to 50 for arial on my system) (possible confusion between logical point size and X size ??) I'm not sure bye. _______________________________________________ Koffice-devel mailing list Koffice-devel@mail.kde.org http://mail.kde.org/mailman/listinfo/koffice-devel