Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Readers > Kobo Reader

Notices

Reply
 
Thread Tools Search this Thread
Old 09-02-2014, 05:44 PM   #1
fxp33
Groupie
fxp33 is far more humble than you.fxp33 is far more humble than you.fxp33 is far more humble than you.fxp33 is far more humble than you.fxp33 is far more humble than you.fxp33 is far more humble than you.fxp33 is far more humble than you.fxp33 is far more humble than you.fxp33 is far more humble than you.fxp33 is far more humble than you.fxp33 is far more humble than you.
 
Posts: 199
Karma: 109220
Join Date: Mar 2013
Location: Bordeaux, France
Device: Kobo Glo, Aura HD... Kobo = pdf without reflow !!
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
Attached Thumbnails
Click image for larger version

Name:	screen_010.png
Views:	70
Size:	211.7 KB
ID:	127683   Click image for larger version

Name:	screen_011.png
Views:	67
Size:	195.1 KB
ID:	127684  
Attached Files
File Type: pdf Kobo_Test_Pdf_first_page_portrait_next_landscape.pdf (115.7 KB, 18 views)
File Type: pdf Kobo_Test_Pdf_Landscape.pdf (107.9 KB, 15 views)
File Type: pdf Kobo_Test_Pdf_Portrait.pdf (106.3 KB, 15 views)
fxp33 is offline   Reply With Quote
Old 09-02-2014, 08:05 PM   #2
davidfor
Grand Sorcerer
davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.
 
Posts: 5,684
Karma: 5656630
Join Date: Jul 2011
Location: Australia
Device: Kobo Touch, Kobo Glo
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?
davidfor is online now   Reply With Quote
 
Enthusiast
Old 09-03-2014, 03:57 AM   #3
fxp33
Groupie
fxp33 is far more humble than you.fxp33 is far more humble than you.fxp33 is far more humble than you.fxp33 is far more humble than you.fxp33 is far more humble than you.fxp33 is far more humble than you.fxp33 is far more humble than you.fxp33 is far more humble than you.fxp33 is far more humble than you.fxp33 is far more humble than you.fxp33 is far more humble than you.
 
Posts: 199
Karma: 109220
Join Date: Mar 2013
Location: Bordeaux, France
Device: Kobo Glo, Aura HD... Kobo = pdf without reflow !!
Hi David,

FW 3.8 without any modifications.

Regards

François
fxp33 is offline   Reply With Quote
Old 09-07-2014, 10:37 AM   #4
arspr
None
arspr ought to be getting tired of karma fortunes by now.arspr ought to be getting tired of karma fortunes by now.arspr ought to be getting tired of karma fortunes by now.arspr ought to be getting tired of karma fortunes by now.arspr ought to be getting tired of karma fortunes by now.arspr ought to be getting tired of karma fortunes by now.arspr ought to be getting tired of karma fortunes by now.arspr ought to be getting tired of karma fortunes by now.arspr ought to be getting tired of karma fortunes by now.arspr ought to be getting tired of karma fortunes by now.arspr ought to be getting tired of karma fortunes by now.
 
Posts: 413
Karma: 245000
Join Date: Mar 2011
Location: Madrid, Spain
Device: Sony PRS-650 >>> Kobo Aura HD
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.
arspr is offline   Reply With Quote
Old 09-07-2014, 11:03 AM   #5
ksiflhjla8
Enthusiast
ksiflhjla8 began at the beginning.
 
Posts: 45
Karma: 10
Join Date: Jul 2008
Device: iLiad, Kobo Glo
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.
ksiflhjla8 is offline   Reply With Quote
Old 09-07-2014, 01:41 PM   #6
fxp33
Groupie
fxp33 is far more humble than you.fxp33 is far more humble than you.fxp33 is far more humble than you.fxp33 is far more humble than you.fxp33 is far more humble than you.fxp33 is far more humble than you.fxp33 is far more humble than you.fxp33 is far more humble than you.fxp33 is far more humble than you.fxp33 is far more humble than you.fxp33 is far more humble than you.
 
Posts: 199
Karma: 109220
Join Date: Mar 2013
Location: Bordeaux, France
Device: Kobo Glo, Aura HD... Kobo = pdf without reflow !!
Hi,

Thank you ksiflhjla8 for this hack, it is a very good idea

François
fxp33 is offline   Reply With Quote
Old 09-16-2014, 11:46 AM   #7
JimMcLaren
Addict
JimMcLaren ought to be getting tired of karma fortunes by now.JimMcLaren ought to be getting tired of karma fortunes by now.JimMcLaren ought to be getting tired of karma fortunes by now.JimMcLaren ought to be getting tired of karma fortunes by now.JimMcLaren ought to be getting tired of karma fortunes by now.JimMcLaren ought to be getting tired of karma fortunes by now.JimMcLaren ought to be getting tired of karma fortunes by now.JimMcLaren ought to be getting tired of karma fortunes by now.JimMcLaren ought to be getting tired of karma fortunes by now.JimMcLaren ought to be getting tired of karma fortunes by now.JimMcLaren ought to be getting tired of karma fortunes by now.
 
JimMcLaren's Avatar
 
Posts: 212
Karma: 1004766
Join Date: Jan 2010
Device: Kobo Aura HD, Pocketbook 302, Pocketbook 912, Nook STR, 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.
JimMcLaren is online now   Reply With Quote
Old 09-16-2014, 01:36 PM   #8
fxp33
Groupie
fxp33 is far more humble than you.fxp33 is far more humble than you.fxp33 is far more humble than you.fxp33 is far more humble than you.fxp33 is far more humble than you.fxp33 is far more humble than you.fxp33 is far more humble than you.fxp33 is far more humble than you.fxp33 is far more humble than you.fxp33 is far more humble than you.fxp33 is far more humble than you.
 
Posts: 199
Karma: 109220
Join Date: Mar 2013
Location: Bordeaux, France
Device: Kobo Glo, Aura HD... Kobo = pdf without reflow !!
Quote:
Originally Posted by JimMcLaren View Post
Just as an FYI, koreader does not have this problem.
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
fxp33 is offline   Reply With Quote
Old 09-16-2014, 01:47 PM   #9
Ken Maltby
Wizard
Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.
 
Ken Maltby's Avatar
 
Posts: 2,883
Karma: 3893597
Join Date: Dec 2009
Location: The Heart of Texas
Device: JetBook Lite, AuraHD, PDA, Eee Transformer
Quote:
Originally Posted by fxp33 View Post
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
There may be some problems with your Glo, but the AuraHD should work with tshring's "Kobo Start Menu" and be able to switch between them. Kobo's Nickel UI takes longer to load, than going the other way, no matter how you do it. (Koreader has reflow, user and auto cropping, zoom to content, and other PDF optimizations.)

Luck;
Ken

Last edited by Ken Maltby; 09-16-2014 at 01:50 PM.
Ken Maltby is offline   Reply With Quote
Old 09-16-2014, 01:49 PM   #10
DNSB
Bibliophagist
DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.
 
DNSB's Avatar
 
Posts: 2,240
Karma: 6127887
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Aura HD, Glo, Nexus 7 HD, iPad Air
Quote:
Originally Posted by fxp33 View Post
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?
Theoretically not required but I find it works best that way for me. I'm using advboot with koreader set to restart when I exit. To get back to koreader also requires a restart. A bit of a pain but I seem to see fewer problems since koreader is run without requiring much of the Kobo software preloaded -- no need to stop and unload nickel when it is not being loaded.

Regards,
David
DNSB is online now   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
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


All times are GMT -4. The time now is 07:17 PM.


MobileRead.com is a privately owned, operated and funded community.