houqp/kindlepdfviewer — comment on commit 84d6bfe3f8ad7bd851b48a82074d6606268a599b
File:  line 0
By houqp:

Um.. I just forgot to delete the FIT_TO_CONTENT mode ;-P

djvureader doest not support FIT_TO_CONTENT yet because I cannot figure out how to implement the getUsedBBox method. I failed to find a function in djvulibre library that is able to detect margins. Maybe I just missed something :-(

Yes, currently there are lots of code duplications... This frustrates me when writing the djvureader. Current djvureader is just a demo, so I haven't started to clean it up yet. And ideas? Maybe we need to write a abstract reader class that can be inherited by pdfreader and djvureader?