PDFsharp & MigraDoc Foundation

Embedding font problem
Page 1 of 1

Author:  brianha [ Fri Feb 23, 2007 8:07 am ]
Post subject:  Embedding font problem


I'm trying to embed a font using the Xfont constructor with XpdfOptions, but can't get it to work. Adobe reader says it can't find or create the font. What am i doing wrong?

I'm unsure about the parameters "basefont as string" and "fontfile as string"

XPdfFontOptions(True, True, "OCRBB12", "OCRB-B12.TTF")

Any help would be appreciated.

Author:  Stefan Lange [ Thu Mar 08, 2007 11:31 pm ]
Post subject: 

The documentation says:
<param name="baseFont">Not yet implemented. Should be "".</param>

This is right. Just use the first two parameters to embed the font with WinAnsi encoding.
Embedding Unicode fonts is uncomplete in the last public version, but will work in next release.

Page 1 of 1 All times are UTC
Powered by phpBB® Forum Software © phpBB Group