I have a Silverlight application that I need to embed some less-than-common fonts in. It\'s simple enough for me to just copy over the TTF/OTF and compile that with my app.
The native API CreateFontPackage may be what you're looking for. You can pass a TTF and a list of characters to keep. If you pass TTFCFP_SUBSET
for usSubsetFormat
, you'll then get back a working TTF with only those characters.
Here's a thread with what appears to be code of a working example (in C, unfortunately).