Biinngg / iphoneebooks

Automatically exported from code.google.com/p/iphoneebooks
GNU General Public License v2.0
0 stars 0 forks source link

Allow to set default horizontal alignment to "justify" #111

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Open text file with more than 1 line
2.
3.

What is the expected output? What do you see instead?
Would like to see the text justified, as it is (for some) easier to read.
Currently the default alignment is 'left'.

What version of the product are you using? On what operating system?
1.1.3.

Please provide any additional information below.
Should be an option, applicable to all formats, including HTML, however it
should not override explicitly set alignment.

Original issue reported on code.google.com by sergemak...@gmail.com on 9 Mar 2008 at 3:28

GoogleCodeExporter commented 9 years ago
This is impossible to do with the current webview based display.  We've given 
some
thought to implementing our own view (in which case, this request will be taken 
into
account), but for now, it's not going to happen any time soon.

Original comment by pendorbo...@gmail.com on 9 Mar 2008 at 10:33

GoogleCodeExporter commented 9 years ago
It might be possible in enclose plain text files into <p align=justify>...</p> 
and
replace in html-files <p> with <p align=justify> before passing it to 
UITextView.
Again, can presented as an option in the configuration menu.

Original comment by sergemak...@gmail.com on 9 Mar 2008 at 11:10

GoogleCodeExporter commented 9 years ago
Unfortunately modifications to the text of files slows the startup own 
*enormously*.
 We currently modify HTMl files to fix up image tags and to remove script and css and
other problematic elements.  That fix-up process takes far longer than anything 
else
in the startup process.  I've recently refactored so that plain text files are
treated as plaintext instead of being converted to HTML, and it's sped up the 
load
time for text a LOT.  I wouldn't want to go back to pre-processing plain text 
again
if it can possibly be avoided.

Original comment by pendorbo...@gmail.com on 9 Mar 2008 at 11:16

GoogleCodeExporter commented 9 years ago
Just curious - what is the rationale for filtering javascript and inline-css, 
if it's
taking so much time and is either ignored anyway by the rendering engine (css) 
or is
not usually present in books (scripts)?

Original comment by sergemak...@gmail.com on 11 Mar 2008 at 8:48

GoogleCodeExporter commented 9 years ago

Original comment by pendorbo...@gmail.com on 4 May 2008 at 10:01