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

Go Back   MobileRead Forums > E-Book Readers > Amazon Kindle > Kindle Developer's Corner

Notices

Reply
 
Thread Tools Search this Thread
Old 01-11-2013, 01:31 PM   #871
eureka
but forgot what it's like
eureka ought to be getting tired of karma fortunes by now.eureka ought to be getting tired of karma fortunes by now.eureka ought to be getting tired of karma fortunes by now.eureka ought to be getting tired of karma fortunes by now.eureka ought to be getting tired of karma fortunes by now.eureka ought to be getting tired of karma fortunes by now.eureka ought to be getting tired of karma fortunes by now.eureka ought to be getting tired of karma fortunes by now.eureka ought to be getting tired of karma fortunes by now.eureka ought to be getting tired of karma fortunes by now.eureka ought to be getting tired of karma fortunes by now.
 
Posts: 711
Karma: 2290994
Join Date: Dec 2011
Location: north (by northwest)
Device: Kindle Touch
Quote:
Originally Posted by chrox View Post
Someone has reported that KPVBooklet works fine in 5.1.2 with djvu and epub documents. But it cannot be confirmed by myself since I don't have a KT device. Probably you can also fix it by updating your Kindle to 5.3.2. As far as I know KPVBooklet works better in 5.3.X firmware.
It might be me reported. But KPVBooklet didn't work as-is in 5.1.2, I've needed to apply some adjustments (listed in linked post). Also obfuscation in new firmwares, including 5.3.2 for KT, changes Java classes' names in every new firmware version, so I doubt that KPVBooklet will work as-is in 5.3.2 (but I didn't check).

UPD Ah, I see KPVBooklet made nice progress and declares to support KT 5.1.2 out of box. Great, thanks!

Last edited by eureka; 01-11-2013 at 01:38 PM.
eureka is offline   Reply With Quote
Old 01-11-2013, 01:35 PM   #872
tommytomtom
Enthusiast
tommytomtom never is beset by a damp, drizzly November in his or her soul.tommytomtom never is beset by a damp, drizzly November in his or her soul.tommytomtom never is beset by a damp, drizzly November in his or her soul.tommytomtom never is beset by a damp, drizzly November in his or her soul.tommytomtom never is beset by a damp, drizzly November in his or her soul.tommytomtom never is beset by a damp, drizzly November in his or her soul.tommytomtom never is beset by a damp, drizzly November in his or her soul.tommytomtom never is beset by a damp, drizzly November in his or her soul.tommytomtom never is beset by a damp, drizzly November in his or her soul.tommytomtom never is beset by a damp, drizzly November in his or her soul.tommytomtom never is beset by a damp, drizzly November in his or her soul.
 
Posts: 49
Karma: 59420
Join Date: Feb 2012
Device: Kindle Touch
Kindle hangs at startup and reboots all the time.
What I did:
Updating to 5.3.2 worked after uninstalling JBPatch. Maybe the Collection Manager setup was the problem, but who knows. Then I could open a djvu, but after opening the titlepage, the djvureader crashed immediately and I returned to the homescreen. So I thought just to reinstall it. So I deleted the KindlePDFViewer folder and copied the uninstallation bin of KPVBooklet into the kindle's root directory and updated the kindle. Probably the other way arround would have been the smarter move. However, the uninstallation went successfully.
Now however, the kindle does not start anymore. I can see the man under the tree and the white progress bar goes have the way for three times before the kindle restarts. After removing DUOKAN_DISABLE, I can enter Duokan but after switching to Kindle OS the same thing happens all over. Since the new firmware does not allow to easily enter diag_mode I don't know what to do. Any ideas?
tommytomtom is offline   Reply With Quote
Old 01-11-2013, 01:50 PM   #873
chrox
Connoisseur
chrox 's ceiling is 100% spider-free.chrox 's ceiling is 100% spider-free.chrox 's ceiling is 100% spider-free.chrox 's ceiling is 100% spider-free.chrox 's ceiling is 100% spider-free.chrox 's ceiling is 100% spider-free.chrox 's ceiling is 100% spider-free.chrox 's ceiling is 100% spider-free.chrox 's ceiling is 100% spider-free.chrox 's ceiling is 100% spider-free.chrox 's ceiling is 100% spider-free.
 
Posts: 65
Karma: 118743
Join Date: Nov 2012
Device: Kindle 3
Quote:
Originally Posted by eureka View Post
It might be me reported. But KPVBooklet didn't work as-is in 5.1.2, I've needed to apply some adjustments (listed in linked post). Also obfuscation in new firmwares, including 5.3.2 for KT, changes Java classes' names in every new firmware version, so I doubt that KPVBooklet will work as-is in 5.3.2 (but I didn't check).
Yes. I have already add the mentioned fix into KPVBooklet otherwise additional file types cannot show up in the home screen for Kindle touch. And I enumerate all ContentCatalog's declared methods and check their parameter types to find out the obfuscated query method in runtime. This enumeration approach works fine on all firmware above 5.1.2 in spite of the obfuscation. I hope it will also work on earlier firmware of version 5 but I can't test it.
chrox is offline   Reply With Quote
Old 01-12-2013, 04:58 PM   #874
tommytomtom
Enthusiast
tommytomtom never is beset by a damp, drizzly November in his or her soul.tommytomtom never is beset by a damp, drizzly November in his or her soul.tommytomtom never is beset by a damp, drizzly November in his or her soul.tommytomtom never is beset by a damp, drizzly November in his or her soul.tommytomtom never is beset by a damp, drizzly November in his or her soul.tommytomtom never is beset by a damp, drizzly November in his or her soul.tommytomtom never is beset by a damp, drizzly November in his or her soul.tommytomtom never is beset by a damp, drizzly November in his or her soul.tommytomtom never is beset by a damp, drizzly November in his or her soul.tommytomtom never is beset by a damp, drizzly November in his or her soul.tommytomtom never is beset by a damp, drizzly November in his or her soul.
 
Posts: 49
Karma: 59420
Join Date: Feb 2012
Device: Kindle Touch
Great! Finally after flashing back to 5.1.2, installing it worked (am at 5.3.2, now). however, the screen rotation does not work! so when landscape mode is activated, change any settings does not work because the position of clicking are wrong! so only portrait mode works. that is a real pity because pdfs and djvus normally have to be read in landscape mode with fit to width because they are simply way to small in portrait mode. furthermore it is unfortunate that other zoom options are not possible.
Still having djvu support is truly amazing!!! Thanks to everybody who was and is working on it!
tommytomtom is offline   Reply With Quote
Old 01-12-2013, 09:15 PM   #875
dave2008
Addict
dave2008 can program the VCR without an owner's manual.dave2008 can program the VCR without an owner's manual.dave2008 can program the VCR without an owner's manual.dave2008 can program the VCR without an owner's manual.dave2008 can program the VCR without an owner's manual.dave2008 can program the VCR without an owner's manual.dave2008 can program the VCR without an owner's manual.dave2008 can program the VCR without an owner's manual.dave2008 can program the VCR without an owner's manual.dave2008 can program the VCR without an owner's manual.dave2008 can program the VCR without an owner's manual.
 
Posts: 230
Karma: 183457
Join Date: Jan 2012
Device: k3G(broken), KDXG, paperwhite
Good to know your kindle is working again

The new version is not even a beta release, it just happened that many people found the secret download page ;p

So many of the features are still under development. We will put on an announcement when the first release is out. Actually it will probably be a new thread because we will get a new name. Welcome everyone to join the brainstorming BTW:
https://github.com/hwhw/kindlepdfviewer/issues/705
dave2008 is offline   Reply With Quote
Old 01-13-2013, 11:06 AM   #876
dracodoc
Connoisseur
dracodoc has a complete set of Star Wars action figures.dracodoc has a complete set of Star Wars action figures.dracodoc has a complete set of Star Wars action figures.dracodoc has a complete set of Star Wars action figures.
 
Posts: 79
Karma: 322
Join Date: Mar 2009
Device: Kindle DXG, Sony T1
Quote:
Originally Posted by dracodoc View Post
I have a question, the rifont that responsible for reading position info seemed only recognize the font under host, i.e. the kindle fonts. I placed some fonts under the fonts directory, they can be found in tfont which is for filemanager, but cannot be found by rifont.

How can I make my fonts available for rifont?
I found this is caused by the conflict between fonthack and kpv font path.
https://github.com/hwhw/kindlepdfviewer/wiki/Usage-Tips
font setting trap for fonthack users
dracodoc is offline   Reply With Quote
Old 01-16-2013, 01:48 AM   #877
TheWizard
Junior Member
TheWizard has much to be proud ofTheWizard has much to be proud ofTheWizard has much to be proud ofTheWizard has much to be proud ofTheWizard has much to be proud ofTheWizard has much to be proud ofTheWizard has much to be proud ofTheWizard has much to be proud ofTheWizard has much to be proud ofTheWizard has much to be proud ofTheWizard has much to be proud of
 
Posts: 6
Karma: 27748
Join Date: Dec 2012
Location: Phoenix, AZ
Device: Kindle 3 Wi-Fi, Kindle Paperwhite
I just started using the "secret github download" build on my Paperwhite - awesome! I have tons of scanned manuals in PDF and DjVu to test with.

Only bug I've found is that the "Go To" jump bar doesn't work. It's just a thin straight line and touching it doesn't do anything. I'm not sure if you devs are already aware of it or if that's just an artifact of my days-old build. Standard page turns, bookmarks, and Home Screen progress are all working, very slick.

KPVBooklet is very cool too, turned out very nice.

Thanks for this great work!
TheWizard is offline   Reply With Quote
Old 01-17-2013, 09:24 AM   #878
thomass
Wizard
thomass ought to be getting tired of karma fortunes by now.thomass ought to be getting tired of karma fortunes by now.thomass ought to be getting tired of karma fortunes by now.thomass ought to be getting tired of karma fortunes by now.thomass ought to be getting tired of karma fortunes by now.thomass ought to be getting tired of karma fortunes by now.thomass ought to be getting tired of karma fortunes by now.thomass ought to be getting tired of karma fortunes by now.thomass ought to be getting tired of karma fortunes by now.thomass ought to be getting tired of karma fortunes by now.thomass ought to be getting tired of karma fortunes by now.
 
Posts: 1,638
Karma: 1915537
Join Date: Mar 2011
Location: Türkiye
Device: Kindle 5.3.7
For some PDFs some Turkish characters (ğ,ş,İ,) are missing when I try to display it on Kindle using KPV. I suppose this is related with the font. How can I use a diferent font to display this characters correctly?
Attached Files
File Type: pdf TurkishCharacterTest.pdf (61.3 KB, 48 views)
thomass is offline   Reply With Quote
Old 01-17-2013, 09:38 AM   #879
hawhill
Wizard
hawhill ought to be getting tired of karma fortunes by now.hawhill ought to be getting tired of karma fortunes by now.hawhill ought to be getting tired of karma fortunes by now.hawhill ought to be getting tired of karma fortunes by now.hawhill ought to be getting tired of karma fortunes by now.hawhill ought to be getting tired of karma fortunes by now.hawhill ought to be getting tired of karma fortunes by now.hawhill ought to be getting tired of karma fortunes by now.hawhill ought to be getting tired of karma fortunes by now.hawhill ought to be getting tired of karma fortunes by now.hawhill ought to be getting tired of karma fortunes by now.
 
hawhill's Avatar
 
Posts: 1,096
Karma: 2114647
Join Date: Nov 2010
Location: Goettingen, Germany
Device: Kindle Paperwhite, Kobo Mini
Ah, that's a difficult one. The font is not embedded, but specified as being "TimesNewRoman". Thus, a "Times" variant font will be used - and unfortunately, it doesn't have the right characters present. We ship the "Ghostscript" variant of the PDF base fonts, and of course you can replace them. However, they are in a slightly exotic format. So it is not easy unfortunately, and the font file names are hardcoded. But you can give a try to replace them by, say, a renamed variant of a Times font that does have those characters.

I'm not entirely sure if that will fix it, though. Getting from character info to a specific glyph in a font has become a bit overwhelming since the days of ASCII code pages...
hawhill is offline   Reply With Quote
Old 01-17-2013, 01:02 PM   #880
dave2008
Addict
dave2008 can program the VCR without an owner's manual.dave2008 can program the VCR without an owner's manual.dave2008 can program the VCR without an owner's manual.dave2008 can program the VCR without an owner's manual.dave2008 can program the VCR without an owner's manual.dave2008 can program the VCR without an owner's manual.dave2008 can program the VCR without an owner's manual.dave2008 can program the VCR without an owner's manual.dave2008 can program the VCR without an owner's manual.dave2008 can program the VCR without an owner's manual.dave2008 can program the VCR without an owner's manual.
 
Posts: 230
Karma: 183457
Join Date: Jan 2012
Device: k3G(broken), KDXG, paperwhite
Quote:
Originally Posted by TheWizard View Post
I just started using the "secret github download" build on my Paperwhite - awesome! I have tons of scanned manuals in PDF and DjVu to test with.

Only bug I've found is that the "Go To" jump bar doesn't work. It's just a thin straight line and touching it doesn't do anything. I'm not sure if you devs are already aware of it or if that's just an artifact of my days-old build. Standard page turns, bookmarks, and Home Screen progress are all working, very slick.

KPVBooklet is very cool too, turned out very nice.

Thanks for this great work!
Good to know that this pre-beta version works for you

The goto bar is just a place holder to remind us to implement that feature.
dave2008 is offline   Reply With Quote
Old 01-17-2013, 03:17 PM   #881
Kai771
Just a Noob
Kai771 can program the VCR without an owner's manual.Kai771 can program the VCR without an owner's manual.Kai771 can program the VCR without an owner's manual.Kai771 can program the VCR without an owner's manual.Kai771 can program the VCR without an owner's manual.Kai771 can program the VCR without an owner's manual.Kai771 can program the VCR without an owner's manual.Kai771 can program the VCR without an owner's manual.Kai771 can program the VCR without an owner's manual.Kai771 can program the VCR without an owner's manual.Kai771 can program the VCR without an owner's manual.
 
Kai771's Avatar
 
Posts: 140
Karma: 162610
Join Date: Aug 2011
Device: Kindle 3
Quote:
Originally Posted by thomass View Post
For some PDFs some Turkish characters (ğ,ş,İ,) are missing when I try to display it on Kindle using KPV. I suppose this is related with the font. How can I use a diferent font to display this characters correctly?
Instead of fiddling with fonts in KPV, maybe it would be much easier to embed fonts in your pdf? One way to do this (on a Linux box) is to use this:

Code:
$ gs -o TurkishCharacterTest-new.pdf -sDEVICE=pdfwrite -dPDFSETTINGS=/prepress TurkishCharacterTest.pdf
You'll need ghostscript installed for this, but I think it's installed by default on most distros.

If you use windows, I'd suggest you to install VirtualBox, and some Linux distro as a virtual machine. Having access to a Linux box is quite handy, and fortunatelly, today's computers have so much disk space that you won't even notice it's there .

Someone might suggest that there's a ghostscript for windows too, but I'd still recomend you to keep a Linux VM .

Now, about the line above: I didn't come up with this myself. I got it from here, and simplified it a bit. If you look at the original version, you'll see that there's -sFONTPATH option, that would allow you to specify the locations where the fonts are. I didn't use this, and it automatically replaced Arial with Helvetica and Times New Roman with NimbusRomNo9L on my Ubuntu 12.04 VM.

You'll notice that the resulting file is noticeably smaller. I didn't use this before. I was intrigued by your post and did a bit of research. This might not work for all files. But I think you might find it useful anyway.

I hope it helps.

A version of your file after I ran this command is attached bellow.

Regards,
Kai771
Attached Files
File Type: pdf TurkishCharacterTest-new.pdf (20.2 KB, 63 views)
Kai771 is offline   Reply With Quote
Old 01-17-2013, 04:31 PM   #882
thomass
Wizard
thomass ought to be getting tired of karma fortunes by now.thomass ought to be getting tired of karma fortunes by now.thomass ought to be getting tired of karma fortunes by now.thomass ought to be getting tired of karma fortunes by now.thomass ought to be getting tired of karma fortunes by now.thomass ought to be getting tired of karma fortunes by now.thomass ought to be getting tired of karma fortunes by now.thomass ought to be getting tired of karma fortunes by now.thomass ought to be getting tired of karma fortunes by now.thomass ought to be getting tired of karma fortunes by now.thomass ought to be getting tired of karma fortunes by now.
 
Posts: 1,638
Karma: 1915537
Join Date: Mar 2011
Location: Türkiye
Device: Kindle 5.3.7
Quote:
Originally Posted by Kai771 View Post
Instead of fiddling with fonts in KPV, maybe it would be much easier to embed fonts in your pdf? One way to do this (on a Linux box) is to use this:..
Thanks for the suggestion. I already have Debian on VB, will try to use this.

I tried your output on Touch KPV, but it quits KPV as soon as it opens the document. but the text seems OK for this really short time.

Quote:
Originally Posted by hawhill View Post
But you can give a try to replace them by, say, a renamed variant of a Times font that does have those characters.
Thanks for the help. I couldn't decide on which font to replace with TimesNewRoman. kindlepdfviewer\frontend\ui\font.lua has no info about the font which is used for the content. On KPV there are NimbusMonL, NimbusRomNo9L, NimbusSanL, StandardSymL, Dingbats ,DroidSans .

Last edited by thomass; 01-17-2013 at 04:34 PM.
thomass is offline   Reply With Quote
Old 01-17-2013, 04:42 PM   #883
Kai771
Just a Noob
Kai771 can program the VCR without an owner's manual.Kai771 can program the VCR without an owner's manual.Kai771 can program the VCR without an owner's manual.Kai771 can program the VCR without an owner's manual.Kai771 can program the VCR without an owner's manual.Kai771 can program the VCR without an owner's manual.Kai771 can program the VCR without an owner's manual.Kai771 can program the VCR without an owner's manual.Kai771 can program the VCR without an owner's manual.Kai771 can program the VCR without an owner's manual.Kai771 can program the VCR without an owner's manual.
 
Kai771's Avatar
 
Posts: 140
Karma: 162610
Join Date: Aug 2011
Device: Kindle 3
Quote:
Originally Posted by thomass View Post
Thanks for the suggestion. I already have Debian on VB, will try to use this.

I tried your output on Touch KPV, but it quits KPV as soon as it opens it. but text seems OK for this really short time.
Strange, it works fine on my K3. I tried both last official release, kindlepdfviewer-v2012.11.zip and more recent kindlepdfviewer-cache-fix.zip version. But obviously, they're different than touch version.

This probably won't be of any help to you, but I also first tried replacing the fonts. I took times.ttf, timesi.ttf, timesbd.ttf, timesbi.ttf from my Win7 box, converted them to .cff using http://www.freefontconverter.com/, renamed them to NimbusRomNo9L* (since that's the font similar to Times) - but only got empty page in KPV.

Edit: Correction, first I just tried copying above mentioned .ttf files to fonts folder. That didn't have any effect.

Regards,
Kai771

Edit: Screenshot attached.
Attached Images
File Type: bmp 20110815062845.bmp (234.5 KB, 63 views)

Last edited by Kai771; 01-17-2013 at 05:00 PM.
Kai771 is offline   Reply With Quote
Old 01-17-2013, 05:02 PM   #884
thomass
Wizard
thomass ought to be getting tired of karma fortunes by now.thomass ought to be getting tired of karma fortunes by now.thomass ought to be getting tired of karma fortunes by now.thomass ought to be getting tired of karma fortunes by now.thomass ought to be getting tired of karma fortunes by now.thomass ought to be getting tired of karma fortunes by now.thomass ought to be getting tired of karma fortunes by now.thomass ought to be getting tired of karma fortunes by now.thomass ought to be getting tired of karma fortunes by now.thomass ought to be getting tired of karma fortunes by now.thomass ought to be getting tired of karma fortunes by now.
 
Posts: 1,638
Karma: 1915537
Join Date: Mar 2011
Location: Türkiye
Device: Kindle 5.3.7
Quote:
Originally Posted by Kai771 View Post
This probably won't be of any help to you, but I also first tried replacing the fonts. I took times.ttf, timesi.ttf, timesbd.ttf, timesbi.ttf from my Win7 box, converted them to .cff using http://www.freefontconverter.com/, renamed them to NimbusRomNo9L* (since that's the font similar to Times) - but only got empty page in KPV.
really appreciated, thanks anyway.
I've just tried the latest build for Touch, no luck.
thomass is offline   Reply With Quote
Old 01-17-2013, 05:42 PM   #885
Kai771
Just a Noob
Kai771 can program the VCR without an owner's manual.Kai771 can program the VCR without an owner's manual.Kai771 can program the VCR without an owner's manual.Kai771 can program the VCR without an owner's manual.Kai771 can program the VCR without an owner's manual.Kai771 can program the VCR without an owner's manual.Kai771 can program the VCR without an owner's manual.Kai771 can program the VCR without an owner's manual.Kai771 can program the VCR without an owner's manual.Kai771 can program the VCR without an owner's manual.Kai771 can program the VCR without an owner's manual.
 
Kai771's Avatar
 
Posts: 140
Karma: 162610
Join Date: Aug 2011
Device: Kindle 3
@thomass

I tried running the gs command on Windows box, using gswin64c.exe. I specified -sFONTPATH=C:\WINDOWS\Fonts. Now the file is a lot larger . This also works fine on my K3. Try if it works for you.

It might be interesting to notice that when I didn't specify -sFONTPAPTH in windows, it said that it also replaced Times with Nimbus, but the resulting file didn't show (ğ,ş,İ,) when I opened it in windows (I use Foxit Reader), so I didn't bother testing that on K3.

Regards,
Kai771
Attached Files
File Type: pdf TurkishCharacterTest-win.pdf (142.2 KB, 92 views)

Last edited by Kai771; 01-17-2013 at 05:45 PM.
Kai771 is offline   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
Native KOReader: a document reader for PDF, DJVU, EPUB, FB2, HTML, ... (GPLv3) hawhill Kindle Developer's Corner 541 Yesterday 07:06 AM
Yet another PDF viewer (muPDF based) melihron PocketBook 64 05-28-2014 07:33 AM
Librerator - multi-format e-reader, fork of KPV Kai771 Kindle Developer's Corner 326 04-18-2014 05:59 AM
Text-based PDF to Mobi, etc./Kindle 3 kidblue Calibre 41 07-20-2012 03:19 PM
muPDF on Kindle DX!! DairyKnight Kindle Developer's Corner 8 03-21-2010 03:39 AM


All times are GMT -4. The time now is 07:47 AM.


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