nanogui: Rotated fonts on microwindows?


Previous by date: 22 Aug 2004 10:15:12 +0100 extending a timer's timeout, tj
Next by date: 22 Aug 2004 10:15:12 +0100 nxlib and 8bpp palette display, Hinko Kocevar
Previous in thread: 22 Aug 2004 10:15:12 +0100 Re: Rotated fonts on microwindows?, Hinko Kocevar
Next in thread: 22 Aug 2004 10:15:12 +0100 Re: Rotated fonts on microwindows?, Steven Scholz

Subject: Re: [nanogui] Rotated fonts on microwindows?
From: Steven Scholz ####@####.####
Date: 22 Aug 2004 10:15:12 +0100
Message-Id: <41286418.6000703@imc-berlin.de>

Greg,

>     After looking at this, I think the problem is in NXLIB's
> support for 1bpp pixmaps, especially using the XGetSubImage
> and XPutImage functions.  The FLTK code allocates
> a 1bpp pixmap and draws the font onto it, then reads
> areas and rotates the bits, writes it again, and then uses
> that to output the text...
> 
> It's kind of a complicated discussion, but I would like to 
> have Microwindows support 1bpp offscreen bitmaps directly,
> which it doesn't now.  (It only supports "hardware" bitmaps, 
> which in your case is 16bpp, the format of the actual screen
> data).  So the conversion for now has to be done in NXLIB,
> to convert between 16bpp GrReadArea calls from Microwindows'
> bitmaps of the font data, to 1bpp for the XGetSubImage, and then
> reverse conversion when writing...  A real pain.  (Xlib however
> does this for every image format, one of the reasons that X is
> so large... this code could be used, but it's big and hairy)

I have to admit that I don't (yet) understand all these internals.
But does that mean that I won't be able to have rotated fonts with microwindows?
I realy need them as I want to put text on some diagrams...

--
Steven

Previous by date: 22 Aug 2004 10:15:12 +0100 extending a timer's timeout, tj
Next by date: 22 Aug 2004 10:15:12 +0100 nxlib and 8bpp palette display, Hinko Kocevar
Previous in thread: 22 Aug 2004 10:15:12 +0100 Re: Rotated fonts on microwindows?, Hinko Kocevar
Next in thread: 22 Aug 2004 10:15:12 +0100 Re: Rotated fonts on microwindows?, Steven Scholz


Powered by ezmlm-browse 0.20.