01-24-2008, 03:12 PM | #1 |
creator of calibre
Posts: 44,482
Karma: 24495778
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Open source lrs2lrf
version 0.4.34 of libprs500 now has a converter to compile LRS files into LRF files.
Code:
lrs2lrf myfile.lrs Last edited by kovidgoyal; 01-30-2008 at 10:46 PM. |
01-25-2008, 04:16 AM | #2 |
The Introvert
Posts: 8,307
Karma: 1000077497
Join Date: Jan 2007
Location: United Kingdom
Device: Sony Reader PRS-650 & 505 & 500
|
Does it mean that DRMed LRS files from Sony Connect could be converted into non-DRM LRF files?
|
Advert | |
|
01-25-2008, 04:21 AM | #3 |
creator of calibre
Posts: 44,482
Karma: 24495778
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
No DRMed files are LRX
|
01-25-2008, 04:26 AM | #4 |
The Introvert
Posts: 8,307
Karma: 1000077497
Join Date: Jan 2007
Location: United Kingdom
Device: Sony Reader PRS-650 & 505 & 500
|
Omg, then I am going to ask a very stupid question
What is LRS then? |
01-25-2008, 10:45 AM | #5 |
creator of calibre
Posts: 44,482
Karma: 24495778
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
LRS is the open XML format on which LRF is based.
|
Advert | |
|
01-27-2008, 10:24 AM | #6 |
Addict
Posts: 205
Karma: 317
Join Date: Oct 2006
Location: England
Device: Sony PRS-505, iPad, Kindle 3
|
Great stuff kovidgoyal! Tried it with comiclrf but looks like there are quite a few things missing yet, I'll try to log some bug reports.
|
01-27-2008, 02:33 PM | #7 |
creator of calibre
Posts: 44,482
Karma: 24495778
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Actually, I'm rewriting it, so hold off until the next release.
|
01-30-2008, 10:47 PM | #8 |
creator of calibre
Posts: 44,482
Karma: 24495778
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
version 0.4.35 has a completely re-written implementation that should have far fewer bugs.
|
01-31-2008, 09:09 AM | #9 |
Addict
Posts: 205
Karma: 317
Join Date: Oct 2006
Location: England
Device: Sony PRS-505, iPad, Kindle 3
|
kovidgoyal, it's looking great. Testing with comiclrf and I haven't found any problems so far.
|
04-11-2008, 08:05 AM | #10 |
Member
Posts: 20
Karma: 500
Join Date: Mar 2008
Device: PRS505, Kindle DXi
|
I just want you to thank you for your work with this
|
04-11-2008, 08:10 AM | #11 |
creator of calibre
Posts: 44,482
Karma: 24495778
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Glad you find it useful
|
07-25-2008, 02:44 AM | #12 |
Connoisseur
Posts: 54
Karma: 146
Join Date: Mar 2008
Device: E-Book Reader
|
Hi Kovid,
I have some Chinese lrf books which I want to modify their font size etc. I used lrf2lrs.exe to convert them successfully into lrs. The lrs file has something like this: <TextBlock objid="18" blockstyle="138" textstyle="133"> <P> <CR /></P><CR /><P> 脱弦之箭御风疾飞,气势逼人。(....) You can see there are two big spaces at the beginning of the paragraph which serve as indentation to Chinese text. i.e. lrf2lrs.exe works perfectly. My problem is that all these spaces disappear after I convert the lrs file back to lrf format by lrs2lrf.exe. Anything I can do to keep these spaces? |
07-25-2008, 03:47 AM | #13 |
creator of calibre
Posts: 44,482
Karma: 24495778
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Hmm I think this would qualify as a bug in lrs2lrf
|
07-25-2008, 09:11 PM | #14 |
Connoisseur
Posts: 54
Karma: 146
Join Date: Mar 2008
Device: E-Book Reader
|
|
07-25-2008, 09:17 PM | #15 |
creator of calibre
Posts: 44,482
Karma: 24495778
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
One can hope But no promises, I have too much on my plate to make firm comittments.
|
Tags |
libprs500 |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
TomeRaider to go open source | MatYadabyte | News | 27 | 11-18-2012 12:23 PM |
Open source | bradrice | Kindle Formats | 2 | 12-21-2009 09:30 AM |
iRex and Open Source | jrial | iRex | 8 | 03-03-2009 10:34 AM |
Open source LRF viewer | kovidgoyal | LRF | 30 | 01-18-2009 05:10 AM |
TrueCrypt V2.0 Open-Source | Alexander Turcic | Lounge | 1 | 06-21-2004 02:02 PM |