Link to home
Start Free TrialLog in
Avatar of Javin007
Javin007Flag for United States of America

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.
Avatar of ajb2222
ajb2222

Avatar of Javin007

ASKER

That is precisely one of the code snippets I checked out that did nothing but produce errors.
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
you need to install it on your development PC but not on other PCs
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
Avatar of Javin007
Javin007
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Correction... While this method throws no errors, and does change the size of the text, it does not actually use the embedded font.  >:(
Grr.  As it turns out, Textboxes have no "UseCompatibleTextRendering" property.  Still looking for suggestions.
No valid answers given.