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 - Objects Render Outside Bounding Box, Thin Lines
  FAQ FAQ  Forum Search   Register Register  Login Login

Objects Render Outside Bounding Box, Thin Lines

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


Joined: 25 Feb 16
Location: TAS, Australia
Status: Offline
Points: 4
Post Options Post Options   Thanks (0) Thanks(0)   Quote markdon Quote  Post ReplyReply Direct Link To This Post Topic: Objects Render Outside Bounding Box, Thin Lines
    Posted: 09 Mar 16 at 3:50AM
Hi,
I'm trying out Quick PDF for an iOS app that would use some reasonably detailed geospatial PDF files.

When using code like:

let tempDir = NSTemporaryDirectory()
let sourcePath = NSBundle.mainBundle().pathForResource("example_Geo_PDF", ofType: "pdf")
let loadResult = debenu.LoadFromFile(sourcePath, "")
let renderResult = debenu.RenderDocumentToFile(72, 1, debenu.PageCount(), 1, tempDir + "example_Geo_PDF.png")

The render has a couple of problems that I'm not yet sure how to fix. 

Many shapes are drawn outside what should be their bounding box. Example: 

Original 
Render

I also have two maps that use thin lines for contours and outlines, but when rendered at higher DPI the lines are so fine they can barely be seen. I cannot provide the PDF documents for them :(

Original
Render (600DPI)

I saw a line thickness option under SetGDIPlusOptions, is there something like that for iOS?

Back to Top
markdon View Drop Down
Beginner
Beginner


Joined: 25 Feb 16
Location: TAS, Australia
Status: Offline
Points: 4
Post Options Post Options   Thanks (0) Thanks(0)   Quote markdon Quote  Post ReplyReply Direct Link To This Post Posted: 15 Mar 16 at 11:03PM
Bump. No ideas? Maybe something to do with the order in which objects are drawn?
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 (1) Thanks(1)   Quote Ingo Quote  Post ReplyReply Direct Link To This Post Posted: 17 Mar 16 at 8:49PM
perhaps you should post it into the official support page from Debenu:
http://www.debenu.com/support/contact/

Cheers and welcome here,
Ingo

Cheers,
Ingo

Back to Top
markdon View Drop Down
Beginner
Beginner


Joined: 25 Feb 16
Location: TAS, Australia
Status: Offline
Points: 4
Post Options Post Options   Thanks (0) Thanks(0)   Quote markdon Quote  Post ReplyReply Direct Link To This Post Posted: 17 Mar 16 at 9:32PM
Thanks Ingo.
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