![]() |
#1 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 44,270
Karma: 23661992
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. |
![]() |
![]() |
![]() |
#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?
|
![]() |
![]() |
![]() |
#3 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 44,270
Karma: 23661992
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
No DRMed files are LRX
|
![]() |
![]() |
![]() |
#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? |
![]() |
![]() |
![]() |
#5 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 44,270
Karma: 23661992
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
LRS is the open XML format on which LRF is based.
|
![]() |
![]() |
![]() |
#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.
|
![]() |
![]() |
![]() |
#7 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 44,270
Karma: 23661992
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Actually, I'm rewriting it, so hold off until the next release.
|
![]() |
![]() |
![]() |
#8 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 44,270
Karma: 23661992
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.
|
![]() |
![]() |
![]() |
#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.
|
![]() |
![]() |
![]() |
#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
![]() |
![]() |
![]() |
![]() |
#11 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 44,270
Karma: 23661992
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Glad you find it useful
![]() |
![]() |
![]() |
![]() |
#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? |
![]() |
![]() |
![]() |
#13 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 44,270
Karma: 23661992
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Hmm I think this would qualify as a bug in lrs2lrf
|
![]() |
![]() |
![]() |
#14 |
Connoisseur
![]() ![]() Posts: 54
Karma: 146
Join Date: Mar 2008
Device: E-Book Reader
|
|
![]() |
![]() |
![]() |
#15 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 44,270
Karma: 23661992
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
One can hope
![]() |
![]() |
![]() |
![]() |
Tags |
libprs500 |
|
![]() |
||||
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 |