This project is read-only.

High: Can I embed subset of fonts in PDF using fonet?


Can anyone at least tell me, is Fonet.Render.Pdf.FontType.Subset supported by FONET?
I am using FO net to generate PDF document in my application.
I am using FO net version of 1.0.3318.11064.
We are using "Helvetica" font family in our PDF document. Now I would like to bind subset of the fonts to my generated PDF document, how to do that?
Basically I want to do the following,
FonetDriver driver = FonetDriver.Make();
driver.Options = new Fonet.Render.Pdf.PdfRendererOptions();
driver.Options.FontType = Fonet.Render.Pdf.FontType.Embedded;
driver.Render("C:\temp\", "c:\temp\fonet.pdf");
Here, I would like to use Fonet.Render.Pdf.FontType.Subset instead of Fonet.Render.Pdf.FontType.Embedded!!
If I use Subset, I am getting following error,
System.ArgumentException: Cannot locate table 'cvt ' Parameter name: tableName at Fonet.Pdf.Gdi.Font.FontFileReader.GetTable(String tableName) at Fonet.Pdf.Gdi.Font.FontSubset.Generate(MemoryStream output) at Fonet.Render.Pdf.Fonts.Type2CIDSubsetFont.get_FontData() at Fonet.Pdf.PdfFontCreator.CreateCIDFont(String pdfFontID, Font font, CIDFont cidFont) at Fonet.Pdf.PdfFontCreator.MakeFont(String pdfFontID, Font font) at Fonet.Render.Pdf.FontSetup.AddToResources(PdfFontCreator fontCreator, PdfResources resources) at Fonet.Render.Pdf.PdfRenderer.StopRenderer() at Fonet.Fo.FOTreeBuilder.Parse(XmlReader reader)
Please reply me ASAP. Thanks in Advance.