Do you own a Debenu Quick PDF Library version 7, 8, 9, 10, 11, 12, 13 or iSEDQuickPDF license? Upgrade to Debenu Quick PDF Library 14 today!

Debenu Quick PDF Library - PDF SDK Community Forum Homepage
Forum Home Forum Home > For Users of the Library > I need help - I can help
  New Posts New Posts RSS Feed - how to set font styles
  FAQ FAQ  Forum Search   Register Register  Login Login

how to set font styles

 Post Reply Post Reply
Author
Message
PeterXie View Drop Down
Beginner
Beginner


Joined: 08 Aug 12
Status: Offline
Points: 10
Post Options Post Options   Thanks (0) Thanks(0)   Quote PeterXie Quote  Post ReplyReply Direct Link To This Post Topic: how to set font styles
    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!
Back to Top
AndrewC View Drop Down
Moderator Group
Moderator Group
Avatar

Joined: 08 Dec 10
Location: Geelong, Aust
Status: Offline
Points: 841
Post Options Post Options   Thanks (0) Thanks(0)   Quote AndrewC Quote  Post ReplyReply Direct Link To This Post 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


Back to Top
PeterXie View Drop Down
Beginner
Beginner


Joined: 08 Aug 12
Status: Offline
Points: 10
Post Options Post Options   Thanks (0) Thanks(0)   Quote PeterXie Quote  Post ReplyReply Direct Link To This Post Posted: 14 Aug 12 at 4:38AM
Thanks to AndrewC!
I will try it.

Back to Top
isyscorp View Drop Down
Beginner
Beginner
Avatar

Joined: 30 Aug 12
Location: Philippines
Status: Offline
Points: 19
Post Options Post Options   Thanks (0) Thanks(0)   Quote isyscorp Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
Ingo View Drop Down
Moderator Group
Moderator Group
Avatar

Joined: 29 Oct 05
Status: Offline
Points: 3529
Post Options Post Options   Thanks (0) Thanks(0)   Quote Ingo Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
AndrewC View Drop Down
Moderator Group
Moderator Group
Avatar

Joined: 08 Dec 10
Location: Geelong, Aust
Status: Offline
Points: 841
Post Options Post Options   Thanks (0) Thanks(0)   Quote AndrewC Quote  Post ReplyReply Direct Link To This Post 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.
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 11.01
Copyright ©2001-2014 Web Wiz Ltd.

Copyright © 2017 Debenu. Debenu Quick PDF Library is a PDF SDK. All rights reserved. AboutContactBlogSupportOnline Store