![]() |
#1 |
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 262
Karma: 110864
Join Date: Mar 2013
Location: Bordeaux, France
Device: Kobo Glo, Aura HD, kindle paperwhite
|
pdf page cut (with test file)
Hi,
Pdf display fine if the whole has the same orientation. But, if the first page is portrait, and the next is landscape, then the landscape pages are trimmed (cut). Hope this helps Regards François |
![]() |
![]() |
![]() |
#2 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 24,905
Karma: 47303822
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
|
I remember seeing that a while ago with the local train time table. The pages were sized for a small page and worked very well on both the Glo and Touch. But, there was one page that had a different orientation and it didn't work. But, I thought it had been fixed as I don't remember seeing that recently.
What firmware version are you seeing this with? |
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 262
Karma: 110864
Join Date: Mar 2013
Location: Bordeaux, France
Device: Kobo Glo, Aura HD, kindle paperwhite
|
Hi David,
FW 3.8 without any modifications. Regards François |
![]() |
![]() |
![]() |
#4 |
Dead account. Bye
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 587
Karma: 668244
Join Date: Mar 2011
Device: none
|
Ooops, I missed this thread and I have started another thread for it... Sorry!
![]() ![]() As expected I can confirm it. I really think that the problem is that pdf viewer gets locked in the very first page size... You get cropped pages in either Landscape>Portrait or Portrait>Landscape. AuraHD with 3.8.0. in my case. |
![]() |
![]() |
![]() |
#5 |
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 59
Karma: 13124
Join Date: Jul 2008
Device: Kobo Aura HD
|
Yes, if you add a bigger page at the beginning of the pdf, it doesn't crop anymore. I've seen this bug for a long time, though
Python hack to add an empty page with size of biggest page in pdf. PyPDF2 needed: https://github.com/mstamy2/PyPDF2 Code:
import PyPDF2 import sys ifile = sys.argv[1] pdfinput = PyPDF2.PdfFileReader(open(ifile, "rb")) pdfoutput = PyPDF2.PdfFileWriter() print pdfinput.getDocumentInfo() n = pdfinput.getNumPages() maxw = 0 maxh = 0 page0 = pdfinput.getPage(0) for i in range(n): page = pdfinput.getPage(i) w = page.cropBox.getWidth() h = page.cropBox.getHeight() if w > maxw: maxw = w if h > maxh: maxh = h print maxw, maxh firstpage = page0.createBlankPage(None,float(maxw),float(maxh)) print "writing ..." pdfoutput.addPage(firstpage) for i in range(n): page = pdfinput.getPage(i) pdfoutput.addPage(page) # finally, write "output" to document-output.pdf outputStream = file("document-output.pdf", "wb") pdfoutput.write(outputStream) Last edited by ksiflhjla8; 09-07-2014 at 12:16 PM. |
![]() |
![]() |
Advert | |
|
![]() |
#6 |
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 262
Karma: 110864
Join Date: Mar 2013
Location: Bordeaux, France
Device: Kobo Glo, Aura HD, kindle paperwhite
|
Hi,
Thank you ksiflhjla8 for this hack, it is a very good idea ![]() François |
![]() |
![]() |
![]() |
#7 |
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 260
Karma: 1014230
Join Date: Jan 2010
Device: Onyx Boox T68, Kobo Aura HD, Pocketbook 302, Pocketbook 912, Nook HD+
|
Just as an FYI, koreader does not have this problem. I've completely switched to koreader for reading PDFs. It's a much more pleasant experience.
|
![]() |
![]() |
![]() |
#8 |
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 262
Karma: 110864
Join Date: Mar 2013
Location: Bordeaux, France
Device: Kobo Glo, Aura HD, kindle paperwhite
|
Hi JimMcLaren,
I guess I will have to go ... from what I have read, I will have to restart my reader each time I want to swap from koreader to kobo... this is what kept me from installing it... unless this is not required? François |
![]() |
![]() |
![]() |
#9 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 4,465
Karma: 6900052
Join Date: Dec 2009
Location: The Heart of Texas
Device: Boox Note2, AuraHD, PDA,
|
Quote:
Luck; Ken Last edited by Ken Maltby; 09-16-2014 at 01:50 PM. |
|
![]() |
![]() |
![]() |
#10 | |
Bibliophagist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 37,899
Karma: 150333332
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
Quote:
Regards, David
|
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
[Old Thread] Generate Cover from First Page of PDF File | dp green | Calibre | 2 | 07-03-2012 03:53 AM |
Touch Bottom line of page cut in half since 1.9.10? | NineOne | Kobo Reader | 7 | 09-20-2011 05:01 PM |
PRS-900 Problem with 1st line on a page cut off? | Marcy | Sony Reader | 7 | 02-17-2010 01:20 AM |
Very Short pdf file test. | harpum | iRex | 0 | 01-20-2007 11:44 PM |