Alaska Software Inc. - fonts
Username: Password:
AuthorTopic: fonts
Osvaldo Ramirezfonts
on Tue, 08 Aug 2006 22:31:08 -0600
Hello guys


Is there a way to know what is the name of the font of some files ?

For example

The font courier has a file name cour.ttf.

Best Regards
Osvaldo Ramirez
Osvaldo RamirezRe: fonts
on Tue, 08 Aug 2006 23:13:34 -0600
Dear Guys

It is my own answer.

cKey := "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows  
NT\CurrentVersion\Fonts\"

oReg:= XbpReg():NEW( cKey )
oReg:Create()
aX := oReg:ValueList( .t. )

for i := 1 to len( aX )
   msgbox( "FontName:"+aX[i][1],"FontFile:"+aX[i][2] )
next

Thanks to Thomas Braun for your excent Registry Class

Best Regards
Osvaldo Ramirez
Thomas Braun
Re: fonts
on Wed, 09 Aug 2006 15:34:58 +0200
Osvaldo Ramirez wrote:

> 
> Thanks to Thomas Braun for your excent Registry Class

You are welcome... 

Thomas