Newsgroups : Borland : borland.public.delphi.nativeapi.win32 : 2006 Nov : Font question

www.cryer.info
Managed Newsgroup Archive

Font question

Subject:Font question
Posted by:"forums.borland.com" (aols..@bizwi.rr.com)
Date:Wed, 1 Nov 2006 10:51:40

I'm using the CreateFont() API call to make changes to teh nWidth param so
that a given font typeface can appear wider or narrower.

When i send zero as the nWidth parameter, the system figures out the average
character width of the typeface self.

My question is - how can i figure out what this average character width
value is?  is there a call i can make to determine this?  Can i follow up
the CreateFont call w/ a second api call that will return the value?

Thanks.

Alan

Replies:

www.cryer.info
Managed Newsgroup Archive