You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello. I'm trying to create pdf out of json file.
I'm looking for a way to set the custom page size, but unable to find it and start looking into standard sizes provided with parameter paper. And I found what I'm looking for. Format "Letter", however standard of letter has dimensions of 612x792 but in pdfcpu it has size 612x791. May you advice is that a bug?
And is there any way to set the custom size?
Also would be interesting to know, how to set media box.
I don't understand where is this media box comes from <MediaBox, [0.00 0.00 595.00 842.00]>, as I have another sizes. I'm trying to solve the issue of correctly positioning text, but my text for some reasons misaligned originally it must be around 15 point lower, trying to recreate pdf after OCR.
The text was updated successfully, but these errors were encountered:
Hello. I'm trying to create pdf out of json file.
I'm looking for a way to set the custom page size, but unable to find it and start looking into standard sizes provided with parameter paper. And I found what I'm looking for. Format "Letter", however standard of letter has dimensions of 612x792 but in pdfcpu it has size 612x791. May you advice is that a bug?
And is there any way to set the custom size?
Also would be interesting to know, how to set media box.
Here is my json
and later there is only pure text create with absolute position.
And in log I see
I don't understand where is this media box comes from <MediaBox, [0.00 0.00 595.00 842.00]>, as I have another sizes. I'm trying to solve the issue of correctly positioning text, but my text for some reasons misaligned originally it must be around 15 point lower, trying to recreate pdf after OCR.
The text was updated successfully, but these errors were encountered: