01-24-2008, 04:12 PM | #1 |
creator of calibre
Posts: 44,546
Karma: 24495948
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 11:46 PM. |
01-25-2008, 05: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?
|
01-25-2008, 05:21 AM | #3 |
creator of calibre
Posts: 44,546
Karma: 24495948
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
No DRMed files are LRX
|
01-25-2008, 05: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, 11:45 AM | #5 |
creator of calibre
Posts: 44,546
Karma: 24495948
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
LRS is the open XML format on which LRF is based.
|
01-27-2008, 11: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, 03:33 PM | #7 |
creator of calibre
Posts: 44,546
Karma: 24495948
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Actually, I'm rewriting it, so hold off until the next release.
|
01-30-2008, 11:47 PM | #8 |
creator of calibre
Posts: 44,546
Karma: 24495948
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, 10: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, 09: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, 09:10 AM | #11 |
creator of calibre
Posts: 44,546
Karma: 24495948
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Glad you find it useful
|
07-25-2008, 03: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, 04:47 AM | #13 |
creator of calibre
Posts: 44,546
Karma: 24495948
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Hmm I think this would qualify as a bug in lrs2lrf
|
07-25-2008, 10:11 PM | #14 |
Connoisseur
Posts: 54
Karma: 146
Join Date: Mar 2008
Device: E-Book Reader
|
|
07-25-2008, 10:17 PM | #15 |
creator of calibre
Posts: 44,546
Karma: 24495948
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 |
Thread Tools | Search this Thread |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
TomeRaider to go open source | MatYadabyte | News | 27 | 11-18-2012 01:23 PM |
Open source | bradrice | Kindle Formats | 2 | 12-21-2009 10:30 AM |
iRex and Open Source | jrial | iRex | 8 | 03-03-2009 11:34 AM |
Open source LRF viewer | kovidgoyal | LRF | 30 | 01-18-2009 06:10 AM |
TrueCrypt V2.0 Open-Source | Alexander Turcic | Lounge | 1 | 06-21-2004 03:02 PM |