Register Guidelines E-Books Today's Posts Search

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

Notices

Reply
 
Thread Tools Search this Thread
Old 04-21-2012, 11:00 AM   #301
NuPogodi
Connoisseur
NuPogodi knows the complete value of PI to the endNuPogodi knows the complete value of PI to the endNuPogodi knows the complete value of PI to the endNuPogodi knows the complete value of PI to the endNuPogodi knows the complete value of PI to the endNuPogodi knows the complete value of PI to the endNuPogodi knows the complete value of PI to the endNuPogodi knows the complete value of PI to the endNuPogodi knows the complete value of PI to the endNuPogodi knows the complete value of PI to the endNuPogodi knows the complete value of PI to the end
 
Posts: 58
Karma: 31942
Join Date: Feb 2012
Device: Kindle 3, Tolino Shine, Kobo Glo
Thanks for a tip, dave2008. I've successfully changed default font by editing crereader.lua.

One more request: kindlepdfviewer may become appreciably better by implementing the crengine hyphenation databases.

Last edited by NuPogodi; 04-21-2012 at 11:03 AM.
NuPogodi is offline   Reply With Quote
Old 04-22-2012, 06:36 AM   #302
dpavlin
Connoisseur
dpavlin can really shake a tail feather.dpavlin can really shake a tail feather.dpavlin can really shake a tail feather.dpavlin can really shake a tail feather.dpavlin can really shake a tail feather.dpavlin can really shake a tail feather.dpavlin can really shake a tail feather.dpavlin can really shake a tail feather.dpavlin can really shake a tail feather.dpavlin can really shake a tail feather.dpavlin can really shake a tail feather.
 
dpavlin's Avatar
 
Posts: 61
Karma: 116628
Join Date: May 2011
Location: Zagreb, Croatia
Device: Kindle K3G and DXG
mobi format is supported by cool reader engine

Quote:
Originally Posted by NuPogodi View Post
BTW, crengine supports mobi as well.
Thanks for pointing this out! This will make reader real replacement for Amazon's one.

We forgot to add .mobi extension as supported format, but it will be in next version: https://github.com/hwhw/kindlepdfvie...7eaa2faea47803

Alternative is to just copy new version of those three files on existing reader implementation in /mnt/us/kindlepdfviewer
dpavlin is offline   Reply With Quote
Advert
Old 04-23-2012, 10:02 AM   #303
Tanga
Zealot
Tanga shares his or her toysTanga shares his or her toysTanga shares his or her toysTanga shares his or her toysTanga shares his or her toysTanga shares his or her toysTanga shares his or her toysTanga shares his or her toysTanga shares his or her toysTanga shares his or her toysTanga shares his or her toys
 
Posts: 128
Karma: 5792
Join Date: Mar 2011
Location: Australia
Device: Kindle 3
When's the next version due out? I'm looking forward to checking this app out, but I'm not sure whether to get it now or wait? The next version looks like it's going to be awesome!
Tanga is offline   Reply With Quote
Old 04-23-2012, 10:32 AM   #304
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,379
Karma: 2155307
Join Date: Nov 2010
Location: Goettingen, Germany
Device: Kindle Paperwhite, Kobo Mini
I suggest to check it out now. The next version probably won't come all that soon. I would not speak against a 2012.04.2, but it's more likely that the next version will be a 2012.05....

The installation overhead (jailbreak, installing launchpad) will likely stay the same. But updating the application is a piece of cake, actually. So you won't lose much when you start now.

It's quite usable as it is and people use it as secondary or even primary reader on a regular base.
hawhill is offline   Reply With Quote
Old 04-23-2012, 12:59 PM   #305
NuPogodi
Connoisseur
NuPogodi knows the complete value of PI to the endNuPogodi knows the complete value of PI to the endNuPogodi knows the complete value of PI to the endNuPogodi knows the complete value of PI to the endNuPogodi knows the complete value of PI to the endNuPogodi knows the complete value of PI to the endNuPogodi knows the complete value of PI to the endNuPogodi knows the complete value of PI to the endNuPogodi knows the complete value of PI to the endNuPogodi knows the complete value of PI to the endNuPogodi knows the complete value of PI to the end
 
Posts: 58
Karma: 31942
Join Date: Feb 2012
Device: Kindle 3, Tolino Shine, Kobo Glo
I guess I've found small, but rather annoying bug. It concerns to the font selection in kindlepdfviewer's crengine, namely, the text of chapter titles: no matter which font i select via fonts menu, the title font (in fb2: everything inside of <title>...</title>) is not changed. It should actually be not a large problem unless the default font does not include cyrillic glyphs (and east european as well) and, hence, displayed as a set of ????????? (please, look at the top of the following screenshot)
http://smotr.im/4Cma

Till now I've found out the only solution: after deleting all cff-fonts, crengine starts to select another font for titles (probably, DroidSans.ttf) which properly display cyrillic and east european characters. Yet, it still remains independent of the font_face selection (just note that the main text is serif, the title is sans serif on the following screenshot).
http://smotr.im/4Cm9

I've tested several epubs & fb2s, cyrillic glyphs and east european ones (polish, czekh). The result remains the same.

1. Could you, please, look at the crengine codes and fix this bug?
2. May somebody answer what the cff-fonts are used for?

PS. To be sure, I inspected the same source files in CoolReader3 for Kindle. So, i may definitely say that the bug is not related to crengine itself (see screenshot)
http://smotr.im/4Cmb

Last edited by NuPogodi; 04-23-2012 at 01:48 PM.
NuPogodi is offline   Reply With Quote
Advert
Old 04-23-2012, 02:36 PM   #306
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,379
Karma: 2155307
Join Date: Nov 2010
Location: Goettingen, Germany
Device: Kindle Paperwhite, Kobo Mini
The .cff fonts are compressed postscript standard fonts. They are used for PDFs without embedded fonts (which is legal for a lot of the PDF versions). So they are relevant for the muPDF engine, too.

Most probably, we can overcome this by creating proper CSS data and feeding that to CREngine.

My suggestion for now is to take the approach to change the CSS files. I'll have a look and try to come up with more sensible default, probably using the DroidFallback/DroidSans font.
hawhill is offline   Reply With Quote
Old 04-23-2012, 09:42 PM   #307
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: 251
Karma: 183457
Join Date: Jan 2012
Device: k3G, KDXG, AuraHD
Quote:
Originally Posted by NuPogodi View Post
I guess I've found small, but rather annoying bug. It concerns to the font selection in kindlepdfviewer's crengine, namely, the text of chapter titles: no matter which font i select via fonts menu, the title font (in fb2: everything inside of <title>...</title>) is not changed. It should actually be not a large problem unless the default font does not include cyrillic glyphs (and east european as well) and, hence, displayed as a set of ????????? (please, look at the top of the following screenshot)
http://smotr.im/4Cma

Till now I've found out the only solution: after deleting all cff-fonts, crengine starts to select another font for titles (probably, DroidSans.ttf) which properly display cyrillic and east european characters. Yet, it still remains independent of the font_face selection (just note that the main text is serif, the title is sans serif on the following screenshot).
http://smotr.im/4Cm9

I've tested several epubs & fb2s, cyrillic glyphs and east european ones (polish, czekh). The result remains the same.

1. Could you, please, look at the crengine codes and fix this bug?
2. May somebody answer what the cff-fonts are used for?

PS. To be sure, I inspected the same source files in CoolReader3 for Kindle. So, i may definitely say that the bug is not related to crengine itself (see screenshot)
http://smotr.im/4Cmb
Thanks for the report. I think this bug is related to the Chinese support bug in epub previously reported. All of them show "?" because the child node's fontface is not changed when users selects a different font from the font menu. Often, these nodes come up with a invalid default type face, so crengine will try to find a replacement that matches best. So if you delete some fonts, crengine will have less choices and more likely to choose the one that you want.

And yes, upstream cool reader does not have this bug, so it is a bug in kindlepdfviewer's code. But I haven't found the perfect solution yet. Probably, kindlepdfviewer is not calling the right methods in font changing or page rendering. We are only calling public methods now, but I see that CoolReader3 also calls protected methods. I am a terrible CPP programmer, so maybe someone else can find out the right solution.

So far, I only come up with a one line dirty hack as a fix.

Last edited by dave2008; 04-23-2012 at 09:48 PM.
dave2008 is offline   Reply With Quote
Old 04-23-2012, 11:41 PM   #308
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: 251
Karma: 183457
Join Date: Jan 2012
Device: k3G, KDXG, AuraHD
Quote:
Originally Posted by reprep View Post
wow, congratulations to all those who contributed.

Another feature request from me: (please do not misunderstand, it is already great as it is)

If you can extract words from pdfs now, can you make "pdf reflow" like duokan? That is the only feature missing in the pdf viewer in my opinion.

Thanks again.
The first time I tried Duokan with pdf reflow in one of my programming book, it is not readable at all. Well, it was long time ago, maybe they are doing much better now. But what I want to say is reflow is not a trivial task, because to make a good typesetting, kindlepdfviewer needs to understand the text in the pdf files. So this feature needs time and efforts.
dave2008 is offline   Reply With Quote
Old 04-24-2012, 01:14 AM   #309
reprep
Addict
reprep is kind to children and small, furry animalsreprep is kind to children and small, furry animalsreprep is kind to children and small, furry animalsreprep is kind to children and small, furry animalsreprep is kind to children and small, furry animalsreprep is kind to children and small, furry animalsreprep is kind to children and small, furry animalsreprep is kind to children and small, furry animalsreprep is kind to children and small, furry animalsreprep is kind to children and small, furry animalsreprep is kind to children and small, furry animals
 
Posts: 202
Karma: 6720
Join Date: May 2011
Device: amazon kindle DXG
Quote:
Originally Posted by dave2008 View Post
The first time I tried Duokan with pdf reflow in one of my programming book, it is not readable at all. Well, it was long time ago, maybe they are doing much better now. But what I want to say is reflow is not a trivial task, because to make a good typesetting, kindlepdfviewer needs to understand the text in the pdf files. So this feature needs time and efforts.
I see your point. I plan to use "pdf reflow" only in novels or books without tables,pictures etc. I want to be able to choose font and increase or decrease the size of font. I am perfectly aware that this feature will not make a previously unreadable pdf, readable.

I thought it would be easy as you have already succeeded in word separation, but it looks this is not the case.
reprep is offline   Reply With Quote
Old 04-24-2012, 07:00 PM   #310
AZImmortal
Zealot
AZImmortal ought to be getting tired of karma fortunes by now.AZImmortal ought to be getting tired of karma fortunes by now.AZImmortal ought to be getting tired of karma fortunes by now.AZImmortal ought to be getting tired of karma fortunes by now.AZImmortal ought to be getting tired of karma fortunes by now.AZImmortal ought to be getting tired of karma fortunes by now.AZImmortal ought to be getting tired of karma fortunes by now.AZImmortal ought to be getting tired of karma fortunes by now.AZImmortal ought to be getting tired of karma fortunes by now.AZImmortal ought to be getting tired of karma fortunes by now.AZImmortal ought to be getting tired of karma fortunes by now.
 
Posts: 135
Karma: 5555611
Join Date: Jul 2011
Device: Kindle Keyboard 3G, Nexus 7
Since the releases now follow a date naming scheme for the versions, might I suggest using the full release date (including the day) rather than just year and month? It would be easier to recognize whether or not I have the latest version if I can see 2012.04.24 since I can instantly see that the update is in late April as opposed to 2012.04.2 where I can't easily tell when in April it was released. Just a very small suggestion. Thanks for all of your hard work.
AZImmortal is offline   Reply With Quote
Old 04-25-2012, 10:11 PM   #311
Tanga
Zealot
Tanga shares his or her toysTanga shares his or her toysTanga shares his or her toysTanga shares his or her toysTanga shares his or her toysTanga shares his or her toysTanga shares his or her toysTanga shares his or her toysTanga shares his or her toysTanga shares his or her toysTanga shares his or her toys
 
Posts: 128
Karma: 5792
Join Date: Mar 2011
Location: Australia
Device: Kindle 3
Just downloaded it now. Can't wait to give it a proper test run. If you need someone to type up docs give me a yell. I might not be able to code to save my life, but my English Lit. major has to be good for something.
Tanga is offline   Reply With Quote
Old 04-26-2012, 03:30 AM   #312
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: 251
Karma: 183457
Join Date: Jan 2012
Device: k3G, KDXG, AuraHD
Quote:
Originally Posted by Tanga View Post
Just downloaded it now. Can't wait to give it a proper test run. If you need someone to type up docs give me a yell. I might not be able to code to save my life, but my English Lit. major has to be good for something.
Hi Tanga,

Glad that you want to help out Currently, we use WIKI as the document:
https://github.com/hwhw/kindlepdfviewer/wiki

It is open to everyone, but you have to register a github account before editing. Feel free to help us improve the WIKI
dave2008 is offline   Reply With Quote
Old 04-27-2012, 06:24 PM   #313
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,379
Karma: 2155307
Join Date: Nov 2010
Location: Goettingen, Germany
Device: Kindle Paperwhite, Kobo Mini
OK, here we go: This is Release 2012.04.2, as of today (where I live, 2012-04-28 just started).

Changelog:
  • Add mobi, zip, doc format support
  • Fix bugs in left page backward key handling
  • Fix bugs in highlight feature
  • Show current page in goto page inputbox
  • Fix bug in creader's font setting menu
  • Fix bug in creader's help page
  • Fix bug in select menu (sometimes cannot select with five way key in DXG)
  • Fix font setting bug for some documents supported by CREngine.
  • Fix wrong page number in DjVu's TOC.
  • New shortcut 'x' to show bounding box of document or manually cropped area in current page.
  • Key repetition in file chooser and in document view

Updating is just reinstalling, no deinstallation needed. If using launchpad method: put archive in customupdates, press shift-shift-I and you're done.

Download the archive on the Download page in the project's Wiki: https://github.com/hwhw/kindlepdfviewer/wiki/Download
hawhill is offline   Reply With Quote
Old 04-27-2012, 07:48 PM   #314
medwatt
Zealot
medwatt knows better than to ask about the Gravitic Imploder Lance.medwatt knows better than to ask about the Gravitic Imploder Lance.medwatt knows better than to ask about the Gravitic Imploder Lance.medwatt knows better than to ask about the Gravitic Imploder Lance.medwatt knows better than to ask about the Gravitic Imploder Lance.medwatt knows better than to ask about the Gravitic Imploder Lance.medwatt knows better than to ask about the Gravitic Imploder Lance.medwatt knows better than to ask about the Gravitic Imploder Lance.medwatt knows better than to ask about the Gravitic Imploder Lance.medwatt knows better than to ask about the Gravitic Imploder Lance.medwatt knows better than to ask about the Gravitic Imploder Lance.
 
Posts: 147
Karma: 87723
Join Date: Jan 2011
Location: Kuiper Belt
Device: Kindle 3 (dead); Nook ST (dead); Sony PRS-T1; Onyx i86+
Thanks all for the chm support. The CHM support has been working with some books but its crashing with this. The document is attached.
Attached Files
File Type: zip Real Analysis - Maths.zip (1.27 MB, 162 views)
medwatt is offline   Reply With Quote
Old 04-28-2012, 02:20 AM   #315
citron
Member
citron began at the beginning.
 
Posts: 15
Karma: 10
Join Date: Feb 2012
Location: TW
Device: Kindle DXG
thanks for update.
I have some tips for improvement:
1) carousel type file browser - when you have many folders named (01 - 16) and you want to go for the last you have to go all way down. If it possible to move joystick up at the first position - 1 and skip to the last folder 16 and same way to skip from 16 to 1 by moving cursor down.

2) 5% manual zoom or custom margins by cursor like Duokan style - sometimes is more convenient to setup small level of zooming to fit the page exactly what you want or crop the page manually

A4 landscape handling - There is great function for reading papers in portrait mode using F shortcut when the page is divided into 4 parts which are zoomed manually and it is easy to navigate.
I have one book scanned in landscape mode - two pages in one A4 paper and in this case the Landscape mode doesn't work in the Kindle original software - no mode fit to screen (just fit to width) and in the PDF reader with the F shortcut only the first page from two is zoomed so you can see page 1,3,5,7...

Thanks
citron is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
KOReader: a document reader for PDF, DJVU, EPUB, FB2, HTML, ... (GPLv3) hawhill Kindle Developer's Corner 1268 02-27-2024 11:49 AM
Librerator - multi-format e-reader, fork of KPV Kai771 Kindle Developer's Corner 432 10-06-2017 12:20 PM
Yet another PDF viewer (muPDF based) melihron PocketBook 66 09-02-2014 03:03 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 02:13 PM.


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