PDFsharp & MigraDoc Foundation

PDFsharp - A .NET library for processing PDF & MigraDoc Foundation - Creating documents on the fly
It is currently Sat Apr 27, 2024 12:19 pm

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
PostPosted: Sun Jun 29, 2008 12:30 pm 
Offline

Joined: Sat Oct 27, 2007 1:40 pm
Posts: 8
Hello,

when looking in the samples, I find the Graphics sample, where the font is measured. There is a gap above the text, that is still counted as height of the font, though nothing is printed there. Is there a way to determine the real height of the font?

I need to place other text directly above, so knowing the height is quite essential for me.

Many thanks in advance :)

regards,
Philip


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Mon Jul 14, 2008 8:14 am 
Offline
PDFsharp Guru
User avatar

Joined: Mon Oct 16, 2006 8:16 am
Posts: 3096
Location: Cologne, Germany
Hi!
Fonts have an "internal leading" (more information here).

I'm not sure if this is the problem here, but I hope it helps.

_________________
Regards
Thomas Hoevel
PDFsharp Team


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 401 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