Hi Robin,
Since my colleague Linda is on vacation this week, I will continue to work
with you.
Based on my understanding, you wanted to deploy&install some special fonts
in ClickOnce application.
Yes, normally, ClickOnce application does not support deploying fonts to
the system font directory. However, if you want to implement such function,
you may programmatically copy the font to "C:\windows\fonts" directory and
p/invoke AddFontResourceW GDI API to add this font resource. But this
technology only allows the other applications to use this installed font
resource. Your current ClickOnce application can not use this font unless
you restarted it. A workaround is using PrivateFontCollection.AddFontFile
method to allow this font to be used in the current ClickOnce application.
Please refer to my orginal reply below:
http://groups.google.com/group/microsoft.public.dotnet.framework/msg/347f09c
3283f6b0d
Hope it makes sense to you.
Best regards,
Jeffrey Tan
Microsoft Online Community Support
==================================================
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscriptions/managednewsgroups/default.aspx#notif
ications.
Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are best
handled working with a dedicated Microsoft Support Engineer by contacting
Microsoft Customer Support Services (CSS) at
http://msdn.microsoft.com/subscriptions/support/default.aspx.
==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.