MAMEWorld >> MAME Artwork: Official
View all threads Index   Flat Mode Flat  

AaronGiles
Galaxiwarrior
Reged: 09/21/03
Posts: 1343
Send PM
Re: New BDF Font: Segoe UI
11/05/10 06:57 PM


> > > Assuming Linux and Mac will still use BDF, though?
> >
> > Yep, unless someone adds the equivalent OSD code to do what I do on Windows (which
> is
> > basically demand-draw each character in an offscreen bitmap at high resolution and
> > hand it back to the rendering engine).
>
> SDL_ttf really wants to draw the characters in 32-bit RGBA with alpha-channel
> anti-aliasing. The core disappoints it greatly ;-)

Actually, that's how the final bitmaps should end up (well, all pixels should be RGB(0xff,0xff,0xff) with the alpha channel set for antialiasing. On Windows I just draw them really big (200px) into a B&W bitmap without antialiasing and let the core downscale them, but you could draw them smaller and provide the antialiasing yourself.







Entire thread
Subject Posted by Posted on
* New BDF Font: Segoe UI Biafra Republic 10/29/10 10:33 PM
. * Re: New BDF Font: Segoe UI AaronGiles  10/29/10 10:38 PM
. * Re: New BDF Font: Segoe UI Robbbert  10/31/10 02:59 PM
. * Re: New BDF Font: Segoe UI AaronGiles  10/31/10 11:56 PM
. * Re: New BDF Font: Segoe UI Robbbert  11/01/10 05:17 AM
. * Re: New BDF Font: Segoe UI Biafra Republic  10/30/10 02:35 AM
. * Re: New BDF Font: Segoe UI AaronGiles  10/30/10 04:41 AM
. * Re: New BDF Font: Segoe UI Mr. DoAdministrator  10/29/10 11:56 PM
. * Re: New BDF Font: Segoe UI AaronGiles  10/30/10 04:39 AM
. * Re: New BDF Font: Segoe UI R. Belmont  11/05/10 05:30 PM
. * Re: New BDF Font: Segoe UI AaronGiles  11/05/10 06:57 PM

Extra information Permissions
Moderator:  Mr. Do 
0 registered and 7 anonymous users are browsing this forum.
You cannot start new topics
You cannot reply to topics
HTML is enabled
UBBCode is enabled
Thread views: 5475