|
Because we want to ensure that our document renders correctly on
all platforms we're going to embed our font in Unicode format. We
specify a left-to-right writing direction and we choose to subset
our font.
Please note when embedding fonts you must ensure you have
permission to embed and redistribute the embedded font as part of
your PDF.
[C#]
theDoc.Page = theDoc.AddPage();
theDoc.Font = theDoc.EmbedFont("MS PGothic", "Unicode", false,
true);
theDoc.AddText("Japanese" + theText);
[Visual Basic]
theDoc.Page = theDoc.AddPage()
theDoc.Font = theDoc.EmbedFont("MS PGothic", "Unicode", False,
True)
theDoc.AddText("Japanese" + theText)
|