Print Page | Close Window

Objects Render Outside Bounding Box, Thin Lines

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=3280
Printed Date: 11 Feb 26 at 5:19AM
Software Version: Web Wiz Forums 11.01 - http://www.webwizforums.com


Topic: Objects Render Outside Bounding Box, Thin Lines
Posted By: markdon
Subject: Objects Render Outside Bounding Box, Thin Lines
Date 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: 

http://https://www.arcgis.com/sharing/rest/content/items/ffbbd791c7a4487a8d4569f557b302ae/data" rel="nofollow - Original  
http://postimg.org/image/jbbkj43sl/" rel="nofollow - 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 :(

http://postimg.org/image/nzoo1q6ed/" rel="nofollow - Original
http://postimg.org/image/c93dy9ukv/" rel="nofollow - Render  (600DPI)

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




Replies:
Posted By: markdon
Date Posted: 15 Mar 16 at 11:03PM
Bump. No ideas? Maybe something to do with the order in which objects are drawn?


Posted By: Ingo
Date 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



Posted By: markdon
Date Posted: 17 Mar 16 at 9:32PM
Thanks Ingo.



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