PDFsharp & MigraDoc Foundation

PDFsharp - A .NET library for processing PDF & MigraDoc Foundation - Creating documents on the fly
It is currently Thu Jul 18, 2024 5:22 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: Underlining spaces?
PostPosted: Thu Mar 08, 2012 3:22 pm 
Offline

Joined: Thu Feb 09, 2012 4:59 pm
Posts: 14
Hi folks,

I'm finding that when i print underlined text the spaces between words don't get underlined. Is there any way I can get the spaces to be underlined, or do I need to modify my PDFSharp source code?


Top
 Profile  
Reply with quote  
 Post subject: Re: Underlining spaces?
PostPosted: Thu Mar 08, 2012 3:46 pm 
Offline

Joined: Thu Feb 09, 2012 4:59 pm
Posts: 14
Quick update:

It only happens when I use an XTextFormatter as opposed to the bare XGraphics object. I think it's because XTextFormatter breaks the text up into words and prints each one individually. I'm going to try making XTextFormatter stick all blocks in a line together and print them as a single string. This'll break justified alignment, but I think it's fine for my purposes since I don't use justified.


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: No registered users 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