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!
![]() |
PDF to Image: letters move in eachother |
Post Reply ![]() |
Author | |
frugal ![]() Beginner ![]() Joined: 19 Dec 12 Status: Offline Points: 4 |
![]() ![]() ![]() ![]() ![]() Posted: 19 Dec 12 at 4:30PM |
Quick PDF has a feature to convert a PDF into an Image:
iNumPages := PDFLibrary.PageCount(); PDFLibrary.RenderDocumentToFile(300, 0, iNumPages, 0, 'H:\temp\quickpdf_testimage_6_new.bmp'); If this feature is executed the letters move (with some PDF sources) in each other. In the following there is a PDF and the resulting JPG: http://imgur.com/lQlPZ,qvqw0 PDF: http://www.baunetz.de/aip/2001/tunnel.pdf No there is a problem: in the resulting Image the Letters move in eachother. Edited by frugal - 19 Dec 12 at 4:33PM |
|
![]() |
|
AndrewC ![]() Moderator Group ![]() ![]() Joined: 08 Dec 10 Location: Geelong, Aust Status: Offline Points: 841 |
![]() ![]() ![]() ![]() ![]() |
This PDF contains a font (OfficinaSans-Book) that is not embedded in the PDF so Quick PDF substitutes Arial instead which has thicker characters. This is a common problem with PDF's and many PDF viewers. The best solution is to create the PDF with embedded fonts for any of the non standard fonts that are used in the PDF.
|
|
![]() |
|
frugal ![]() Beginner ![]() Joined: 19 Dec 12 Status: Offline Points: 4 |
![]() ![]() ![]() ![]() ![]() |
Thx for the info.
|
|
![]() |
|
frugal ![]() Beginner ![]() Joined: 19 Dec 12 Status: Offline Points: 4 |
![]() ![]() ![]() ![]() ![]() |
"This PDF contains a font (OfficinaSans-Book) that is not embedded in the PDF so Quick PDF substitutes Arial instead which has thicker characters."
Is there the possibilty to embed this OfficinaSans-Book into the pdf engine and force the QuickPDF to run PDFLibrary.RenderDocumentToFile with this specific font? Edited by frugal - 20 Dec 12 at 10:14AM |
|
![]() |
|
Ingo ![]() Moderator Group ![]() ![]() Joined: 29 Oct 05 Status: Offline Points: 3529 |
![]() ![]() ![]() ![]() ![]() |
Hi!
Yes. Try AddTrueTypeFontFromFile or AddTrueTypeFont: http://www.quickpdflibrary.com/help/quickpdf/AddTrueTypeFontFromFile.php Cheers, Ingo |
|
![]() |
|
frugal ![]() Beginner ![]() Joined: 19 Dec 12 Status: Offline Points: 4 |
![]() ![]() ![]() ![]() ![]() |
Thx for your answer. With AddTrueTypeFont it didn't work.
It didn't use the font that i added even if i used the SelectFont command. The result was always the same. Also the ReplaceFonts command didn't work. I also found out that adobe / foxit use multimaster fonts if they don't find a font on the system. Do you have similar features (planed) in Quickpdf? Edit: I have found the following in the FAQ: 'No, it's not currently possible to change the font that a text object uses. The problem with changing the font that a particular text object uses is that in changing the font the height and width of the characters that use that font also change and can mess up the layout of the document.' http://www.quickpdflibrary.com/faq/is-it-possible-to-change-font-for-existing-pdf-file.php Edited by frugal - 14 Jan 13 at 2:13PM |
|
![]() |
|
AndrewC ![]() Moderator Group ![]() ![]() Joined: 08 Dec 10 Location: Geelong, Aust Status: Offline Points: 841 |
![]() ![]() ![]() ![]() ![]() |
It would be easier just to install the font into Windows and the the PDF would render correctly.
Andrew. |
|
![]() |
Post Reply ![]() |
|
Tweet
|
Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |
Copyright © 2017 Debenu. Debenu Quick PDF Library is a PDF SDK. All rights reserved. About — Contact — Blog — Support — Online Store