qt-interest@trolltech.com
[Top] [All Lists]

Re: Small contribution: a TextRenderer class to replace QGLWidget::rende

Subject: Re: Small contribution: a TextRenderer class to replace QGLWidget::renderText()
From: Nathan Carter
Date: Mon, 17 Jul 2006 10:12:21 -0400
> I was interested in scaling text
> and getting past various display list errors I was getting when using
> renderText on an ancient Win2k laptop with a crappy entegrated gfx
> chipset. I've hacked these two classes up.

Related to the various contributions Will and Benoit have made here, I will
be in the future needing a class for doing rich text rendering.  I.e. I'd
like to do

    renderRichText( myqglwidget,
                    "a<sup>2</sup> + b<sup>2</sup> = c<sup>2</sup>" );

Just checking before I do that...

a) Anyone out there already done this?  That would be great.

b) Anyone else out there desperately in need of this?  I guess that would
induce me to try it sooner.

I would be using QSimpleRichText to render on images off-screen and then
creating textures from them.

Nathan


--
To unsubscribe - send a mail to qt-interest-request@xxxxxxxxxxxxx with 
"unsubscribe" in the subject or the body.
List archive and information: http://lists.trolltech.com/qt-interest/

<Prev in Thread] Current Thread [Next in Thread>