![]() |
#46 |
calibre2opds guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 533
Karma: 8792
Join Date: Aug 2005
Location: Metz, France
Device: iPhone, iPad, PRS-650
|
Just for the record, I'm using the PMN Caecilia font suggested by Valloric in his excellent guide (at 0.9em) and, from the extensive testing I've made (I tried out about 30 different fonts, both serif and sans-serif), it's the best...
Yes I know I'm biased, but who isn't ? ;-) Cheers, David. |
![]() |
![]() |
![]() |
#47 |
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 90
Karma: 100000
Join Date: Jan 2009
Location: New Zealand
Device: prs-t1, prs-650 to sell
|
Im getting all kinds of ideas like matching the actual book/magazine font to the ebook font..
Caecilia sounds nice but expensive (above $100?!) Perpetua and book antiquita are nice for a change (most people have it already installed). Maybe the process of typing up the CSS could be replaced by a calibre GUI? |
![]() |
![]() |
Advert | |
|
![]() |
#48 |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 75,700
Karma: 134319572
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
|
![]() |
![]() |
![]() |
#49 |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 714
Karma: 2003751
Join Date: Oct 2008
Location: Ottawa, ON
Device: Kobo Glo HD
|
|
![]() |
![]() |
![]() |
#50 |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 75,700
Karma: 134319572
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
|
![]() |
![]() |
Advert | |
|
![]() |
#51 | ||
calibre2opds guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 533
Karma: 8792
Join Date: Aug 2005
Location: Metz, France
Device: iPhone, iPad, PRS-650
|
Quote:
Quote:
However, I happened to have books already in ePub format, which I didn't want Calibre to mess with (I didn't want to loose whatever special formatting the editor used) ; in this case there is no easy way but to edit the ePub file directly, inserting the code into a CSS file. FWIW, here is the code I use (the font files are stored in a /fonts directory on my PRS-505) : Code:
@font-face {font-family: "Caecilia";font-weight: normal;font-style: normal;src: url(res:///Data/fonts/CaeciliaLTStd-Roman.otf);} @font-face {font-family: "Caecilia";font-weight: bold;font-style: normal;src: url(res:///Data/fonts/CaeciliaLTStd-Bold.otf);} @font-face {font-family: "Caecilia";font-weight: bold;font-style: italic;src: url(res:///Data/fonts/CaeciliaLTStd-BoldItalic.otf);} @font-face {font-family: "Caecilia";font-weight: normal;font-style: italic;src: url(res:///Data/fonts/CaeciliaLTStd-Italic.otf);} body { font-family: "Caecilia", serif; font-size:0.9em; } |
||
![]() |
![]() |
![]() |
#52 |
Member
![]() Posts: 11
Karma: 10
Join Date: Jun 2009
Location: Ireland
Device: PRS-505
|
I tried above mentioned guide but I could't managed to get fonts right on Sony PRS-505.
I am able to get a different font up on the screen, but non english characters are still being encoded wrongly. Is there anything I am missing? Last edited by nas_matko; 06-15-2009 at 06:51 AM. |
![]() |
![]() |
![]() |
#53 | |
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?
|
Quote:
![]() also, don't forget that this method requires you to output epub format ; it won't work for lrf. let us know how you get on. |
|
![]() |
![]() |
![]() |
#54 |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 714
Karma: 2003751
Join Date: Oct 2008
Location: Ottawa, ON
Device: Kobo Glo HD
|
Adobe ePub implementation on Sony works with OpenType fonts.
The extension "ttf" is misleading, as it is used for not only for "old" TrueType fonts, but also for for fonts in "new", OpenType format. All fonts that are distributed with extension "otf" should work on Sony. |
![]() |
![]() |
![]() |
#55 | |
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?
|
Quote:
![]() |
|
![]() |
![]() |
![]() |
#56 |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 75,700
Karma: 134319572
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Yes, ADE on the 505 & 700 do with with both TrueType and OpenType fonts. I have used both and they work fine.
|
![]() |
![]() |
![]() |
#57 |
Member
![]() Posts: 11
Karma: 10
Join Date: Jun 2009
Location: Ireland
Device: PRS-505
|
I managed to get font on the screen, but encoding of noneglish charcter is still wrong.
I don't care as much about particular font, as long as encoding is correct. Is there anything about encoding that needs to be set up? |
![]() |
![]() |
![]() |
#58 |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 75,700
Karma: 134319572
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Is this ePub one that you can attach here for someone to have a look at?
|
![]() |
![]() |
![]() |
#59 |
Member
![]() Posts: 11
Karma: 10
Join Date: Jun 2009
Location: Ireland
Device: PRS-505
|
I think I have solved the problem. I saved TXT as UTF-8 (originally it was ANSI) and I set manually encoding as UTF-8 and now chaarcters are encoded properly.
However I have increased base font size to 22pt and now I am experiencing another problem - page count is e.g. 379 but I have to turn 3 or 4 pages before counter actually moves one page forward. Moreover page breakes are sometime in the middle of page. How to fix this? |
![]() |
![]() |
![]() |
#60 | |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 75,700
Karma: 134319572
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Quote:
As for page breaks in the middle of the page, this is Mobile ADE and each flow has to be 300k or less. So if your document is one document without chapters or sections, you will end up with breaks in strange places. |
|
![]() |
![]() |
![]() |
Tags |
epub, fonts |
|
![]() |
||||
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 07:16 AM |
ePub with custom .css on a 505 | dicknskip | Sony Reader Dev Corner | 3 | 06-09-2010 11:34 PM |
Custom TTF fonts in MOBI books? | jpt | Astak EZReader | 21 | 11-21-2009 08:24 AM |
Test for custom entities in ePUB | Jellby | ePub | 9 | 05-27-2009 06:45 AM |