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 - Italic is not valid
  FAQ FAQ  Forum Search   Register Register  Login Login

Italic is not valid

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


Joined: 19 Aug 10
Status: Offline
Points: 4
Post Options Post Options   Thanks (0) Thanks(0)   Quote mwed Quote  Post ReplyReply Direct Link To This Post Topic: Italic is not valid
    Posted: 19 Aug 10 at 2:54AM
I try to use Call pdf_object.SetFontFlags(0, 0, 0, 0, italicFlag, 0, 0, boldFlag)  and italicFlag = 1.
It keeps font regular.
How to get a italic?
Back to Top
Ingo View Drop Down
Moderator Group
Moderator Group
Avatar

Joined: 29 Oct 05
Status: Offline
Points: 3530
Post Options Post Options   Thanks (0) Thanks(0)   Quote Ingo Quote  Post ReplyReply Direct Link To This Post Posted: 19 Aug 10 at 6:47AM
Hi mwed!

You have to select the font first.
At least save the document.
Perhaps you should post a longer code snippet?
The call is correct and if it doesn't work i'm asking
you what's the resulting value of the function
(0 means that no font was selected)?

Cheers and welcome here,
Ingo

Back to Top
mwed View Drop Down
Beginner
Beginner


Joined: 19 Aug 10
Status: Offline
Points: 4
Post Options Post Options   Thanks (0) Thanks(0)   Quote mwed Quote  Post ReplyReply Direct Link To This Post Posted: 19 Aug 10 at 7:09AM
Result = pdf_object.SetFontFlags(0, 0, 0, 0, italicFlag, 0, 0, boldFlag), italicFlag = 1 and boldFlag = 1
The Result is 1, and bold is set, just the italic is not available.
Back to Top
mwed View Drop Down
Beginner
Beginner


Joined: 19 Aug 10
Status: Offline
Points: 4
Post Options Post Options   Thanks (0) Thanks(0)   Quote mwed Quote  Post ReplyReply Direct Link To This Post Posted: 19 Aug 10 at 7:11AM
does it work differently in different version?
Back to Top
Ingo View Drop Down
Moderator Group
Moderator Group
Avatar

Joined: 29 Oct 05
Status: Offline
Points: 3530
Post Options Post Options   Thanks (0) Thanks(0)   Quote Ingo Quote  Post ReplyReply Direct Link To This Post Posted: 19 Aug 10 at 10:19AM
"does it work differently in different version?"

Hi!

I hope not ;-)
What about the used Font?
It should be installed on the computer you're developing.
Does the font offer the italic attribute?

Cheers, Ingo

Back to Top
mwed View Drop Down
Beginner
Beginner


Joined: 19 Aug 10
Status: Offline
Points: 4
Post Options Post Options   Thanks (0) Thanks(0)   Quote mwed Quote  Post ReplyReply Direct Link To This Post Posted: 22 Aug 10 at 12:58PM
Hi,
The font is Arial.
Thanks:)
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