Search found 706 matches

by Lzcat - Tracker Supp
Wed Jul 13, 2016 3:38 pm
Forum: PDF-XChange Core API SDK
Topic: Core API PDF optimalisation
Replies: 1
Views: 721

Re: Core API PDF optimalisation

No. In Editor all optimization are moved into separate plugin and cannot be used on Core API level.
And yes, for the moment we have no plans to implement replacements.
by Lzcat - Tracker Supp
Wed Jul 13, 2016 3:35 pm
Forum: PDF-XChange Core API SDK
Topic: Error on openDocument from File after multiple Insert page
Replies: 18
Views: 2687

Re: Error on openDocument from File after multiple Insert pa

I really need a possibility to reinitialize the core api functionality.
Can you explain why? Can you give us a sample illustrating why this is essential and cannot have any workaround?
I'm afraid that it is impossible to do this at the moment, and this cannot be changed easy because of SDK design.
by Lzcat - Tracker Supp
Wed Jul 13, 2016 3:27 pm
Forum: PDF-XChange Core API SDK
Topic: IPXS_PDFVariant
Replies: 9
Views: 1715

Re: IPXS_PDFVariant

You might have answered how the older API PXC_SetDocumentInfoExW did things, that would have helped me. It convert first string to name, second to pdf string, than took document information dictionary and set them do it using name as key and pdf string as value. PXC_SetDocumentInfoExW(doc, L"Key", ...
by Lzcat - Tracker Supp
Wed Jul 13, 2016 3:01 pm
Forum: PDF-XChange Viewer SDK
Topic: Possible encoding problem in exportAsXFDFStr
Replies: 5
Views: 1106

Re: Possible encoding problem in exportAsXFDFStr

Hi Hans-Peter. If you take a closer look at your screen-shot you will see an answer to your question it the first lines of returned string - encoding is UTF-8. So to get correct text you should convert it to other encoding you need (interpreting UTF-8 text as ASCII fails when non-ascii characters ar...
by Lzcat - Tracker Supp
Wed Jul 13, 2016 2:47 pm
Forum: PDF-XChange Core API SDK
Topic: Error on openDocument from File after multiple Insert page
Replies: 18
Views: 2687

Re: Error on openDocument from File after multiple Insert pa

"Simply speaking the number of the Init() and Finalize() should be the same." Can point me where this was stated? As far as I can see you where told that Init() must be called once . Again, as said earlier - after call Finalize all calls to other functions are not allowed. Only first call Init is r...
by Lzcat - Tracker Supp
Wed Jul 13, 2016 10:57 am
Forum: PDF-XChange Core API SDK
Topic: Error on openDocument from File after multiple Insert page
Replies: 18
Views: 2687

Re: Error on openDocument from File after multiple Insert pa

Hi Tom. Have you read previous answer? Explanation is right there! Indeed, the Initialization of the Instance should be done once per the program flow and also, the Finalize() method should be called after the project ends it's work. Please DO NOT call Init / Finalize function MORE THEN ONE TIME whe...
by Lzcat - Tracker Supp
Fri Jul 08, 2016 2:24 pm
Forum: PDF-XChange Editor
Topic: the gap between words missed
Replies: 5
Views: 587

Re: the gap between words missed

Hi Liang Sun. Problem is in the file creator code, in font creation and content generation part. Normally most characters have different width (typically form 300 to 600 in PDF font units), and spaces between words are inserted as space character, or simply as additional distance between letters (fo...
by Lzcat - Tracker Supp
Wed Jul 06, 2016 6:21 am
Forum: PDF-XChange Core API SDK
Topic: IPXS_PDFVariant
Replies: 9
Views: 1715

Re: IPXS_PDFVariant

What's the purpose or effect of the bIndirect parameter? It allow create string as separate (indirect) object in PDF. Please read PDF specification, section Syntax , especially its subsection Objects to know more. All in all, the steps required to merely add a custom property string to a PDF docume...
by Lzcat - Tracker Supp
Mon Jul 04, 2016 3:46 pm
Forum: PDF-XChange Core API SDK
Topic: Get full text from PDF
Replies: 13
Views: 1713

Re: Get full text from PDF

Hi Tom. Any sample code? You may do it yourself faster. Just add one more loop to get each character and its flags. First character of each line will have TCF_LineBegin flag set. Also please not that text in PDF file can contain any arbitrary character codes, like null-terminating characters, carria...
by Lzcat - Tracker Supp
Wed Jun 29, 2016 6:02 am
Forum: PDF-XChange Core API SDK
Topic: error COM cast
Replies: 6
Views: 1113

Re: error COM cast

Hi Tom.
Tom Princen wrote:I think I found the problem:
It is not threadsave!
You will be surprised, but PXC.Init must be called once when loading DLL (or starting application if it does not call LoadLibrary directly). It is common PDF engine initialization and should be done once until program is closed.
by Lzcat - Tracker Supp
Thu Jun 09, 2016 6:14 am
Forum: PDF-XChange Editor SDK
Topic: OpenDocumentFromFile
Replies: 3
Views: 450

Re: OpenDocumentFromFile

Hi Jeff. Opening PDF document from file does not prevent it to opening in other application, however it will be not able to save changes until you close document. If this is acceptable - you don't need to do anything specific. If not - you should make a copy of file, create thumbnail(s) from copy, a...
by Lzcat - Tracker Supp
Wed May 18, 2016 5:35 am
Forum: PDF-XChange Editor SDK
Topic: IIXC_Image.InsertPage
Replies: 24
Views: 1472

Re: IIXC_Image.InsertPage

Hi jeffp. Not exactly, but this is one of two options. Each IIXC_Page may belong to only one image or be standalone, and only standalone pages may be inserted to images. By default when loading image all pages from that image belongs to it (this is done to prevent decode entire image during load whe...
by Lzcat - Tracker Supp
Fri Mar 25, 2016 6:29 am
Forum: PDF-XChange Editor
Topic: One or more XREF chunks were not found
Replies: 23
Views: 2773

Re: One or more XREF chunks were not found

Hi Ken. Again, we do not remove information from pdf , we just cannot recover it. And when you press Save button we saving everything that we can recover, nothing more. So if we did not recover your markups it is our failure, but if you want to save document in this state - do not blame us, it was y...
by Lzcat - Tracker Supp
Thu Mar 24, 2016 4:00 pm
Forum: PDF-XChange Editor
Topic: One or more XREF chunks were not found
Replies: 23
Views: 2773

Re: One or more XREF chunks were not found

Hi Ken. We also try to repair broken files, but not in all cases we can get same results as Adobe - sometimes we do better, sometimes - Adobe. We do not remove information, we just try to recover as much as possible, and in this case recovery is working a bit worse as in Adobe. But at least we notif...
by Lzcat - Tracker Supp
Thu Mar 24, 2016 2:38 pm
Forum: PDF-XChange Editor
Topic: One or more XREF chunks were not found
Replies: 23
Views: 2773

Re: One or more XREF chunks were not found

Hi Ken.
Issue is completely same as in previous file - incorrect /Index entry in trailer.
And yes, Adobe almost never report about errors in file, but silently correct them.
HTH.
by Lzcat - Tracker Supp
Thu Mar 10, 2016 8:04 am
Forum: PDF-XChange Editor
Topic: One or more XREF chunks were not found
Replies: 23
Views: 2773

Re: One or more XREF chunks were not found

Hi Ken.
Actually this document has other issue - incorrect incremental update.
Problem is with incorrect /Index [1 1 9 1 14 6] value in trailer (file contain one more object, which is already described in object stream, but does not listed in /Index entry).
Corrected file is attached.
HTH.
by Lzcat - Tracker Supp
Fri Feb 26, 2016 2:05 pm
Forum: PDF-XChange Viewer SDK
Topic: Windows freezes
Replies: 17
Views: 2400

Re: Windows freezes

Hi. 0x82140002 - this error mean "File not found". Since you get this error from LoadSettings all we can assume that you have passed invalid path to settings file (please note that relative path can be valid or not depending on current folder, so it is recommended to use full path only). If not - we...
by Lzcat - Tracker Supp
Fri Feb 19, 2016 7:46 am
Forum: PDF-XChange Editor
Topic: "some problems were detected in the document. you may save a
Replies: 10
Views: 1137

Re: "some problems were detected in the document. you may sa

Hi riad.
There are no issues in either file.
by Lzcat - Tracker Supp
Wed Feb 17, 2016 8:41 am
Forum: PDF-XChange Editor
Topic: "some problems were detected in the document. you may save a
Replies: 10
Views: 1137

Re: "some problems were detected in the document. you may sa

Hi riad. Both files have same error. Both files are in 1.5 format and use Cross-reference streams . Everything is correct except one small thing: value of optional key /Index is incorrect. For example in file Brother(FM).pdf in cross reference dictionary there are following records: << /DecodeParms ...
by Lzcat - Tracker Supp
Fri Feb 12, 2016 10:17 am
Forum: PDF-XChange Editor
Topic: The Nightmare of Embedded Fonts...
Replies: 11
Views: 1221

Re: The Nightmare of Embedded Fonts...

Hi Barrister. I'm afraid that PDF standard does not allow do not embed fonts in all cases. If you use simply English characters and common fonts all is ok, but if you try to use something outside it may be not displayed correctly on client system unless you embed used fonts. So if yo use symbolic fo...
by Lzcat - Tracker Supp
Tue Feb 02, 2016 7:40 am
Forum: PDF-XChange Editor
Topic: Repeatable crash opening file which PDF-Xchange Viewer opens
Replies: 13
Views: 1065

Re: Repeatable crash opening file which PDF-Xchange Viewer o

Hi RussellJ.
Problem is not with portable version, but with 32-bit version (in fact portable is 32-bit, but installed in most cases 64-bit). Actually error exist on both versions, but with 64-bit version it does not crash.
It will be fixed in next build.
by Lzcat - Tracker Supp
Mon Jan 25, 2016 8:11 am
Forum: PDF-XChange Editor
Topic: Search Speed in PDF-XChange Editor
Replies: 45
Views: 6991

Re: Search Speed in PDF-XChange Editor

Hi.
Current "period of inactivity" is 10 minutes, so I don't think that 15 minutes will be much better. We will think about some extra options to tune such editor behavior.
by Lzcat - Tracker Supp
Wed Jan 20, 2016 11:05 am
Forum: PDF-XChange Viewer (End Users)
Topic: Find out the last modifyin software for a pdf doc? and more?
Replies: 4
Views: 845

Re: Find out the last modifyin software for a pdf doc? and m

Hi Denker53. Actually this is very good way to make PDF file broken. PDF files have a binary format, not textual, so editing it with any text editor is not a good idea. Even when the pdf stream is not broken - due to line-ending conversion performed in most text editors when you change the length of...
by Lzcat - Tracker Supp
Wed Jan 20, 2016 10:53 am
Forum: PDF-XChange Editor
Topic: Typewriter Tool Position
Replies: 26
Views: 3323

Re: Typewriter Tool Position

Hi Arnold. Regarding second file - this is how it should work. When clicking the cursor point not left top corner of added annotation, but at text base line, this allows much easier text positioning. Please make a small comparison of the Viewer and Editor behavior in for following: we need to add te...
by Lzcat - Tracker Supp
Tue Jan 19, 2016 7:41 am
Forum: PDF-X OCR SDK
Topic: OCR of pdf and pictures
Replies: 31
Views: 11306

Re: OCR of pdf and pictures

Hi. 3) When I convert image to pdf, the image size is quite small compared to original image. Where can I change the image size? I’ve played around with the last 2 values in below line but I couldn’t manage to make the image bigger in pdf file. PDFXC_Funcs.PXC_PlaceImage(cpage, p, Common.I2L(1), Com...
by Lzcat - Tracker Supp
Wed Dec 30, 2015 12:35 pm
Forum: PDF-XChange Editor
Topic: 'Some problems were detected in the document' - from scanner
Replies: 12
Views: 1207

Re: 'Some problems were detected in the document' - from sca

Hi SABESOFT <<... 80 578 bytes omitted ...>> xref 1 7 0000000000 65535 f 0000000009 00000 n 0000080089 00000 n 0000080186 00000 n 0000080373 00000 n 0000080431 00000 n 0000080482 00000 n trailer << /Size 7 /Root 5 0 R /Info 6 0 R >> startxref 80578 %%EOF There is only one wrong byte, marked with red...
by Lzcat - Tracker Supp
Tue Nov 10, 2015 8:14 am
Forum: PDF-Tools SDK (all our PDF DLL Libraries)
Topic: Strange PDF Behavior
Replies: 4
Views: 2264

Re: Strange PDF Behavior

Your file is invalid, and SDKs older that Editor/CoreAPI (and Viewer, which is replaced by the Editor SDK) does not handle broken files correctly. If you need detailed info - file contain streams with no Length specified (which is required by PDF specification). For example this is begining of first...
by Lzcat - Tracker Supp
Mon Nov 02, 2015 8:30 am
Forum: PDF-XChange Viewer SDK
Topic: Slow display
Replies: 5
Views: 850

Re: Slow display

Hi. Sorry, but I see no difference in speed of opening this document in Viewer/Editor/Adobe reader. The Viewer opens the document a little slower than Reader, and the Editor even a little faster than Reader. Can you add more details about the environment in which you see our products are much slower...
by Lzcat - Tracker Supp
Fri Oct 23, 2015 10:06 am
Forum: PDF-XChange Editor
Topic: PDF freezing in Adobe Reader
Replies: 4
Views: 466

Re: PDF freezing in Adobe Reader

Hi Remko. In the file you supplied there are a lot of drawings, which are represented as path objects in the PDF (a path is a sequence of lines and curves which makes the contours of a figure). Actually there are not that many path objects, but some of them are very complex - they contain a lot of l...
by Lzcat - Tracker Supp
Tue Oct 13, 2015 2:37 pm
Forum: PDF-XChange Editor SDK
Topic: How to Copy Rich text to clip board
Replies: 2
Views: 743

Re: How to Copy Rich text to clip board

Hi floater.
If you need just copy to clipborad please call CopyAsRich fucntion, and all selected text will be copied to clipboard.
If you need to inspect or get selection other way code will be much more complicated (at least for now).
HTH.
by Lzcat - Tracker Supp
Tue Oct 13, 2015 6:04 am
Forum: PDF-XChange Editor
Topic: Strange Hyperlink Going No Where
Replies: 10
Views: 946

Re: Strange Hyperlink Going No Where

Problem is fixed, fix will be available with next build.
by Lzcat - Tracker Supp
Fri Oct 09, 2015 12:29 pm
Forum: PDF-XChange Core API SDK
Topic: Core Api OpenDocument Error SOLVED
Replies: 15
Views: 6969

Re: Core Api OpenDocument Error SOLVED

I'm affraid that we will need a way to reproduce problem to be able to help, so sample or remote debug session is required.
by Lzcat - Tracker Supp
Fri Oct 09, 2015 6:40 am
Forum: PDF-XChange Core API SDK
Topic: Core Api OpenDocument Error SOLVED
Replies: 15
Views: 6969

Re: Core Api OpenDocument Error SOLVED

Is your console apllication a service?
Anyway we will need a complete sample to reproduce a problem. If you don't want to post it here you may send it to lazycat@tracker-software.com or support@tracker-software.com
by Lzcat - Tracker Supp
Fri Oct 09, 2015 5:41 am
Forum: PDF-XChange Core API SDK
Topic: Core API SDK SOLVED
Replies: 43
Views: 6620

Re: Core API SDK SOLVED

You are missing the update of changed annotation data. Please call
pNewAnnot->put_Data(data);
by Lzcat - Tracker Supp
Fri Oct 09, 2015 5:21 am
Forum: PDF-XChange Core API SDK
Topic: Core Api OpenDocument Error SOLVED
Replies: 15
Views: 6969

Re: Core Api OpenDocument Error SOLVED

Can you provide complete sample to reproduce problem?
by Lzcat - Tracker Supp
Thu Aug 06, 2015 6:30 am
Forum: PDF-XChange Viewer SDK
Topic: Bookmarks created in code appear in reverse order
Replies: 5
Views: 854

Re: Bookmarks created in code appear in reverse order

Hi Jeff. All working as expected: you add bookmark with JS action goto page with specified number, so whet you click on it script find page with specified number. But when you create bookmark using UI default action is GoTo, and it refer to page object, not using page number. This is why bookmartk w...
by Lzcat - Tracker Supp
Wed May 27, 2015 5:58 am
Forum: PDF-XChange Editor
Topic: Viewer-like typeface identification tool
Replies: 12
Views: 940

Re: Viewer-like typeface identification tool

Hi ArchStanton.
Please use Edit content tool - just SHIFT+Click on required text item and you will see font and other details in Properties pane.
by Lzcat - Tracker Supp
Mon Nov 17, 2014 8:40 am
Forum: PDF-XChange Viewer SDK
Topic: License key and CLSID vs. versions and builds
Replies: 5
Views: 1017

Re: License key and CLSID vs. versions and builds

Hello divspirit
We do not change CLSID each build, so it should be same.
HTH
by Lzcat - Tracker Supp
Tue Sep 23, 2014 7:40 am
Forum: PDF-XChange Editor
Topic: How to cancel smoothing rendering method in editor?
Replies: 20
Views: 2764

Re: How to cancel smoothing rendering method in editor?

Not exactly - with "Auto" you will get fast rendering where it is possible with minimal "hangs" in other cases. No miracles, sorry :(
by Lzcat - Tracker Supp
Tue Sep 23, 2014 7:00 am
Forum: PDF-XChange Editor
Topic: How to cancel smoothing rendering method in editor?
Replies: 20
Views: 2764

Re: How to cancel smoothing rendering method in editor?

Hi David. Actually there is three options: "No" means than rendering will be always asynchronous (and yes, you may see white pages often) "Yes" means fully synchronous mode - in this case Editor will hang until page is fully rendered. For most documents this time is very small and you may not notice...
by Lzcat - Tracker Supp
Fri Aug 29, 2014 5:54 am
Forum: PDF-Tools SDK (all our PDF DLL Libraries)
Topic: Does PXC_AddImageFromMemory() does any GDI calls internally?
Replies: 3
Views: 1316

Re: Does PXC_AddImageFromMemory() does any GDI calls interna

- when I call PXC_AddImageFromMemory(), does this one makes *any* GDI call to do its work? (I assume no). In case of raster formats - no, we do not need GDI. But when you use EMF/WMF files we use GDI functions. - then, what about PXC_AddImageFromHBITMAP()? (I assume yes). Yes, we must use them to o...
by Lzcat - Tracker Supp
Fri Jun 13, 2014 6:26 pm
Forum: PDF-XChange Viewer SDK
Topic: PXCV_DrawPageToDIBSection too slow in high dpi/sizes
Replies: 16
Views: 2972

Re: PXCV_DrawPageToDIBSection too slow in high dpi/sizes

Hi Costas. Sorry, we have no more ways to improve performance with the current version of SDK. We are working on new version, in which we can try to make improvements in speed however we cannot provide a firm date for this at this time and if your needs are pressing then realistically for now I am a...
by Lzcat - Tracker Supp
Wed May 28, 2014 6:21 am
Forum: PDF-XChange Viewer SDK
Topic: PXCV_DrawPageToDIBSection too slow in high dpi/sizes
Replies: 16
Views: 2972

Re: PXCV_DrawPageToDIBSection too slow in high dpi/sizes

Can you try to use PXCV_DrawPageToDC on a memory DC with a pre-created DIBSection (using raster renderer) and not draw all page at once, but slice it to smaller parts, with dimensions not greater than 5000 pixels? For example you need render image with width 7000 and height 11000. Than create DC wit...
by Lzcat - Tracker Supp
Fri May 23, 2014 7:55 am
Forum: PDF-XChange Viewer (End Users)
Topic: Computer Hardware
Replies: 6
Views: 1010

Re: Computer Hardware

To improve rendering time you will need: 1. As fast CPU as possible. Viewer/Editor can render PDF in multiple threads, and also use many other background threads, so 2 cores is no enough. However in most cases we not need more that two cores to render page, so cpu with 2 cores and Hyper-threading wi...
by Lzcat - Tracker Supp
Fri Sep 06, 2013 6:12 am
Forum: PDF-Tools SDK (all our PDF DLL Libraries)
Topic: Extracting Computer Modern font information
Replies: 3
Views: 1329

Re: Extracting Computer Modern font information

Hi Ben. Problem is in line PDFXC.PDFXC_Func.PXC_AddFontW(outPUF, (int)PDFXC.PDFXC_Func.PXC_FontWeight.FW_NORMAL, false, fontName, out fontID); PXC_AddFontW function cannont find CM... font in system, so it substitute them using system fonts. Unfortunately sytem font is same for all CM... fonts, this...
by Lzcat - Tracker Supp
Wed Jan 23, 2013 8:21 am
Forum: PDF-Tools SDK (all our PDF DLL Libraries)
Topic: Extracting PDF Text
Replies: 11
Views: 2918

Re: Extracting PDF Text

Hi Jeff.
I'm afraid that there is no such way (except complete PDF recreation not using PXCp_... functions).
I would think a much better solution is to use the correct text extraction libraries - there are a lot documents which use XForm objects.
by Lzcat - Tracker Supp
Fri Nov 16, 2012 7:31 am
Forum: PDF-Tools 4
Topic: invalid pdf - when merging mulitple pdf files
Replies: 4
Views: 2284

Re: invalid pdf - when merging mulitple pdf files

You may try open all files in Viewer and save all (OK, not all at once, Viewer has limit in 50 files, but this will require open 4-5 file bunches).
by Lzcat - Tracker Supp
Fri Nov 02, 2012 4:34 pm
Forum: PDF-Tools SDK (all our PDF DLL Libraries)
Topic: Finding/highlighting text objects in a given rectangle
Replies: 9
Views: 3152

Re: Finding/highlighting text objects in a given rectangle

Hi gschell. For highlighting, we may decide to cheat on that one (draw a transparent rectangle on top), but I suspect we can successfully use the low-level API to directly manipulate the values we want. Actually there is no highlight possibility in pdf content itself (of course you can modify conten...
by Lzcat - Tracker Supp
Wed Oct 24, 2012 12:58 pm
Forum: PDF-XChange Viewer (End Users)
Topic: View markups in other pdf viewers?
Replies: 11
Views: 1636

Re: View markups in other pdf viewers?

If some readers do not show comments you may always flatten them. Their appearance then becomes part of the page content, so they should be displayed (however you will be not able to edit them as before).

HTH
by Lzcat - Tracker Supp
Tue Aug 28, 2012 9:01 am
Forum: PDF-Tools SDK (all our PDF DLL Libraries)
Topic: How to enumerate/identify objects? PXCp_llGetObjectByIndex?
Replies: 3
Views: 1828

Re: How to enumerate/identify objects? PXCp_llGetObjectByInd

Hi afalsow. 1. Simple, as you mentioned. 2. You can find image(s) in the page's Resources dictionary and may delete it from there using the Low-Level API, but this is not a good idea since there will be reference(s) to that image inside the page content and some readers may report an error in page. ...