Thanks for the reply Phil.

I have already tried that and ther is no difference:

DFBFontDescription font_dsc;
font_dsc.flags = (DFBFontDescriptionFlags)(DFDESC_HEIGHT |
DFDESC_ATTRIBUTES);  
font_dsc.height = 32;  
font_dsc.attributes = DFFA_MONOCHROME; //Try to not use anti -aliasing
DFBCHECK (dfb->CreateFont (dfb, "times.ttf", &font_dsc, &font));
DFBCHECK (primary->SetFont (primary, font));

Is there anything that I am missing or forgetting to do?




Phil Endecott-40 wrote:
> 
> LearnerMan wrote:
>> Is there an option to turn off anti aliasing in directfb?
> 
> Anti-aliasing for text rendering is controlled by the DFFA_MONOCHROME 
> bit in the attributes field of the desc parameter passed to CreateFont.
> 
> 
> Phil.
> 
> 
> 
> _______________________________________________
> directfb-users mailing list
> [email protected]
> http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-users
> 
> 

-- 
View this message in context: 
http://www.nabble.com/anti-aliasing-question-tp19861818p19895359.html
Sent from the DirectFB Users mailing list archive at Nabble.com.

_______________________________________________
directfb-users mailing list
[email protected]
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-users

Reply via email to