[if gte mso 9]>

Re: [edk2] I'm new to Hii fonts and have some basic questions...

Subject: Re: [edk2] I'm new to Hii fonts and have some basic questions...

From: Tim Lewis <tim.lewis@insyde.com>

To: "edk2-devel@lists.sourceforge.net" <edk2-devel@lists.sourceforge.net>

Date: 2013-01-04 09:12:42

Thomas –

 

The EDK2 implementation does not provide any fonts other than the default font that you discovered.

 

Tim

 

From: Thomas Rognon [mailto:tcrognon@gmail.com]
Sent: Thursday, January 03, 2013 2:54 PM
To: edk2-devel@lists.sourceforge.net
Subject: [edk2] I'm new to Hii fonts and have some basic questions...

 

Hello,

 

Is 19 point sysdefault the only font available by default with UEFI?  If I want a different size font or if I want Arial, do I have to create the font package myself and specify all the glyphs and everything from scratch?

 

I tried enumerating through fonts with GetFontInfo, but didn't get anything back unless I used NULL (and it gives me the sysdefault font).  I also don't understand the point of providing StringInfoIn unless the only thing GetFontInfo can do is verify that a specified font is in the package.  Is it not possible to enumerate through the package?

 

I've been unable to find any example code of how to use a font other than sysdefault.

 

I've gotten StringToImage to work by passing NULL to StringInfo, but I want to use 14 point Arial font (or some nice font like that) instead of 19 point sysdefault font.

 

Thanks,

Thomas Rognon