Search found 396 matches

by cutecode
Fri Nov 20, 2020 9:39 pm
Forum: wxCode
Topic: PDF/A-1 ISO 19005-1:2005 How to?
Replies: 33
Views: 13067

Re: PDF/A-1 ISO 19005-1:2005 How to?

and my service responed this

Code: Select all

<ns2:message>
Absolute real value must be less than or equal to 32767.0
For all CIDFont subsets referenced within a conforming file, the font descriptor dictionary shall include a
			CIDSet stream identifyi...</ns2:message>
by cutecode
Fri Nov 20, 2020 9:34 pm
Forum: wxCode
Topic: PDF/A-1 ISO 19005-1:2005 How to?
Replies: 33
Views: 13067

Re: PDF/A-1 ISO 19005-1:2005 How to?

hello. now I have these errors

Code: Select all

CIDFontSubsetWithoutCIDSet is set, but shouldn't be
CIDFontTrueTypeWithoutCIDToGIDMap is set, but shouldn't be
RealOverflow14 is set, but shouldn't be
by cutecode
Fri Nov 20, 2020 4:48 pm
Forum: wxCode
Topic: PDF/A-1 ISO 19005-1:2005 How to?
Replies: 33
Views: 13067

Re: PDF/A-1 ISO 19005-1:2005 How to?

Hello The same result Absolute real value must be less than or equal to 32767.0 DeviceRGB may be used only if the file has a PDF/A-1 OutputIntent that uses an RGB colour space I checked this file on this site https://bfo.com/blog/2017/11/08/verify_pdfa_online/ It gives more errors PDF/A-1b:2005 HasD...
by cutecode
Fri Nov 20, 2020 3:33 pm
Forum: wxCode
Topic: PDF/A-1 ISO 19005-1:2005 How to?
Replies: 33
Views: 13067

Re: PDF/A-1 ISO 19005-1:2005 How to?

utelle wrote:
Fri Nov 20, 2020 1:47 pm
A first implementation of PDF/A-1B support is now available at the wxPdfDocument GitHub repository.
WOW!!!
THANK YOU.

I will try it right now
by cutecode
Mon Nov 16, 2020 11:10 pm
Forum: wxCode
Topic: PDF/A-1 ISO 19005-1:2005 How to?
Replies: 33
Views: 13067

Re: PDF/A-1 ISO 19005-1:2005 How to?

utelle wrote:
Mon Nov 16, 2020 11:02 pm
I'm willing to add PDF/A support to wxPdfDocument somehow, but this may take some time.
I hope only on you!!!

Thank you
by cutecode
Mon Nov 16, 2020 11:06 pm
Forum: wxCode
Topic: PDF/A-1 ISO 19005-1:2005 How to?
Replies: 33
Views: 13067

Re: PDF/A-1 ISO 19005-1:2005 How to?

no its my fault I rebuilded wxPdf with an old version I rebuilded it with my current sources and version become again 1.4 And errors became the same eviceRGB may be used only if the file has a PDF/A-1 OutputIntent that uses an RGB colour space Absolute real value must be less than or equal to 32767.0
by cutecode
Mon Nov 16, 2020 10:32 pm
Forum: wxCode
Topic: PDF/A-1 ISO 19005-1:2005 How to?
Replies: 33
Views: 13067

Re: PDF/A-1 ISO 19005-1:2005 How to?

strange
version became %PDF-1.3
3 0
by cutecode
Mon Nov 16, 2020 10:25 pm
Forum: wxCode
Topic: PDF/A-1 ISO 19005-1:2005 How to?
Replies: 33
Views: 13067

Re: PDF/A-1 ISO 19005-1:2005 How to?

Now only this error

Code: Select all

DeviceRGB may be used only if the file has a PDF/A-1 OutputIntent that uses an RGB colour space
by cutecode
Mon Nov 16, 2020 10:01 pm
Forum: wxCode
Topic: PDF/A-1 ISO 19005-1:2005 How to?
Replies: 33
Views: 13067

Re: PDF/A-1 ISO 19005-1:2005 How to?

)))
Just doing it
by cutecode
Mon Nov 16, 2020 10:00 pm
Forum: wxCode
Topic: PDF/A-1 ISO 19005-1:2005 How to?
Replies: 33
Views: 13067

Re: PDF/A-1 ISO 19005-1:2005 How to?

strange, but I opened 2.pdf in an editor and at the top I see the same line which I just commented out

Code: Select all

%PDF-1.4
3 0 obj
<</Type /Page
/Parent 1 0 R
/Resources 2 0 R
/Annots []
/Group <</Type /Group /S /Transparency /CS /DeviceRGB>>
/Contents 4 0 R>>
end
by cutecode
Mon Nov 16, 2020 9:50 pm
Forum: wxCode
Topic: PDF/A-1 ISO 19005-1:2005 How to?
Replies: 33
Views: 13067

Re: PDF/A-1 ISO 19005-1:2005 How to?

I rebuilded and reinstalled wxPDF // TODO: not sure whether writing the group dictionary is necessary /* if (m_PDFVersion > wxS("1.3")) { Out("/Group <</Type /Group /S /Transparency /CS /DeviceRGB>>"); }*/ The same result. Absolute real value must be less than or equal to 32767.0 DeviceRGB may be us...
by cutecode
Mon Nov 16, 2020 7:37 pm
Forum: wxCode
Topic: PDF/A-1 ISO 19005-1:2005 How to?
Replies: 33
Views: 13067

Re: PDF/A-1 ISO 19005-1:2005 How to?

Hello, utelle!!!

Thank you for your help.

I removed all images from PDF, now I have this error

Code: Select all

DeviceRGB may be used only if the file has a PDF/A-1 OutputIntent that uses an RGB colour space
Absolute real value must be less than or equal to 32767.0
by cutecode
Mon Nov 16, 2020 5:14 pm
Forum: wxCode
Topic: PDF/A-1 ISO 19005-1:2005 How to?
Replies: 33
Views: 13067

PDF/A-1 ISO 19005-1:2005 How to?

I create PDF with wxPdfDC and send it to a web service. I get response error An XObject dictionary shall not contain the SMask key DeviceRGB may be used only if the file has a PDF/A-1 OutputIntent that uses an RGB colour space I'm not PDF-guru, what does it mean? My file should use this format -----...
by cutecode
Wed Nov 11, 2020 8:35 am
Forum: C++ Development
Topic: CURL - Invalid byte 2 of 2-byte UTF-8 sequence
Replies: 4
Views: 334

Re: CURL - Invalid byte 2 of 2-byte UTF-8 sequence

doublemax wrote:
Tue Nov 10, 2020 7:22 pm
In any case, i don't think the UTF8 conversion is the problem.
Yes. You are right!!!

While I was sleeping, a voice from above told me - "Add the header to your curl".

I added "Content-Type: application/soap+xml;charset=UTF-8"

And the problem is GONE
)))))
THANK YOU
by cutecode
Tue Nov 10, 2020 7:13 pm
Forum: C++ Development
Topic: CURL - Invalid byte 2 of 2-byte UTF-8 sequence
Replies: 4
Views: 334

Re: CURL - Invalid byte 2 of 2-byte UTF-8 sequence

hello. This didn't help. I tried both methods, the same result. I wrote the data to file my.xml. The XML looks normal. Then I Copied/Pasted the data to SoapUI and I don't get this error wxCharBuffer cb = json.ToUTF8(); curl_easy_setopt(curl_handle, CURLOPT_POSTFIELDS, (const char *)cb); //curl_easy_...