Hi all. Question is about src/core/fonts.c:100 "if ((font->pixel_format == DSPF_ARGB || font->pixel_format == DSPF_ARGB4444) && dfb_config->font_premult) font->surface_caps = DSCAPS_PREMULTIPLIED;" As I see premultiplication is available only with two pixel formats. What is the main reason for this boundaries? I see no barriers to allow premultiplication for other formats (with adding support to IDrirectFont/*).
I write gfxcard driver for one device. Device supports only RGBA* pixel formats. So, to allow blit operation with COLORIZE flag (render some text) I really need fonts to be premultiplicated. Setting dfb_config->font_format to ARGB4444 solves the problem, but it's a work around and that is not cool. -- С Уважением. Стас. _______________________________________________ directfb-dev mailing list directfb-dev@directfb.org http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-dev