![]() |
#1 |
Bookmaker
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 427
Karma: 2143650
Join Date: Sep 2010
Device: Cybook Opus
|
Icon Fonts and eReaders
I've been working on converting a book to ePub that uses a set of eight colored icons to distinguish certain concepts it's trying to explain. Having had difficulties getting image files to line up right, I've been trying to use an icon font from IcoMoon to represent those eight icons in the ePub.
As far as Calibre's editor is concerned, and Sigil too, this works great! I was able to replace the bullet points with the icons using the :before element and get them to look right. Unfortunately none of this shows up when I transfer the book to an eReader (either Kobo or Nook) and view the files there. Does anybody have an idea of what I could do to get the icons visible to readers? |
![]() |
![]() |
![]() |
#2 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 4,520
Karma: 121692313
Join Date: Oct 2009
Location: Heemskerk, NL
Device: PRS-T1, Kobo Touch, Kobo Aura
|
Without some code, it will be difficult...
|
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 5,680
Karma: 23983815
Join Date: Dec 2010
Device: Kindle PW2
|
******************
Last edited by Doitsu; 01-18-2014 at 02:50 PM. |
![]() |
![]() |
![]() |
#4 | |
frumious Bandersnatch
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 7,543
Karma: 19001583
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
|
Quote:
Since you say "replace the bullet", I guess you are using lists... Stay away from them if you require any special styling. Instead use an embedded font, an explicit character and hanging indent (or whatever). |
|
![]() |
![]() |
![]() |
#5 | |
Bookmaker
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 427
Karma: 2143650
Join Date: Sep 2010
Device: Cybook Opus
|
Quote:
Working up bulleted lists where some bullets use standard bullets and some use a fancy icon is going to be a pain, then. Is EPUB3 any better at this, not that it helps much in this situation? |
|
![]() |
![]() |
Advert | |
|
![]() |
#6 | |
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
|
Quote:
Dale |
|
![]() |
![]() |
![]() |
#7 | |
frumious Bandersnatch
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 7,543
Karma: 19001583
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
|
Quote:
Code:
<div class="list"> <p><span class="standard_bullet">•</span> First item.</p> <p><span class="fancy_bullet">•</span> Second (fancy) item.</p> </div> Or, if the whole list is going to use one bullet or the other: Code:
<div class="standard_list"> <p><span class="bullet">•</span> First item.</p> <p><span class="bullet">•</span> Second item.</p> </div> <div class="fancy_list"> <p><span class="bullet">•</span> First (fancy) item.</p> <p><span class="bullet">•</span> Second (fancy) item.</p> </div> Last edited by Jellby; 01-18-2014 at 02:24 PM. |
|
![]() |
![]() |
![]() |
#8 |
Bookmaker
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 427
Karma: 2143650
Join Date: Sep 2010
Device: Cybook Opus
|
Ah, that solution might actually be possible. Thanks!
|
![]() |
![]() |
![]() |
Tags |
epub, font, icon fonts |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
How to add alternate fonts without replacing system fonts.(this time this is a guide) | techiemonkey | Kindle Developer's Corner | 17 | 09-12-2012 04:55 PM |
An Observation on Fonts - Improving readability by using *bold* versions of fonts | nesler | General Discussions | 12 | 06-24-2012 12:33 PM |
need the fonts in /usr/java/lib/fonts of kindle touch5.0.0 | hanpal | Kindle Developer's Corner | 1 | 02-20-2012 10:40 AM |
Touch Fonts question (special characters in stock and custom fonts) | levil | Kobo Reader | 20 | 09-23-2011 01:51 PM |
What Fonts are used in various eReaders? What Font options are available? | tomereader | General Discussions | 28 | 08-20-2010 05:40 AM |