PDFsharp & MigraDoc Foundation

PDFsharp - A .NET library for processing PDF & MigraDoc Foundation - Creating documents on the fly
It is currently Sun Jun 16, 2024 3:02 am

All times are UTC


Forum rules


Please read this before posting on this forum: Forum Rules



Post new topic Reply to topic  [ 4 posts ] 
Author Message
PostPosted: Tue Nov 09, 2010 1:23 pm 
Offline

Joined: Mon Nov 01, 2010 2:23 pm
Posts: 17
Location: Prague, Czech Republic
Hi,

I noticed that when I add a paragraph to a MigraDoc document where the font has the italic style set, in the rendered PDF document the text is not in italic. The same happens when I add a FormattedText and set its Italic property to true. Bold style works correctly. Is it a known bug?


Top
 Profile  
Reply with quote  
PostPosted: Tue Nov 09, 2010 2:33 pm 
Offline
PDFsharp Guru
User avatar

Joined: Mon Oct 16, 2006 8:16 am
Posts: 3100
Location: Cologne, Germany
Italic works, but you must use a font that includes Italic.

Typically a font comes with 4 files (regular, bold, italic, bold italic). With such a font Italic will work.

If you only got regular and bold files, Italic will not work in PDF.

That's not a bug, but it's a missing feature we have on our TODO list.

_________________
Regards
Thomas Hoevel
PDFsharp Team


Top
 Profile  
Reply with quote  
PostPosted: Tue Nov 09, 2010 3:08 pm 
Offline

Joined: Mon Nov 01, 2010 2:23 pm
Posts: 17
Location: Prague, Czech Republic
Thomas Hoevel wrote:
Italic works, but you must use a font that includes Italic.

Typically a font comes with 4 files (regular, bold, italic, bold italic). With such a font Italic will work.

If you only got regular and bold files, Italic will not work in PDF.

That's not a bug, but it's a missing feature we have on our TODO list.


OK, I see it works with Times New Roman (it didn't work for Tahoma). I have to ask again: any public schedule for the new release? :)


Top
 Profile  
Reply with quote  
PostPosted: Tue Nov 09, 2010 5:22 pm 
Offline
Supporter

Joined: Fri May 15, 2009 3:28 pm
Posts: 96
its also worth noting that if you use a non standard font, you will need to embed it in your pdf. becuase if the users pc doesnt have it installed, it will default to arial or whatever.


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

All times are UTC


Who is online

Users browsing this forum: No registered users and 162 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