Start of an opengl-based gdi driver

Stefan Dösinger stefan at
Tue May 29 04:16:30 CDT 2007

Am Dienstag 29 Mai 2007 00:31 schrieb Frank Richter:
> On 28.05.2007 22:23, Stefan Dösinger wrote:
> > loads it into an opengl
> > texture(GL_ALPHA) and records 256 display lists to draw textured quads.
> > So far no unicode support, no custom pens, but custom fonts work.
> One trick I've seen (in CEGUI) is to use one font texture per Unicode
> plane. So the page you attached would be the texture for plane 0 (ie
> ISO-8859-1).
> Also, why display lists? Each character is a quad. You could draw the
> text from simple quads, with some buffering to reduce overhead.
To cache the texture coordinate calculations, and in the hope that the driver 
can cache something internally. The red book also recommends the use of 
display lists for this, and display lists are fairly easy to call and record.

As for the unicode planes, yes, that's my plan, but just not implemented 
yet :-)

More information about the wine-devel mailing list