2 2G Feb 6, 2004 #1 Hi How do you install a font using c# ? Copying it into the dir won't work. Grtz.
B Brian W Feb 6, 2004 #2 Install it through the API with P/Invoke, see the docs for AddFontResource() HTH Brian W
2 2G Feb 7, 2004 #3 I do int i = AddFontResource("c:\\microN55.ttf"); and it returns 1 but the font doesn't seem to be installed (I can't find it in the fonts dir). What should i do? Grtz
I do int i = AddFontResource("c:\\microN55.ttf"); and it returns 1 but the font doesn't seem to be installed (I can't find it in the fonts dir). What should i do? Grtz
B Brian W Feb 7, 2004 #4 You have to copy the font to the Font dir then call AddFontResource See http://msdn.microsoft.com/library/default.asp?url=/library/en-us/gdi/fontext_2ylq.asp for more information. HTH Brian W
You have to copy the font to the Font dir then call AddFontResource See http://msdn.microsoft.com/library/default.asp?url=/library/en-us/gdi/fontext_2ylq.asp for more information. HTH Brian W