Hi,
The feature is supported now. Please try the attachment before new hotfix.
A new property "TruetypeFontMapStream" and a new method CreateTruetypeFontMapStream() are added into Pdf class. Here is an example:
MemoryStream fontMap = Pdf.CreateTruetypeFontMapStream();
Pdf pdf = new Pdf();
pdf.IsTruetypeFontMapCached = true;
pdf.TruetypeFontMapStream = fontMap;
Section sec1 = pdf.Sections.Add();
Text t1 = new Text("Hello world");
t1.TextInfo.FontName = "Arial";
t1.TextInfo.IsUnicode = true;
sec1.Paragraphs.Add(t1);
pdf.Save("d:/test/test.pdf");
pdf = new Pdf();
pdf.IsTruetypeFontMapCached = true;
pdf.TruetypeFontMapStream = fontMap;
pdf.BindFO(@"D:\CSharp\Test\TestFO\basic\TrueType.fo");
pdf.Save("d:/test/test.pdf");
Best regards,
Hans Zhang
Product Developer
Aspose Changsha Team
About UsContact Us