11-07-2012, 09:58 AM | #16 |
Evangelist
Posts: 416
Karma: 14682
Join Date: May 2008
Location: SF Bay Area
Device: Nook HD, Nook for Windows 8
|
|
11-07-2012, 02:22 PM | #17 |
Member
Posts: 18
Karma: 10
Join Date: Nov 2012
Device: none
|
For some reason, I thought this thread had veered into using images for initial drop caps, which I had posted about in a different thread. I now see that you're referring to inline images for the special characters. I'd thought of that, but it wouldn't take into account the font or size the ereader is using. According to B&N, the Nook has three fonts. I suppose I could embed the three special characters for all three fonts (if I knew what the fonts were), but would the ereader select the correct one for the font being used? Could I code for it? And what would happen if the user changes the font size? Would the images scale with it?
|
Advert | |
|
11-07-2012, 02:38 PM | #18 |
Grand Sorcerer
Posts: 11,470
Karma: 13095790
Join Date: Aug 2007
Location: Grass Valley, CA
Device: EB 1150, EZ Reader, Literati, iPad 2 & Air 2, iPhone 7
|
yes the image should scale with it but it would not change the image based on the font selection.
|
11-08-2012, 10:50 AM | #19 | |
Evangelist
Posts: 416
Karma: 14682
Join Date: May 2008
Location: SF Bay Area
Device: Nook HD, Nook for Windows 8
|
Quote:
I'm pretty sure that there isn't a way to select images based upon font styling. |
|
11-14-2012, 09:55 PM | #20 |
Member
Posts: 18
Karma: 10
Join Date: Nov 2012
Device: none
|
If one were going to embed a font to use for the body of the text, to get the special characters, does anyone have any thoughts on serif vs. sans-serif? Are there any stats or a consensus on what users prefer?
|
Advert | |
|
11-14-2012, 10:14 PM | #21 |
Resident Curmudgeon
Posts: 73,661
Karma: 127838198
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
What I've found that works is to use a font family name of serif. That's generic and allows the system to still use serif to change the font family.
font-family: serif |
11-14-2012, 10:16 PM | #22 | |
Resident Curmudgeon
Posts: 73,661
Karma: 127838198
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Quote:
http://www.mediafire.com/download.php?64cse2dshispx08 Last edited by JSWolf; 02-02-2013 at 07:03 PM. |
|
11-15-2012, 03:52 PM | #23 |
Member
Posts: 18
Karma: 10
Join Date: Nov 2012
Device: none
|
Thanks--I'll try serif, though I read in another thread that embedding a font for body text slows down page turns significantly.
I found a character map for Charis, but it doesn't seem to have Eastern European characters. Also, if I specify serif, wouldn't that allow the device to choose another serif font, which won't have the special characters? I can find an appropriate cheap or free font at fontspring.com, which classifies them by languages, among other categories. |
11-16-2012, 04:06 AM | #24 |
frumious Bandersnatch
Posts: 7,514
Karma: 18512745
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
|
You can use Free Serif as a default embedded font.
In order to make the reader use the font, you have to define it in a @font-face rule, where you assign it a "font-family", and then you use that same "font-family" in other CSS styles. You are right, if you use simply "serif" the reader will probably choose its own default font (which may be serif or not, actually). |
11-16-2012, 03:26 PM | #25 |
Member
Posts: 18
Karma: 10
Join Date: Nov 2012
Device: none
|
Thanks. Free Serif looks a lot like Times, but it may work. I'll give it a try.
|
11-19-2012, 06:42 PM | #26 |
Resident Curmudgeon
Posts: 73,661
Karma: 127838198
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Charis SIL is a much nicer font especially the version I've created that has been tweaked to look better on an eink screen.
Here is the URL if you want to give it a go. Charis SIL is free and allowed to be used in eBooks. http://www.mediafire.com/download.php?64cse2dshispx08 Last edited by JSWolf; 02-02-2013 at 07:03 PM. |
Thread Tools | Search this Thread |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
decimal entities in ePub instead of character entities | epub4ever | Calibre | 4 | 04-20-2012 02:27 AM |
Epub format, B & N PubIt!, and HTML character entities | jlandahl | ePub | 3 | 04-07-2011 04:38 AM |
Named entities or not? | alecE | ePub | 17 | 07-21-2009 12:24 PM |
Test for custom entities in ePUB | Jellby | ePub | 9 | 05-27-2009 06:45 AM |