|08-14-2012, 05:52 AM||#1|
Join Date: Aug 2007
Location: Elda - Alicante (Spain)
Device: PB903, K2, K3, K2i, KDX,KDXG,Nook,DR1000S, Boox6, iPad, Q1U, X51v, TM2
i62HD Hack: forcing hyphenation into cr3 internal folder
After a lot of messing with CMakeList.txt wrong files, rake stupidity random behavior and some other bugs in CoolReader source code (duplicate symbols), I've successfully built open source stuff. I wonder how developers can compile their code.
It seems Onyx CoolReader hyphenation part is not finished. It has some things done but others are not finished. For example, for hyphenation files CR only search in internal /usr/share folder but not in external /media/flash (internal disk)... And it is locked into Russian hyphenation.
With this hack, CR searches for hyphenation files in /media/flash/cr3/hyph. However, it searches for two fixed files: esSOLSTICIO.pdb and esSOLSTICIO.pattern instead of Russian ones. Doing a dynamic hyphenation load for each language (as it seems is done by FBReader) exceeds my desired a long way. That's labour of Onyx.
Steps to install this hack:
1.- Get your PDB or pattern hyphenation files.
2.- Rename into esSOLSTICIO.pdb or esSOLSTICIO.pattern. Letter case is enabled.
3.- Put one of them into cr3/hyph folder in internal BOOX disk.
4.- create a folder in microSD called /apps/cr.
5.- Expand my files there:
6.- Once microSD into device, exec install_cr3.oar. cr3new will dissapear and appear cr3. Conserve this file because it is original cr3 file. To remove this hack, execute remove_cr3.oar, that will put cr3 into its place.
Of course, no warranty, etc..
Last edited by rfog; 08-14-2012 at 06:00 AM.
|08-14-2012, 10:02 AM||#2|
Join Date: Mar 2012
Device: Onyx Boox M92, Onyx Boox Firefly 256MB
Thank you very much.
We needed something like this to properly manage the separation of words with the CoolReader.
Developers take note of Onyx.
|Thread Tools||Search this Thread|
|Thread||Thread Starter||Forum||Replies||Last Post|
|Onyx Boox i62HD How To Topics||jbsavitz||Onyx Boox||0||08-08-2012 01:08 PM|
|FBreader question on i62HD||owly||Onyx Boox||2||07-20-2012 04:11 AM|
|Is there any Kindle hack internal guide?||lgx||Kindle Developer's Corner||0||10-11-2010 09:11 PM|
|iRex Dr800SG folder hack||Wheezie||iRex||2||02-23-2010 06:17 PM|
|Dictionary support for cr3, did anybody get this to work?||daviddem||OpenInkpot||14||05-26-2009 07:12 AM|