From: Romain D. <do...@ir...> - 2001-04-11 09:18:24
|
James Simmons wrote: > I'm looking for the best font drawing alogrithm for the framebuffer > layer. I'm been banging my head on a really fast implementation that > can work at any pixel depth. Anyone got pointers? My understanding of ruby was that a 1bit fb_image would be sent to the driver 'xxxfb_imageblit' function to be expanded in hardware. Are you talking about filling the fb_image (one per character or one per line or...), or about a generic 'xxxfb_imageblit' for driver not supplying their own ? Or eventually of adding another API similar to the current one (2.2 / 2.4) that would ask a driver to draw a specific character at a specific localtion by whatever means the driver see fit ? I believe that the last would be both easier for you (simple reuse of current working code) and the most efficient for driver writers, as they could use the best/fastest way for the hardware to draw glyphs ; it's not necessarily expanding a 1-bit image (even if it's the way I'm doing it ATM :-) Just my 0.02 euros. -- DOLBEAU Romain | l'histoire est entierement vraie, puisque ENS Cachan / Ker Lann | je l'ai imaginee d'un bout a l'autre do...@ir... | -- Boris Vian |