Yes I know! You are not supose to distribute fonts whitout copyright infringement unless you have writen consent and bla bla bla ...... and I'll be dead before I can even think on this because I'm not even close to super powerfull (Put your favorite to hate corporation name here).
But I'm doing this aplication for a design firm wich helps them to protect/manage their designs database and they insist on having a PDF file behavour when opening their files from my aplication. I proposed them that the file can let them know wich fonts aren't available when opening but they still don't like to lose time surfing the server looking for a font. Something like Corel Draw cdr files with the fonts used embeded in the file when the document is saved.
I think that what I need to know for this to work is:
1. How do I get the file name from a LOGFONT structure so i'll be able to save it with the document?
2. When opening a document from my aplication, how do I check if the fonts the document needs exists in the computer used to open such document just using the "font name"?
3. And how do I install a font file from my application?
IMPORTATNT: Please don't confuse font file with font name
Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.
Here is how to use MFC's automatic Radio Button handling in your dialog boxes and forms. Beginner programmers usually start with a OnClick handler for each radio button and that's just not the right way to go. MFC has a very cool system for handli…
Exception Handling is in the core of any application that is able to dignify its name.
In this article, I'll guide you through the process of writing a DRY (Don't Repeat Yourself) Exception Handling mechanism, using Aspect Oriented Programming.
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…