PDFsharp & MigraDoc Foundation

PDFsharp - A .NET library for processing PDF & MigraDoc Foundation - Creating documents on the fly
It is currently Sun May 05, 2024 2:35 am

All times are UTC


Forum rules


Please read this before posting on this forum: Forum Rules



Post new topic Reply to topic  [ 4 posts ] 
Author Message
 Post subject: SmallCaps
PostPosted: Thu Dec 10, 2009 9:06 am 
Offline

Joined: Mon Sep 14, 2009 8:56 am
Posts: 2
Hello,

Does the Migradoc Font support Small Capitals (aka small caps)

Thanks,

-Edoode


Top
 Profile  
Reply with quote  
 Post subject: Re: SmallCaps
PostPosted: Thu Dec 10, 2009 10:09 am 
Offline
Supporter

Joined: Fri May 15, 2009 3:28 pm
Posts: 96
Hi,

I cant see any properties to set "Small Caps" on the MigraDoc.DocumentObjectModel.Font object, but couldnt you just reduce the font size and call ToUpperInvariant() on the string before you add it to the DocumentObject. this should do the same thing.

Mike


Top
 Profile  
Reply with quote  
 Post subject: Re: SmallCaps
PostPosted: Thu Dec 10, 2009 11:48 am 
Offline

Joined: Mon Sep 14, 2009 8:56 am
Posts: 2
Thanks Mike.

Reason I asked is that in MigraDoc.DocumentObjectModel.Font there's comment reading ' // * .SmallCaps = False' so ithought this may have been implemented. I'll try your suggestion in the meantime.

-Edoode


Top
 Profile  
Reply with quote  
 Post subject: Re: SmallCaps
PostPosted: Thu Dec 10, 2009 4:47 pm 
Offline
Supporter

Joined: Fri May 15, 2009 3:28 pm
Posts: 96
yeah, i have noticed quite a lot of commenting out in the source files, hopefully these commented items may be inplemented in future releases as I have spotted quite a few cool looking things.

Mike


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

All times are UTC


Who is online

Users browsing this forum: Google [Bot] and 74 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