Javin007
asked on
VB.NET 2010 Embed Font
I'm trying to figure out how to embed a font into an application. I don't want the font to be installed on the user's machine, but rather simply be used in a single control on the form. I've tried numerous "embed font" code snippets only to run into errors with each one.
Any help appreciated.
Any help appreciated.
ASKER
That is precisely one of the code snippets I checked out that did nothing but produce errors.
ASKER
I saw it, but I did not try it for the following reason:
My question:
"I don't want the font to be installed on the user's machine..."
That demo:
"The steps we will do here for the demonstration are:
"Install the font
My question:
"I don't want the font to be installed on the user's machine..."
That demo:
"The steps we will do here for the demonstration are:
"Install the font
you need to install it on your development PC but not on other PCs
ASKER
This project is in C#. I don't have any C# IDEs installed on my system.
you can take FontEmbedding.dll from my zip file!
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Correction... While this method throws no errors, and does change the size of the text, it does not actually use the embedded font. >:(
ASKER
Grr. As it turns out, Textboxes have no "UseCompatibleTextRenderin g" property. Still looking for suggestions.
ASKER
No valid answers given.
http://www.tek-tips.com/fa