Print Page | Close Window

how to set font styles

Printed From: Debenu Quick PDF Library - PDF SDK Community Forum
Category: For Users of the Library
Forum Name: I need help - I can help
Forum Description: Problems and solutions while programming with the Debenu Quick PDF Library and Debenu PDF Viewer SDK
URL: http://www.quickpdf.org/forum/forum_posts.asp?TID=2366
Printed Date: 13 May 25 at 12:59PM
Software Version: Web Wiz Forums 11.01 - http://www.webwizforums.com


Topic: how to set font styles
Posted By: PeterXie
Subject: how to set font styles
Date Posted: 09 Aug 12 at 10:44AM
Hi All again,

Is it able to set the font style, such as italic, underline before drawing the text?

Thanks!



Replies:
Posted By: AndrewC
Date Posted: 10 Aug 12 at 3:42PM
This is all mentioned in the reference manual.  Search for 'Italic' and 'Underline'.

 1. QP.AddStandardFont()  - has some bold and italic fonts to choose from.

 2. QP.AddTreTypeFont("Times New Roman [BoldItalic]", 1);

 3. QP.SetTextUnderline(1); 

Underline The underline mode to use:
  0 = None
  1 = Single
  2 = Double
  3 = Strikeout
  4 = Over




Posted By: PeterXie
Date Posted: 14 Aug 12 at 4:38AM
Thanks to AndrewC!
I will try it.



Posted By: isyscorp
Date Posted: 08 Sep 12 at 5:23PM
Hi, i have the same concern of wanting to change all TEXTS FONT inside a certain PDF File into a different FONT STYLE but it should not change it's Font Size. Is this possible?

Thanks,
Vid


Posted By: Ingo
Date Posted: 09 Sep 12 at 1:44PM
If the pdf-document is made then it's made, fixed and end.
It#s really hard stuff to change anything having to do with the content.
With QP you shouldn't try it.

Cheers, Ingo


Posted By: AndrewC
Date Posted: 10 Sep 12 at 8:14AM
As Ingo says it is not easy to change fonts in a PDF document.  PDF files by design, are not easy to change and were never designed to be changed.

Andrew.



Print Page | Close Window

Forum Software by Web Wiz Forums® version 11.01 - http://www.webwizforums.com
Copyright ©2001-2014 Web Wiz Ltd. - http://www.webwiz.co.uk