Q: We are interested in your product - PDF2XPS (
http://www.pdftron.com/
pdf2xps/index.html and as part of PDFNet-
http://www.pdftron.com/pdfnet/index.html
and ) and now we are testing it for our requirements. And now we faced
with some interesting problem: after converting some PDF book we get
XPS book, which uses fonts like OpenType fonts with Postscript
outline. When we try to display this document with Silverlight 4, we
get an error.
We are looking for solution now and want to ask you:
- Why after converting every pdf file we get books with such fonts -
OpenType fonts with Postscript outline?
- Is there any way to change font through converting?
- If it is no, maybe, is there any tool to change fonts in XPS
document ?
I attached examples of document (PDF source file and XPS result file
after using PDFTron).
Thank you for help.
---------------------
A: Actually Silverlight supports TrueType fonts with Postscript
outlines (OTD with CFF table). The problem is that .NET and
Silverlight apparently have different font engines which are not fully
compatible. In the latest version of PDFNet (see Convert sample -
http://www.pdftron.com/downloads/PDFNet.zip) we have tweaked font
generation so that fonts can be processed in both Silverlight
and .NET.
You probably do not want to use a PDF to XPS converter that is only
using true type fonts because most glyph formats that can occur in PDF
(e.g. CFF, Type1, OTF, Type3 etc) use cubic curves and they can't be
accurately and efficiently described using quadratic curves.
Btw since you are working with Silverlight you may be interested in a
specialized PDF to Silverlight converter (from PDFTron) which now in
beta phase.