Login  Register

Re: Re: It seems LibreCAD's efficiency on TEXT refreshing/redraw is not good

Posted by Johnson on May 23, 2013; 10:15am
URL: https://forum.librecad.org/It-seems-LibreCAD-s-efficiency-on-TEXT-refreshing-redraw-is-not-good-tp5708102p5708109.html

Hi  Dxli
 
I try to draw QT style Text ( not RS_TEXT style) like below, but I did not see the text displayed , do you know what's the reason ?
 
void QC_ApplicationWindow::testFont()
{
    RS_PainterQt painter(getMDIWindow()->getGraphicView()->PixmapLayer2);
    painter.setPen(0,0,255);
    painter.drawText(0,0,"ABCD");
    painter.end();
    getGraphicView()->redraw();
}
 

wingame82
 
From: [hidden email]
Date: 2013-05-22 22:49
To: [hidden email]
Subject: Re: It seems LibreCAD's efficiency on TEXT refreshing/redraw is not good
Hi Johnson,

this is a known issue. Currently, LibreCAD relies on stick fonts, and can not use the system fonts either Bitmap or vector based.

A new mechanism of font support is needed here for efficiency. Any help is welcome!

Thanks,

dxli


If you reply to this email, your message will be added to the discussion below:
http://forum.librecad.org/It-seems-LibreCAD-s-efficiency-on-TEXT-refreshing-redraw-is-not-good-tp5708102p5708105.html
To start a new topic under LibreCAD-user, email [hidden email]
To unsubscribe from It seems LibreCAD's efficiency on TEXT refreshing/redraw is not good, click here.
NAML