03-15-2009, 03:18 PM | #31 |
Created Sigil, FlightCrew
Posts: 1,982
Karma: 350515
Join Date: Feb 2008
Device: Kobo Clara HD
|
|
04-06-2009, 02:50 AM | #32 |
You kids get off my lawn!
Posts: 4,220
Karma: 73492664
Join Date: Aug 2007
Location: Columbus, Ohio
Device: Oasis 2 and Libra H2O and half a dozen older models I can't let go of
|
So if I use the originally listed technique - save the fonts to my Reader and put them in the CSS - what happens if I give a copy of the eBook to a friend whose Reader doesn't have the fonts saved? Bricked Reader? Crash/reset? Defaults to system fonts?
I looked at the Hounds of the Baskerville file, and it did display in my Reader as intended (pretty cool, actually). But I could imagine this could lead to much larger files...and is there any issue with using system fonts from my computer on eBooks distributed to others? |
Advert | |
|
04-06-2009, 09:42 AM | #33 | |
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, since you are not adding the fonts to every book, but only a few lines of code, it won't lead to much larger files ; that is actually one of the benefits of this method ; you just move the font files *once*, but you can use them on every book formatted to use them, whereas when you embed fonts you must embed all the fonts in each file, and that *does* lead to larger files. as for the question of using system fonts from your computer for sharing books, don't forget that if the person you share with wants to use the same font, they must also have a sony 505 / 700, and they must install the fonts in the correct folder (otherwise, it will just use the default fonts). there are many fonts available which are free and can be distributed with no problem ; anyone using the same system as you (windows ?) would have access to the same ones. alternatively, you can choose one of the many many quality free fonts available (many discussed here). some fonts are not free to be distributed (this is true of many commercial font foundries like adobe and linotype), but it's easy enough to find good free fonts that this shouldn't be a problem. |
|
04-12-2009, 12:30 PM | #34 |
Zealot
Posts: 149
Karma: 937
Join Date: Mar 2009
Device: iPad, Blackberry Bold
|
Let me preface that I'm completely new to CSS but know enough to copy/paste and do basic editing of someone else's code. I have read this thread with great interest. Thank you for the contributions that have been provided.
I do have a question which I believe will be very easy for someone comfortable with CSS. How can I change the chapter headings so that they don't look like regular text and is larger? My guess is that it's a "heading" tag of some sort. In brief, what would be the correct syntax to include a particular font family to "heading" text? |
04-12-2009, 12:38 PM | #35 |
Guru
Posts: 610
Karma: 4150
Join Date: Mar 2008
Device: Sony Reader PRS-T3, Kobo Libra H2O
|
It's not CSS you want to modify, but your HTML file. Instead of
Code:
<p>CHAPTER 10</p> <p>Blablabla...</p> Code:
<h2>Chapter 10</h2> <p>Blablabla...</p> If you then want to enlarge the heading even more, you can use CSS: Code:
h2 { font-size: 200%; } |
Advert | |
|
04-12-2009, 12:39 PM | #36 |
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?
|
the correct html tag for headings are the h series tags ; so, the largest header (i use it for the title) would be <h1>title</h1>, next largest is h2, etc.
usually i use h3 for chapters but that's a question of choice. in the css code, you can modify the font used, whether it's bold or not, italic, etc. edit : or see pepak's much better answer just before me. |
04-12-2009, 05:22 PM | #37 |
Zealot
Posts: 149
Karma: 937
Join Date: Mar 2009
Device: iPad, Blackberry Bold
|
Thank you pepak and zelda-pinwheel for your informative replies. I understand now.
|
05-02-2009, 11:17 AM | #38 |
Junior Member
Posts: 4
Karma: 10
Join Date: May 2009
Device: PRS 700
|
Big thanks to zelda-pinwheel, i was able to read vietnamese on PRS 700 now
|
05-02-2009, 11:25 AM | #39 |
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?
|
|
05-09-2009, 03:23 PM | #40 |
Zealot
Posts: 149
Karma: 937
Join Date: Mar 2009
Device: iPad, Blackberry Bold
|
If I purchase an epub, say of LOTR, and I want to use custom fonts as described earlier, will I be affecting my original epub source when Calibre copies it to my device so that I can get the custom fonts?
|
05-09-2009, 04:04 PM | #41 |
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
|
When you add the epub to Calibres library, then Calibre will create a copy and leave the original as it is.
|
06-05-2009, 04:09 AM | #42 |
Connoisseur
Posts: 90
Karma: 100000
Join Date: Jan 2009
Location: New Zealand
Device: prs-t1, prs-650 to sell
|
Hi I've finally got this going
It looks awesome; variety of font makes a big difference. I'm using droid serif (a google font) http://damieng.com/blog/2007/11/14/d...oogle-ascender |
06-05-2009, 10:08 PM | #43 | |
Guru
Posts: 714
Karma: 2003751
Join Date: Oct 2008
Location: Ottawa, ON
Device: Kobo Glo HD
|
Quote:
|
|
06-06-2009, 12:40 AM | #44 |
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
|
It does look pretty good on my 505 at the default base size used by Calibre's ePub conversion.
Last edited by JSWolf; 06-06-2009 at 01:06 AM. |
06-07-2009, 06:02 AM | #45 | |
Connoisseur
Posts: 90
Karma: 100000
Join Date: Jan 2009
Location: New Zealand
Device: prs-t1, prs-650 to sell
|
Glad other people like it.
This line will space out the text if it looks too dense: Quote:
|
|
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 |