How to find the physical path of a font...?
I'm writing an app that basically sychronises PDAs with the overall system, so I need to be able to send fonts down to the PDAs if someone changes a setting.
This is not going to be a problem at all, provided I can find the actualy location (path) of the font on the server machine without hard-coding in
"c:\windows\fonts".
Any ideas?
Re: How to find the physical path of a font...?
Just one way...
vb Code:
MessageBox.Show(Environment.GetEnvironmentVariable("WINDIR").ToString & "\Fonts")
Re: How to find the physical path of a font...?
That assumes that the fonts directory is called "Fonts" (which is ok I guess), but I still wouldn't know the extension of the font or the font file name. Courier, for example, is "COUR.TTF"
:(
Re: How to find the physical path of a font...?
Well the other thing is that you can not just copy and paste a Font resource as it should be installed but if not I would assume it will find and use it without error if its in the proper folder.
Are you trying to synch fonts or a document that uses a particular font or ???
Re: How to find the physical path of a font...?
Trying to synch an application that may be used in different languages and as such may require special fonts