Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Formats > ePub

Notices

Reply
 
Thread Tools Search this Thread
Old 03-26-2013, 12:54 PM   #1
mamster
Junior Member
mamster began at the beginning.
 
Posts: 5
Karma: 10
Join Date: Mar 2013
Device: iPad/iBooks 3
Do I need to embed a Japanese font?

Hello. I'm working on formatting my first ebook. I'm pasting it up in InDesign and using its EPUB export function.

My book is in English but contains occasional text in Japanese; the font I'm using in InDesign is Hiragino Mincho ProN W3.

When I export the EPUB without embedded fonts, the Japanese glyphs don't render in ADE, but they look fine in iBooks and Calibre. With embedded fonts, the glyphs render fine in ADE--although if I edit the EPUB in Sigil and then reopen it in ADE, the glyphs are broken again.

I'd prefer not to embed fonts unless there's a good reason to. Are there any common platforms that will fail to render my Japanese text if I don't embed fonts? Do I need to worry about ADE? Does anyone even use it anymore? What's the best practice for this situation?

Thanks for your help,
Matthew
mamster is offline   Reply With Quote
Old 03-26-2013, 01:50 PM   #2
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
It can be the line of least resistance to just display the occasional non-roman characters as graphics. They must display if the reader is capable of displaying graphics at all.

It seems to me Sigil should not break this every time you edit it. But I do not use non-roman characters at all in my work.
mrmikel is offline   Reply With Quote
Old 03-26-2013, 03:36 PM   #3
Toxaris
Wizard
Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.
 
Toxaris's Avatar
 
Posts: 4,520
Karma: 121692313
Join Date: Oct 2009
Location: Heemskerk, NL
Device: PRS-T1, Kobo Touch, Kobo Aura
The majority of the e-ink readers use the mobile version of ADE, so yes, a lot of readers use ADE. You are probably better of with an embedded version, which is totally possible, also with Sigil. The problem is, afak, that Indesign does some akward things.
Also, keep in mind that the OS/2 version of the embedded font must be 3 or lower. Not 4 or automatic.
Toxaris is offline   Reply With Quote
Old 03-26-2013, 03:39 PM   #4
Jellby
frumious Bandersnatch
Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.
 
Jellby's Avatar
 
Posts: 7,516
Karma: 18512745
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
Quote:
Originally Posted by mamster View Post
I'd prefer not to embed fonts unless there's a good reason to.
Fine. Usage of some Japanese characters in an otherwise Latin-based text seems a good reason to me (with the current generation of ebook readers, at least). I assume you mean hiragana/katakana/kanji characters, and not just Latin letters with diacritics used for transliteration. If it's the latter, then it's not so clear... but still it's a valid reason.

Quote:
Are there any common platforms that will fail to render my Japanese text if I don't embed fonts?
Yes. ADE, as you found out, and most dedicated hardware ebook readers, which are based on the same rendering engine as ADE.

Quote:
Do I need to worry about ADE?
About ADE itself, maybe not so much. But it's probably the best "emulator" for ebook readers.

Quote:
Does anyone even use it anymore?
Well... almost everyone who buys ePub books has to use ADE for downloading them. But see above, anyway.

Quote:
What's the best practice for this situation?
You cannot expect the default fonts in every reader to include all possible Unicode characters. So as soon as you are including some exotic ones (and Japanese is exotic in most American and European countries) it's a good idea to embed a font. But code the CSS such that it's very simple to disable the font, so an interested user (or yourself in the future) can easily do that. With this I mean, for instance, using the embedded font in a single class, and using multiple classes in HTML elements if needed, rather than using the embedded font in multiple classes.
Jellby is offline   Reply With Quote
Old 03-26-2013, 05:12 PM   #5
mamster
Junior Member
mamster began at the beginning.
 
Posts: 5
Karma: 10
Join Date: Mar 2013
Device: iPad/iBooks 3
This is very helpful, everyone--thank you.
mamster is offline   Reply With Quote
Old 03-27-2013, 10:16 AM   #6
mamster
Junior Member
mamster began at the beginning.
 
Posts: 5
Karma: 10
Join Date: Mar 2013
Device: iPad/iBooks 3
Okay, stuck again.

Here's the problem. Editing an EPUB in Sigil or otherwise seems to wreck Adobe's obfuscated embedded fonts, at least as far as ADE is concerned. So I downloaded an open source Japanese font (Hanazono) and embedded it manually by just dragging the (18.5MB) font file into Sigil.

This worked fine--I can edit the stylesheet all I want and it still loads perfectly in ADE and everything else I test it on. However, now the EPUB file is enormous. So I want to subset the font. I tried using the glyphIgo script which I found on this forum, but it didn't work: it only saw unicode in the latin range in my EPUB, despite the presence of Japanese characters.

Has anyone gotten that script to work? Any ideas for subsetting the Japanese font without having InDesign mangle it? Thanks again.
mamster is offline   Reply With Quote
Old 03-27-2013, 10:21 AM   #7
HarryT
eBook Enthusiast
HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.
 
HarryT's Avatar
 
Posts: 85,544
Karma: 93383043
Join Date: Nov 2006
Location: UK
Device: Kindle Oasis 2, iPad Pro 10.5", iPhone 6
Quote:
Originally Posted by mamster View Post
Has anyone gotten that script to work? Any ideas for subsetting the Japanese font without having InDesign mangle it? Thanks again.
You can use the "Polish Books" feature of Calibre to subset a font without changing anything else.
HarryT is offline   Reply With Quote
Old 03-27-2013, 12:20 PM   #8
mamster
Junior Member
mamster began at the beginning.
 
Posts: 5
Karma: 10
Join Date: Mar 2013
Device: iPad/iBooks 3
I'll try that. Also, I heard from the developer of glyphIgo, who supplied me with a beta version that solved my problem.
mamster is offline   Reply With Quote
Old 03-27-2013, 02:44 PM   #9
Toxaris
Wizard
Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.
 
Toxaris's Avatar
 
Posts: 4,520
Karma: 121692313
Join Date: Oct 2009
Location: Heemskerk, NL
Device: PRS-T1, Kobo Touch, Kobo Aura
You could also have used my Fontshrinker program. Perhaps a bit more work though.
Toxaris is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Burmese Font embed problem khin99 ePub 11 11-30-2012 10:10 PM
How to Embed a font after the ePub is created. Adjust ePub 26 08-03-2011 01:09 AM
embed font is too narrow - need help NASCARaddicted ePub 15 06-06-2011 10:00 PM
Embed a font in a PDF without making it huge Kosst Amojan PDF 4 11-21-2009 11:34 AM
how to embed unicode font atu1303 LRF 8 08-21-2009 10:06 PM


All times are GMT -4. The time now is 09:57 AM.


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