PDFsharp & MigraDoc Foundation

PDFsharp - A .NET library for processing PDF & MigraDoc Foundation - Creating documents on the fly
It is currently Tue Mar 19, 2024 8:23 am

All times are UTC


Forum rules


Please read this before posting on this forum: Forum Rules



Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: Embedding font problem
PostPosted: Fri Feb 23, 2007 8:07 am 
Offline

Joined: Mon Jan 29, 2007 10:49 am
Posts: 1
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.


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Thu Mar 08, 2007 11:31 pm 
Offline
empira Employee
User avatar

Joined: Thu Oct 12, 2006 10:07 pm
Posts: 49
Location: Cologne, Germany
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.


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC


Who is online

Users browsing this forum: Bing [Bot] and 57 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Privacy Policy, Data Protection Declaration, Impressum
Powered by phpBB® Forum Software © phpBB Group