Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 10-21-2009, 08:21 PM   #1
jackie_w
Grand Sorcerer
jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.
 
Posts: 6,206
Karma: 16228558
Join Date: Sep 2009
Location: UK
Device: Kobo: KA1, ClaraHD, Forma, Libra2, Clara2E. PocketBook: TouchHD3
PRS-505 Font differences - LRF vs EPUB

Please could someone explain the following to me.

The same HTML file looks different on a Sony PRS-505 depending on whether you convert to LRF or EPUB. In particular:-

1. Regular/Bold text. There is hardly any difference in appearance between regular and bold in LRF, but bold in EPUB has much better contrast. (EPUB better).

2. Monospace text. LRF looks pretty good (nice and dark), but EPUB is a wishy-washy grey. (LRF better)

3. Small Caps. Displayed OK in LRF, but just looks like regular text in EPUB. (LRF better)

4. Strikethrough. Displayed OK in EPUB, but just looks like regular text in LRF. (EPUB better).

I have not embedded any fonts in the file - at least not knowingly. The relevant bits of my CSS are:-

body {font-size:12pt; font-family:"Times New Roman", serif; }
p {font-size:100%; }
span.monospace {font-family:"Courier New", monospace; }
span.smallcaps {font-variant:small-caps; }

I would be very grateful for any help. I would like to start experimenting with font-embedding but not until I understand the basics, which I obviously don't!

Regards.
jackie_w is offline   Reply With Quote
Old 10-21-2009, 10:18 PM   #2
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 73,894
Karma: 128597114
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
LRF and ePub do use different default fonts. ePub does not support font-variant:smappcaps. But if you just make the regular font smaller instead, that will work. And in ePub it is very easy to use the fonts of your choice.
JSWolf is offline   Reply With Quote
Advert
Old 10-21-2009, 10:31 PM   #3
jackie_w
Grand Sorcerer
jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.
 
Posts: 6,206
Karma: 16228558
Join Date: Sep 2009
Location: UK
Device: Kobo: KA1, ClaraHD, Forma, Libra2, Clara2E. PocketBook: TouchHD3
Quote:
Originally Posted by JSWolf View Post
And in ePub it is very easy to use the fonts of your choice.
I'm assuming you mean using font embedding. I've bookmarked a very long post about it but haven't psyched myself up to go through it yet. Soon ...

Thanks for the tip about Small Caps - now why didn't I think of that?

Jackie
jackie_w is offline   Reply With Quote
Old 10-21-2009, 11:53 PM   #4
wallcraft
reader
wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.
 
wallcraft's Avatar
 
Posts: 6,975
Karma: 5183568
Join Date: Mar 2006
Location: Mississippi, USA
Device: Kindle 3, Kobo Glo HD
Quote:
Originally Posted by jackie_w View Post
I'm assuming you mean using font embedding.
You can use custom fonts without embedding them (i.e. without including them in the ePub). See ePub custom Fonts on 700, 505, 300, 600. The simplest approach is to use an add-on to the CSS such as:
Code:
@font-face {
  font-family: "Arial Black", serif, sans-serif;
  font-weight: normal;
  font-style:  normal;
  src: url(res:///Data/fonts/Arial-Black.ttf);
}
Where fonts is a directory on your internal memory containing the fonts you want to use. This is a simple example, which renames the default fonts, and you can do a lot more with fonts that this.
wallcraft is offline   Reply With Quote
Old 10-22-2009, 04:30 PM   #5
jackie_w
Grand Sorcerer
jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.
 
Posts: 6,206
Karma: 16228558
Join Date: Sep 2009
Location: UK
Device: Kobo: KA1, ClaraHD, Forma, Libra2, Clara2E. PocketBook: TouchHD3
Hi wallcraft,
Thank you for pointing me in the right direction. I have done some experimenting and managed to get it roughly working. I need to do a lot more work to get it just right, but it's looking promising.
jackie_w is offline   Reply With Quote
Advert
Old 10-23-2009, 03:15 AM   #6
awh_tokyo
Enthusiast
awh_tokyo began at the beginning.
 
Posts: 33
Karma: 10
Join Date: Jun 2007
Location: Tokyo, Japan
Device: PRS-505
I must admit that I put one ePub book on my PRS-505 once. I got two pages in, and then re-converted to LRF and read that instead.

I just think that the ePub display is so awful on the PRS-505 that it's worth having all my books in the "closed" format of LRF.
awh_tokyo is offline   Reply With Quote
Old 10-23-2009, 04:16 PM   #7
mrmikel
Color me gone
mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.
 
Posts: 2,089
Karma: 1445295
Join Date: Apr 2008
Location: Central Oregon Coast
Device: PRS-300
epub/lrf

The big advantage of epub for me is when the source is structured as many files linked together, like a web book. For me it is easier to get a usable if not attractive epub than an lrf. The LRF for me works best as one big source file, which takes a lot of work.

But I like the appearance of the LRF best.
mrmikel is offline   Reply With Quote
Old 10-23-2009, 05:28 PM   #8
Hellmark
Wizard
Hellmark ought to be getting tired of karma fortunes by now.Hellmark ought to be getting tired of karma fortunes by now.Hellmark ought to be getting tired of karma fortunes by now.Hellmark ought to be getting tired of karma fortunes by now.Hellmark ought to be getting tired of karma fortunes by now.Hellmark ought to be getting tired of karma fortunes by now.Hellmark ought to be getting tired of karma fortunes by now.Hellmark ought to be getting tired of karma fortunes by now.Hellmark ought to be getting tired of karma fortunes by now.Hellmark ought to be getting tired of karma fortunes by now.Hellmark ought to be getting tired of karma fortunes by now.
 
Hellmark's Avatar
 
Posts: 2,549
Karma: 3799999
Join Date: Jun 2009
Location: O'Fallon, Missouri, USA
Device: Nokia N800, PRS-505, Nook STR Glowlight, Kindle 3
Personally, I prefer the default settings in Calibre to make LRF's, and viewing under size S. What really is strange, is that with some epubs I have (Such as PJ Lyon's Sights a Bird) will not have one screen equal a page. It will have split pages (Page 5-6 of 318, or something like that) show a page number on the right hand side of the paragraph that starts the "page". On Sights a Bird, it takes like 3 or so screen changes, before it is on a new "page".
Hellmark is offline   Reply With Quote
Old 10-23-2009, 05:55 PM   #9
latexsalesman
Enthusiast
latexsalesman doesn't litterlatexsalesman doesn't litter
 
Posts: 39
Karma: 124
Join Date: Nov 2008
Location: Lockport, NY
Device: Pw2 @ Retina Mini
I never realized that I am a font geek. Calibre + ePub means I can quickly and easily make several copies of my books 2 read. I normally make one copy with a semi bold font, like Myriad Webpro condensed (my favorite) or minion pro semibold, and another copy with Caecilia. I love 2 try new fonts out all the time and I cannot do this with LRF.
latexsalesman is offline   Reply With Quote
Old 10-23-2009, 06:02 PM   #10
Hellmark
Wizard
Hellmark ought to be getting tired of karma fortunes by now.Hellmark ought to be getting tired of karma fortunes by now.Hellmark ought to be getting tired of karma fortunes by now.Hellmark ought to be getting tired of karma fortunes by now.Hellmark ought to be getting tired of karma fortunes by now.Hellmark ought to be getting tired of karma fortunes by now.Hellmark ought to be getting tired of karma fortunes by now.Hellmark ought to be getting tired of karma fortunes by now.Hellmark ought to be getting tired of karma fortunes by now.Hellmark ought to be getting tired of karma fortunes by now.Hellmark ought to be getting tired of karma fortunes by now.
 
Hellmark's Avatar
 
Posts: 2,549
Karma: 3799999
Join Date: Jun 2009
Location: O'Fallon, Missouri, USA
Device: Nokia N800, PRS-505, Nook STR Glowlight, Kindle 3
You can, but it isn't as easy. You have to hack the reader, usually by modifying the firmware.
Hellmark is offline   Reply With Quote
Old 10-23-2009, 06:44 PM   #11
radius
Lector minore
radius ought to be getting tired of karma fortunes by now.radius ought to be getting tired of karma fortunes by now.radius ought to be getting tired of karma fortunes by now.radius ought to be getting tired of karma fortunes by now.radius ought to be getting tired of karma fortunes by now.radius ought to be getting tired of karma fortunes by now.radius ought to be getting tired of karma fortunes by now.radius ought to be getting tired of karma fortunes by now.radius ought to be getting tired of karma fortunes by now.radius ought to be getting tired of karma fortunes by now.radius ought to be getting tired of karma fortunes by now.
 
radius's Avatar
 
Posts: 649
Karma: 1738720
Join Date: Jan 2008
Device: Aura One, Samsung Galaxy Tab S5e, Google Pixel Slate
Quote:
Originally Posted by jackie_w View Post
Please could someone explain the following to me.

The same HTML file looks different on a Sony PRS-505 depending on whether you convert to LRF or EPUB. In particular:-
You are seeing differences because of a couple of things:

1) LRF and EPUB have different capabilities. While EPUB is pretty much compatible with HTML, LRF was designed specifically for Sony's readers. There is very large overlap between what the two formats are capable of, they are not identical.

2) Different software draws LRF and EPUB. Sony wrote the software that renders LRF to the screen, while Adobe wrote the software that renders EPUB.
radius is offline   Reply With Quote
Old 10-23-2009, 09:42 PM   #12
jackie_w
Grand Sorcerer
jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.
 
Posts: 6,206
Karma: 16228558
Join Date: Sep 2009
Location: UK
Device: Kobo: KA1, ClaraHD, Forma, Libra2, Clara2E. PocketBook: TouchHD3
Thank you for the explanation, radius.
jackie_w is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Change font of header for LRF Output on PRS 505 duckbill Calibre 3 05-15-2010 11:07 AM
Font Difference Between ePUB and LRF? EatingPie Sony Reader 7 05-14-2010 05:32 PM
Problem with epub to lrf with changing font size and line spacing kleinbiker Calibre 4 12-17-2009 08:55 AM
505 vs. different font families in LRF pepak Sony Reader 8 09-29-2009 01:03 PM
ePub to LRF font-lock issue Steven Lyle Jordan Calibre 9 09-24-2009 03:50 PM


All times are GMT -4. The time now is 06:48 AM.


MobileRead.com is a privately owned, operated and funded community.