Thread: LRF output
View Single Post
Old 05-20-2007, 10:17 PM   #119
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 80,044
Karma: 147977995
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Quote:
Originally Posted by kovidgoyal
If you're talking about the performance of the LRF file when viewed on the reader, it makes no difference.

Added HTML source.
I'm trying to convert the demo to LRF and it's not working. I did install the new version of libprs500.

Quote:
[e:\e-books\sonyreader\demo]"c:\Program Files\libprs500\html2lrf.exe" demo
Processing demo.html
Parsing HTML... done
Converting to BBeB...
Traceback (most recent call last):
File "convert_from.py", line 1351, in <module>
File "convert_from.py", line 1286, in main
File "convert_from.py", line 1158, in process_file
File "convert_from.py", line 356, in __init__
File "convert_from.py", line 440, in parse_file
File "convert_from.py", line 649, in process_children
File "convert_from.py", line 1060, in parse_tag
File "convert_from.py", line 649, in process_children
File "convert_from.py", line 1058, in parse_tag
File "convert_from.py", line 1069, in process_table
File "libprs500\ebooks\lrf\html\table.pyc", line 281, in blocks
File "libprs500\ebooks\lrf\html\table.pyc", line 251, in get_widths
File "libprs500\ebooks\lrf\html\table.pyc", line 209, in preferred_width
File "libprs500\ebooks\lrf\html\table.pyc", line 167, in preferred_width
File "libprs500\ebooks\lrf\html\table.pyc", line 164, in text_block_preferred_width
File "libprs500\ebooks\lrf\html\table.pyc", line 128, in text_block_size
File "libprs500\ebooks\lrf\fonts\__init__.pyc", line 38, in get_font
File "pkg_resources.pyc", line 800, in resource_filename
File "pkg_resources.pyc", line 1221, in get_resource_filename
NotImplementedError: resource_filename() only supported for .egg, not .zip
Did I do something wrong?
JSWolf is offline   Reply With Quote