View previous topic :: View next topic |
Author |
Message |
fidibus
Joined: 20 Oct 2008 Posts: 4
|
Posted: Tue Feb 10, 2009 11:12 am Post subject: Different Font drawing with sheduled task |
|
|
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> |
|
Back to top |
|
 |
Thomas Hoevel

Joined: 16 Oct 2006 Posts: 387 Location: Cologne, Germany
|
Posted: Wed Feb 11, 2009 8:42 am Post subject: |
|
|
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 |
|
Back to top |
|
 |
fidibus
Joined: 20 Oct 2008 Posts: 4
|
Posted: Wed Feb 11, 2009 9:33 am Post subject: |
|
|
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. |
|
Back to top |
|
 |
|