06-16-2009, 06:07 PM | #61 | |
Member
Posts: 21
Karma: 110
Join Date: Nov 2007
Location: USA
Device: NUUT/Dell Axim, PRS-505
|
Can you specify....
Hello nas_matko,
How could you manage to convert ePub with UTF-8 encoding? I presume you have converted from a Japanese txt. Would you please give me recipe and font name please? Quote:
|
|
06-16-2009, 10:48 PM | #62 |
Resident Curmudgeon
Posts: 76,491
Karma: 136564766
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
We are getting off topic. Can we please start another thread on encoding and converting since it doesn't have to do with fonts?
|
Advert | |
|
06-17-2009, 06:25 AM | #63 |
calibre2opds guru
Posts: 533
Karma: 8792
Join Date: Aug 2005
Location: Metz, France
Device: iPhone, iPad, PRS-650
|
I agree that this is a bit off-topic.
To get back on (the topic) I found out that the Droid font family (used in the Google Android operating system) is now freely available (although quite a bit hard to find). It's a nice, very legible font, looks a bit like the lovely (but expensive) PMN Caecilia. I prepared a tiny package that I share here with you, my fellow e-readers ; it contains the fonts that must be uploaded to the device (in a /fonts directory), and a droid.css file which content must be copy/pasted in Calibre settings (Set conversion defaults / Look and Feel / Override CSS). Should anyone need help, please contact me... Cheers, David. Last edited by dpierron; 06-17-2009 at 12:12 PM. Reason: Removed the bugged package |
06-17-2009, 07:20 AM | #64 |
zeldinha zippy zeldissima
Posts: 27,827
Karma: 921169
Join Date: Dec 2007
Location: Paris, France
Device: eb1150 & is that a nook in her pocket, or she just happy to see you?
|
thank you for that david ! i think you'll make a lot of people very happy.
|
06-17-2009, 12:11 PM | #65 |
calibre2opds guru
Posts: 533
Karma: 8792
Join Date: Aug 2005
Location: Metz, France
Device: iPhone, iPad, PRS-650
|
Ooops, looks like I posted too fast...
I made a crucial mistake when I copied the CSS code in the droid.css file : the line specifying the text justification is missing a trailing column ! As a result, the following lines are not even evaluated, and thus the droid font is never even used by ADE... So, I thought that this package worked when it didn't : the font I saw was the default serif font of ADE. I'll try and post an updated package ASAP, but for the moment I can't make it work and I think that maybe the font files are FUBAR (so much acronyms in so small a sentence, you're gonna think I'm military ) Cheers, David. |
Advert | |
|
06-17-2009, 12:27 PM | #66 |
Resident Curmudgeon
Posts: 76,491
Karma: 136564766
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
I have the Droid fonts. If you need some help, let me know.
|
06-17-2009, 12:36 PM | #67 |
calibre2opds guru
Posts: 533
Karma: 8792
Join Date: Aug 2005
Location: Metz, France
Device: iPhone, iPad, PRS-650
|
Yes, I'd like to try with your fonts files, please. My email is dpierron (at) gmail.com !
Whatever I do which works for the Caecilia font, stops working as soon as I try with my Droid TTF files. Thay are most probably in a form incompatible with the PRS-505, although they show up nicely on the computer screen... |
06-17-2009, 12:48 PM | #68 |
calibre2opds guru
Posts: 533
Karma: 8792
Join Date: Aug 2005
Location: Metz, France
Device: iPhone, iPad, PRS-650
|
Well, no need to worry, the font files worked after patching the CSS just a bit.
Here is the promised package, and I can guarantee that it works : I tried it myself... droid.zip I think the Droid Serif font looks nice, but is a bit densely packed for my taste. I'll try and use the Droid Sans just in case it's more spaced. In the meantime, I'll stick to Caecilia. Cheers, and thanks for the help ! David. |
06-17-2009, 12:50 PM | #69 | |
Resident Curmudgeon
Posts: 76,491
Karma: 136564766
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Quote:
|
|
06-17-2009, 12:53 PM | #70 |
calibre2opds guru
Posts: 533
Karma: 8792
Join Date: Aug 2005
Location: Metz, France
Device: iPhone, iPad, PRS-650
|
That's a good idea, although I was talking about the horizontal spacing of the letters (isn't it called kerning?). AFAIK, there is no way (in CSS) to change this spacing, is it ?
|
06-17-2009, 01:10 PM | #71 | |
sleepless reader
Posts: 4,763
Karma: 615547
Join Date: Jan 2008
Location: Germany, near Stuttgart
Device: Sony PRS-505, PB 360° & 302, nook wi-fi, Kindle 3
|
Quote:
Code:
letter-spacing:0.3em Update: Hm, seems as it isn't ADEs fault. letter-spacing is just not in the supported CSS subset according to the OPS specification. Last edited by netseeker; 06-17-2009 at 01:13 PM. |
|
06-22-2009, 08:40 PM | #72 |
Connoisseur
Posts: 90
Karma: 100000
Join Date: Jan 2009
Location: New Zealand
Device: prs-t1, prs-650 to sell
|
Custom fonts work nicely with fetched news from calibre, but interestingly not with reconverted epubs from feedbooks.com - "invalid page" is displayed on the sony.
There's probably some way of putting the CSS in the calibre recipie; I've just been reconverting the fetched epub until I figure that out. For people having trouble with getting custom fonts working at all, I've had some success pasting the book in to: http://tinymce.moxiecode.com/examples/full.php then copying it to word and saving as RTF. Also if the conversions were slow, doing this speeds them up. You'll loose links but keep your formatting. Last edited by gregcd; 06-23-2009 at 12:03 AM. |
06-24-2009, 01:05 AM | #73 | |
Zealot
Posts: 125
Karma: 1031580
Join Date: Nov 2008
Device: Kindle Paperwhite, Sony PRS-505(LC) & Rocket eBook
|
Quote:
I have been having zero luck getting fonts to work with the LRF conversion in Calibre. I based my own font selections (Trebucet, of all things) on your Droid file. The font selection seems to be working in the ePub conversion on my squeaky-new 505, but I do wonder about those little page numbers I'm seeing on the conversions. Can they be suppressed in the conversion process? Also, my source files started out life as HTML with JUSTIFIED DIVs. The ePub is displaying ragged-right, regardless if I keep the TEXT-ALIGN attribute in the override CSS. Any thoughts on that? Anyone? (If this is something obvious, write it off to a 505 Noob. ) Thanks. -Joe |
|
06-24-2009, 02:51 AM | #74 | |
sleepless reader
Posts: 4,763
Karma: 615547
Join Date: Jan 2008
Location: Germany, near Stuttgart
Device: Sony PRS-505, PB 360° & 302, nook wi-fi, Kindle 3
|
Quote:
The ADE version used on the PRS-505 doesn't support full justification. Newer versions would be able to do that but Sony hasn't published a firmware update yet. |
|
06-24-2009, 10:22 AM | #75 | ||
Zealot
Posts: 125
Karma: 1031580
Join Date: Nov 2008
Device: Kindle Paperwhite, Sony PRS-505(LC) & Rocket eBook
|
Quote:
Quote:
So... the ePub-formatted files are using a separate rendering engine? Crud... after getting the fonts to actually work, too. I am experiencing an Epic Fail in getting fonts recognized with LRF. I guess I'll go back to trying to get the fonts to work in the LRF files. Thanks for the quick reply. -Joe |
||
Tags |
epub, fonts |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Any Reader With Custom Fonts and Full Justification? | Loose_Appeal | Which one should I buy? | 2 | 07-16-2010 08:16 AM |
ePub with custom .css on a 505 | dicknskip | Sony Reader Dev Corner | 3 | 06-10-2010 12:34 AM |
Custom TTF fonts in MOBI books? | jpt | Astak EZReader | 21 | 11-21-2009 09:24 AM |
Test for custom entities in ePUB | Jellby | ePub | 9 | 05-27-2009 07:45 AM |