View previous topic :: View next topic |
Author |
Message |
brianha
Joined: 29 Jan 2007 Posts: 1
|
Posted: Fri Feb 23, 2007 8:07 am Post subject: Embedding font problem |
|
|
Hi,
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"
Code: | XPdfFontOptions(True, True, "OCRBB12", "OCRB-B12.TTF")
|
Any help would be appreciated. |
|
Back to top |
|
|
Stefan Lange
Joined: 12 Oct 2006 Posts: 47 Location: Cologne, Germany
|
Posted: Thu Mar 08, 2007 11:31 pm Post subject: |
|
|
The documentation says:
Code: | <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. |
|
Back to top |
|
|
|