04-04-2014, 07:35 PM | #1 |
Bookmaker
Posts: 416
Karma: 2143650
Join Date: Sep 2010
Device: Cybook Opus
|
Displaying Chinese? Characters
I'm working on an ePub that contains a list of sponsors in the back, including two with names including Asian characters not present in the book's standard font. So, I included Droid Sans to display them in, and they now show up correctly in Calibre's editor and viewer. But they don't show up on the Kobo, Nook, or Bookeen readers.
Does anybody have an idea of what could be wrong? Code:
@font-face { font-family: "Droid Sans"; font-weight: normal; font-style: normal; src: url(../Fonts/DroidSans.ttf); } .droid { font-family: "Droid Sans" !important; } |
04-04-2014, 09:44 PM | #2 |
Well trained by Cats
Posts: 29,659
Karma: 54369090
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
The font is embedded?
It is in the Fonts folder? The case of the font filename is exactly that in the CSS? |
Advert | |
|
04-04-2014, 11:32 PM | #3 |
Bookmaker
Posts: 416
Karma: 2143650
Join Date: Sep 2010
Device: Cybook Opus
|
All of these things are so. And I've got another font embedded in other places that is working fine, so I'm particularly puzzled. Maybe somebody could recommend another good Chinese font that I could try in place of Droid Sans?
|
04-05-2014, 01:13 AM | #4 |
Wizard
Posts: 4,520
Karma: 121692313
Join Date: Oct 2009
Location: Heemskerk, NL
Device: PRS-T1, Kobo Touch, Kobo Aura
|
And how do you apply the font to the paragraphs?
|
04-05-2014, 01:17 AM | #5 |
Bookmaker
Posts: 416
Karma: 2143650
Join Date: Sep 2010
Device: Cybook Opus
|
Code:
<span class="droid">林立人</span> Lin Liren; |
Advert | |
|
04-05-2014, 02:51 AM | #6 |
frumious Bandersnatch
Posts: 7,514
Karma: 18512745
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
|
Does the Droid Sans font include those characters? Calibre's may be use a fallback font.
How large is the font file? My reader at least refuses to use large fonts like Arial Unicode or Code2000. Try subsetting the font. |
04-05-2014, 03:05 AM | #7 |
Wizard
Posts: 2,607
Karma: 3000161
Join Date: Jan 2009
Device: Kindle PW3 (wifi)
|
I think Kobo expects the embedded fonts to follow a naming convention for the src files. Something like:
Droid Sans-Regular; Droid Sans-Italic... |
04-05-2014, 01:08 PM | #8 | |
Bookmaker
Posts: 416
Karma: 2143650
Join Date: Sep 2010
Device: Cybook Opus
|
Quote:
I assumed Droid Sans was working because the characters displayed but I guess that was just a fallback. |
|
04-05-2014, 01:51 PM | #9 |
Color me gone
Posts: 2,089
Karma: 1445295
Join Date: Apr 2008
Location: Central Oregon Coast
Device: PRS-300
|
That is what is a little bit tricky. All the viewers, Sigil or Calibre can't be entirely trusted. Even my Sony Library can't be trusted to display for my PRS-300.
|
Tags |
epub, fonts |
Thread Tools | Search this Thread |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Displaying french characters on Japanese Kindle PW | Tekeur | Amazon Kindle | 6 | 05-04-2013 10:12 AM |
Glo Chinese ebook not displaying | dpoon73 | Kobo Reader | 7 | 12-28-2012 12:03 AM |
KoboTouch displaying boxes instead of cyrillic characters | mewakitty | Kobo Reader | 8 | 07-29-2012 07:05 AM |
Displaying chinese character on kobo wifi | baselworld | Kobo Reader | 1 | 02-01-2012 06:06 PM |
CE characters not displaying | citac | Sigil | 18 | 10-08-2010 08:07 AM |