PDFsharp & MigraDoc Foundation

PDFsharp - A .NET library for processing PDF & MigraDoc Foundation - Creating documents on the fly
It is currently Sat Apr 27, 2024 2:34 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 Feb 10, 2009 11:12 am 
Offline

Joined: Mon Oct 20, 2008 2:14 pm
Posts: 5
Hi,

thanks for this great library.

I use a programm with pdfsharp.
If I run this program from sheduled tasks, I get different layouts. By some fonts is the space between the letters bigger. If I run the program by hand, the space is ok.
I use windows server 2003.
Have anybody a idea?

Run by task

<pdf>
14 0 obj
<<
/ItalicAngle 0
/FontBBox[-665 -325 2000 1006]
/Type/FontDescriptor
/StemV 0
/XHeight 597
/CapHeight 905
/FontName/Calibri
/Ascent 905
/Descent -212
/Flags 32
>>
endobj
</pdf>

run by hand

<pdf>
14 0 obj
<<
/ItalicAngle 0
/FontBBox[-476 -194 1214 952]
/Type/FontDescriptor
/StemV 0
/XHeight 464
/CapHeight 632
/FontName/Calibri
/Ascent 952
/Descent -269
/Flags 32
>>
endobj
</pdf>


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Wed Feb 11, 2009 8:42 am 
Offline
PDFsharp Guru
User avatar

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

Maybe it's a rights problem.
Maybe the task can't read the Calibri file and uses a different font (default font) or default settings.

Try running the task with different user settings (Local System, normal user, power user, administrator).

_________________
Regards
Thomas Hoevel
PDFsharp Team


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Wed Feb 11, 2009 9:33 am 
Offline

Joined: Mon Oct 20, 2008 2:14 pm
Posts: 5
Thanks for your answer,

I think, its not a rights problem. In all cases, I use the same user with admin rights.
The Font is calibri, but the space between the letters is different. How do you calculate the gap between the letters?

thanks fidibus.


Top
 Profile  
Reply with quote  
PostPosted: Thu Oct 15, 2009 8:41 pm 
Offline

Joined: Thu Oct 15, 2009 8:15 pm
Posts: 1
Hi did somebody found the solution to the problem?
I have the same issue with Frutiger Font. There is a space after Capital Letter on Windows 2003 Server (Enterprise Edition). Pdf generated looks good on Windows XP Professional


Top
 Profile  
Reply with quote  
PostPosted: Fri Oct 16, 2009 4:35 am 
Offline

Joined: Mon Oct 20, 2008 2:14 pm
Posts: 5
Hi pavlentey,

yes, I have the solution for this problem in my case. I take it that, you have your font already installed for your application.

After reboot my server, it looks fine.

fidibus


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: Google [Bot] and 357 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