Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 674
  • Last Modified:

How to create ".fot" from ".ttf" file?

Hi All,

I want source code in C++ to create a ".fot" (Font Resource file") for the given TTF file?

Thanks & Regards,
Kiran G
0
kirankumar_goura
Asked:
kirankumar_goura
  • 3
  • 2
  • 2
1 Solution
 
CSecurityCommented:
#Include <windows.h>

CreateScalableFontResource(0, "C:\\Output.fot", "C:\\Verdana.ttf", "");
0
 
kirankumar_gouraAuthor Commented:
Thanks for your reply, CSecurity.

As I mentioned in my question, I want the source code in C++ (no APIs).
0
 
pgnatyukCommented:
C++ has nothing about the fonts. C++ has nothing about GUI.
Such things come from the additional libraries.
http://www.cplusplus.com/
0
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
CSecurityCommented:
Forget it, Impossible... Use the API and enjoy!
0
 
kirankumar_gouraAuthor Commented:
Thanks pgnatyuk and CSecurity.

I guess its possible, please check out the following link..
   http://lists.transgaming.org/pipermail/winex-cvs-logs/2004-January/000555.html

0
 
CSecurityCommented:
I don't see anything related to "Convert TTF to FOT" in your link... You see?
0
 
pgnatyukCommented:
This is a part of a Windows application there.  
 
0

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

  • 3
  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now