MAMEWorld >> MAME Artwork: Official
Previous thread Previous  View all threads Index   Next thread Next   Threaded Mode Threaded  

Pages: 1

Biafra Republic
MAME Fan
Reged: 12/26/07
Posts: 37
Send PM


New BDF Font: Segoe UI
#237677 - 10/29/10 10:33 PM Attachment: Segoe UI.7z 157 KB (26 downloads)


After finding Mr. Do's tutorial on his site, I did a test of a couple fonts to see how well they would work. Apparently, this one (Segoe UI from Windows 7) came out the best. That, and I'm nuts about keeping things neat and tidy font-family-wise across my system. Anyways, I'm attaching it here.

This is my first submission: any thoughts?



AaronGiles
Galaxiwarrior
Reged: 09/21/03
Posts: 1343
Send PM


Re: New BDF Font: Segoe UI new [Re: Biafra Republic]
#237678 - 10/29/10 10:38 PM


0.140u1 will let you use system fonts directly on Windows, no more bdfs required. The new default will be Tahoma (mainly because it is widely available and has a broad Unicode character set).

bdfs will still work, but you can save yourself the effort.



Mr. DoAdministrator
MAME Art Editor
Reged: 09/21/03
Posts: 4876
Loc: California
Send PM


Re: New BDF Font: Segoe UI new [Re: AaronGiles]
#237682 - 10/29/10 11:56 PM


> 0.140u1 will let you use system fonts directly on Windows, no more bdfs required. The
> new default will be Tahoma (mainly because it is widely available and has a broad
> Unicode character set).
>
> bdfs will still work, but you can save yourself the effort.


Whoa...


Assuming Linux and Mac will still use BDF, though?




RELAX and just have fun. Remember, it's all about the games.




Biafra Republic
MAME Fan
Reged: 12/26/07
Posts: 37
Send PM


Re: New BDF Font: Segoe UI new [Re: AaronGiles]
#237686 - 10/30/10 02:35 AM


> 0.140u1 will let you use system fonts directly on Windows, no more bdfs required. The
> new default will be Tahoma (mainly because it is widely available and has a broad
> Unicode character set).
>
> bdfs will still work, but you can save yourself the effort.

Considering that most Linux distributions don't have Tahoma built-in (though it is a dependency of wine on most Linux distros) I added this mainly as a public service to those users.



AaronGiles
Galaxiwarrior
Reged: 09/21/03
Posts: 1343
Send PM


Re: New BDF Font: Segoe UI new [Re: Mr. Do]
#237692 - 10/30/10 04:39 AM


> 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).



AaronGiles
Galaxiwarrior
Reged: 09/21/03
Posts: 1343
Send PM


Re: New BDF Font: Segoe UI new [Re: Biafra Republic]
#237693 - 10/30/10 04:41 AM


> Considering that most Linux distributions don't have Tahoma built-in

Doesn't matter because the OSD determines what your default font is. Since the Linux/Mac OSDs don't have support for system-rendered fonts (yet), they will use the existing system. If support is added in the future, whoever adds the support can select whichever font they believe is the most widely available for that system.



Robbbert
Sir
Reged: 08/21/04
Posts: 3204
Loc: A long way from you
Send PM


Re: New BDF Font: Segoe UI new [Re: AaronGiles]
#237743 - 10/31/10 02:59 PM


> 0.140u1 will let you use system fonts directly on Windows, no more bdfs required. The
> new default will be Tahoma (mainly because it is widely available and has a broad
> Unicode character set).
>
> bdfs will still work, but you can save yourself the effort.

How will one select the font to use? An ini option?



AaronGiles
Galaxiwarrior
Reged: 09/21/03
Posts: 1343
Send PM


Re: New BDF Font: Segoe UI new [Re: Robbbert]
#237775 - 10/31/10 11:56 PM


mame -uifont "segoe ui"

(or put a uifont entry in the ini)

You can also specify a .bdf file with this option, so that you don't have to rename things to ui.bdf anymore.



Robbbert
Sir
Reged: 08/21/04
Posts: 3204
Loc: A long way from you
Send PM


Re: New BDF Font: Segoe UI new [Re: AaronGiles]
#237787 - 11/01/10 05:17 AM


> mame -uifont "segoe ui"
>
> (or put a uifont entry in the ini)
>
> You can also specify a .bdf file with this option, so that you don't have to rename
> things to ui.bdf anymore.

Excellent! Thanks



R. Belmont
Cuckoo for IGAvania
Reged: 09/21/03
Posts: 9716
Loc: ECV-197 The Orville
Send PM


Re: New BDF Font: Segoe UI new [Re: AaronGiles]
#238104 - 11/05/10 05:30 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 ;-)



AaronGiles
Galaxiwarrior
Reged: 09/21/03
Posts: 1343
Send PM


Re: New BDF Font: Segoe UI new [Re: R. Belmont]
#238111 - 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.


Pages: 1

MAMEWorld >> MAME Artwork: Official
Previous thread Previous  View all threads Index   Next thread Next   Threaded Mode Threaded  

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