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 - Set text align to center looks different
  FAQ FAQ  Forum Search   Register Register  Login Login

Set text align to center looks different

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


Joined: 14 May 12
Status: Offline
Points: 7
Post Options Post Options   Thanks (0) Thanks(0)   Quote DarrellS Quote  Post ReplyReply Direct Link To This Post Topic: Set text align to center looks different
    Posted: 15 May 12 at 6:09PM
I have finally gotten the base version of a project I am working on finished and noticed that the PDF that is being produced is about 5MB even after trying the various compression options.

I thought I would see how much the size was changed if I did not embed the True Type fonts I am using and instead used the system fonts. This did result in a significant reduction in the size of the file from 5.6MB to 35K, but any where I have specified the text alignment to be centered the text is not actually centered. It looks like an attempt was made to center it, but it didn't quite make it. It works fine with true type fonts, but not with the system fonts.

Has anyone else experienced this? If you have, how did you fix it?

Thank You,

Darrell
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: 18 May 12 at 9:45PM
Hi Darrell!

It seems you did embed the truetype font on each page?
This isn't necessary. Embed it ones and then clone the page.
This will reduce the size and you has your truetype font.

Cheers, Ingo
Back to Top
DarrellS View Drop Down
Beginner
Beginner


Joined: 14 May 12
Status: Offline
Points: 7
Post Options Post Options   Thanks (0) Thanks(0)   Quote DarrellS Quote  Post ReplyReply Direct Link To This Post Posted: 18 May 12 at 10:00PM
Actually, the document is only one page long. I am just using Arial and Times New Roman so I am thinking about just using the fonts and not embedding. It should be okay on Windows machines, but I am not sure how Macs and Linux machines will handle it. Not to mention Android phones...
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