Link to home
Start Free TrialLog in
Avatar of kirankumar_goura
kirankumar_gouraFlag for India

asked on

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
Avatar of CSecurity
CSecurity
Flag of Iran, Islamic Republic of image

#Include <windows.h>

CreateScalableFontResource(0, "C:\\Output.fot", "C:\\Verdana.ttf", "");
Avatar of kirankumar_goura

ASKER

Thanks for your reply, CSecurity.

As I mentioned in my question, I want the source code in C++ (no APIs).
C++ has nothing about the fonts. C++ has nothing about GUI.
Such things come from the additional libraries.
http://www.cplusplus.com/
ASKER CERTIFIED SOLUTION
Avatar of CSecurity
CSecurity
Flag of Iran, Islamic Republic of 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
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

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