PDFsharp & MigraDoc Foundation

PDFsharp - A .NET library for processing PDF & MigraDoc Foundation - Creating documents on the fly
It is currently Thu Mar 28, 2024 2:05 pm

All times are UTC


Forum rules


Please read this before posting on this forum: Forum Rules



Post new topic Reply to topic  [ 5 posts ] 
Author Message
PostPosted: Tue Sep 22, 2015 5:48 pm 
Offline

Joined: Tue Feb 10, 2015 11:32 am
Posts: 6
PDFSharp ignores the IsFilled property of a Path Figure!


Top
 Profile  
Reply with quote  
PostPosted: Tue Sep 22, 2015 6:56 pm 
Offline
PDFsharp Expert
User avatar

Joined: Wed Dec 09, 2009 8:59 am
Posts: 339
Hi!

Which version?
Sample code to replicate the problem?

See also:
viewtopic.php?f=3&t=3197

_________________
Öhmesh Volta ("() => true")
PDFsharp Team Holiday Substitute


Top
 Profile  
Reply with quote  
PostPosted: Wed Sep 23, 2015 6:19 pm 
Offline

Joined: Tue Feb 10, 2015 11:32 am
Posts: 6
I use my forked version @github (cause I need XPS support), but it will also not work in the Nuget-Version!
https://github.com/jogibear9988/PdfSharp

I looked at the DLL with Reflector, and the Path Code Looks the same! The "IsFilled" of a PathFigure is not used! The Fill Brush of the Path is used, but not the IsFilled of the Figure, some of the Fgures can be filled and some not!

I've fixed it for me with this code: https://github.com/jogibear9988/PdfShar ... 8ea84518c4 but that removes the Fill when One Figure is not filled, so it is not the correct fix!


Top
 Profile  
Reply with quote  
PostPosted: Thu Sep 24, 2015 6:15 am 
Offline
PDFsharp Expert
User avatar

Joined: Wed Dec 09, 2009 8:59 am
Posts: 339
You should have mentioned that you were talking about XPS conversion.

_________________
Öhmesh Volta ("() => true")
PDFsharp Team Holiday Substitute


Top
 Profile  
Reply with quote  
PostPosted: Thu Sep 24, 2015 1:10 pm 
Offline

Joined: Tue Feb 10, 2015 11:32 am
Posts: 6
() => true wrote:
You should have mentioned that you were talking about XPS conversion.


Okay, and will that be fixed? Or is that fixable? I looked at the PDF Doc while trying to fix, and my problem is that in PDF only the whole Path can be filled, while in XAML also a PathFigure can be Filled or not! Any Idea how to fix?


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

All times are UTC


Who is online

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