PDFsharp & MigraDoc Foundation

PDFsharp - A .NET library for processing PDF & MigraDoc Foundation - Creating documents on the fly
It is currently Wed Jul 10, 2024 2:30 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: Sun May 29, 2011 10:24 pm 
Offline

Joined: Sun May 29, 2011 3:14 pm
Posts: 3
LS,

When I use: gfx.DrawString("€", font, XBrushes.Black, Tab3, RT * RegelHoogte); than it will not put the eurosign on the PDF but a question mark?

I tried using several different font (I tried all fonts in Word and they do not have any trouble displaying the euro sign).

How can I solve this problem?

Greetings Clemens


Top
 Profile  
Reply with quote  
PostPosted: Mon May 30, 2011 6:56 am 
Offline
PDFsharp Guru
User avatar

Joined: Mon Oct 16, 2006 8:16 am
Posts: 3101
Location: Cologne, Germany
Hi!

Did you try with Unicode on?
http://www.pdfsharp.net/wiki/Unicode-sample.ashx

From your other post I presume you use LightSwitch. This is the PDFsharp forum. We do not support 3rd party products here, even if those products are based on PDFsharp.

_________________
Regards
Thomas Hoevel
PDFsharp Team


Top
 Profile  
Reply with quote  
PostPosted: Fri Jun 03, 2011 5:12 pm 
Offline

Joined: Sun May 29, 2011 3:14 pm
Posts: 3
Hi Thomas,

That did the trick. I now at least have the euro symbol.

I had no idea i was using a 3rd party version. And I do understand that Silverlight may have some extra problems.

But can you at least give me a sample of how to display graphics using PDF-Sharp.

On your website you have some pictures of cars, however there is no source available, or at least I cannot find it.

Could you at least give me a sample of how to load and display a JPG picture using your standard PDF-Sharp.

Kind regards,



Clemens Linders


Top
 Profile  
Reply with quote  
PostPosted: Fri Jun 03, 2011 7:58 pm 
Offline

Joined: Wed Apr 13, 2011 6:39 pm
Posts: 21
Hi Clemens,

look into the samples to PDFSharp.
The direct link to the code there is, I think:
http://www.pdfsharp.net/wiki/Graphics-s ... al_size_20

HTH
Reiner


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: Bing [Bot] and 29 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