By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
455,462 Members | 1,438 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 455,462 IT Pros & Developers. It's quick & easy.

font problems

P: n/a
part 1 installing:

I do the following to install a font
File.Copy(f.Path, iPath + "\\" + n, true);

AddFontResource(iPath + "\\" + n);

but is doesn't seem to work completely, the font seems to be installed but
when (already) running photoshop etc. the font is not added, if i reopen
photoshop then the font is available.
Also is my program itself , the InstalledFontCollection keeps saying that it
is not installed untill i restart my prog. I've read something about
SendMessage but i have no idea how to do this.
part 2 uninstalling:

I guess since installing is done in +-such a manner, then uninstalling will
RemoveFontResource(iPath + "\\" + n);

File.Delete(iPath + "\\" + n);

but also problems here, the file stays in my fonts dir and is still
installed ?

Nov 15 '05 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.