03-14-2014, 07:51 PM | #1 |
Junior Member
Posts: 1
Karma: 12678
Join Date: Mar 2014
Device: iPad
|
Stuck on embedded Hebrew font in ePub
Hello folks!
A company converted half of a job to ePub format, and when they quit, it was handed to me. Things had been humming along ok until a couple of the books started using a Hebrew font. So I fiercely read up on how to embed fonts. The only problem is that the Hebrew font used to create the original book (in InDesign) is not easy to work with. From my testing, it will not embed. (Here it is: http://cl.ly/1m1e0N1E1k2S) And when I use a different Hebrew font which can be embedded, it shows up like this. But now I'm confused, as I look over the work they had done previously. For example, when I explode their ePub in Calibre and check out their text, I find: Code:
O verbo hebraico, זגר (rāgăz), significa ou ser agitado pela ira, ou pelo temor. Code:
O verbo hebraico, <span class="simbolo">זגר</span> Code:
span.simbolo { font-family: "Times New Roman"; font-weight: normal; font-style: normal; } I've run laps around the web looking for a break but haven't found a fix. Any help is appreciated! I know I'm missing something — I just don't know what yet. |
03-14-2014, 11:28 PM | #2 |
Addict
Posts: 243
Karma: 359054
Join Date: Nov 2012
Device: default
|
Micro$oft's TNR font covers the Hebrew Unicode range.
|
03-15-2014, 02:05 AM | #3 | ||
Grand Sorcerer
Posts: 5,583
Karma: 22735033
Join Date: Dec 2010
Device: Kindle PW2
|
Quote:
Quote:
Last edited by Doitsu; 03-15-2014 at 02:10 AM. |
||
03-15-2014, 02:12 AM | #4 |
Wizard
Posts: 4,520
Karma: 121692313
Join Date: Oct 2009
Location: Heemskerk, NL
Device: PRS-T1, Kobo Touch, Kobo Aura
|
Since on the readers Hebrew is usually not includeded (if any at all). you indeed need to embed the font. To keep the size under control, I advise to subset the font.
|
03-15-2014, 05:46 AM | #5 |
frumious Bandersnatch
Posts: 7,515
Karma: 18512745
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
|
With a Unicode-compliant system, you'd enter the letters in their natural order (the order in which they should be read), and the system should take care of arranging them left-to-right or right-to-left, depending on their "intrinsic" directionality (which is rtl for Hebrew letters, of course).
But ADE does not support right-to-left in any way, manual or automatic, so your only choice would be entering the letters in reverse order, which is wrong, and would show wrongly in compliant systems. |
03-15-2014, 07:00 AM | #6 | |
Grand Sorcerer
Posts: 5,583
Karma: 22735033
Join Date: Dec 2010
Device: Kindle PW2
|
Quote:
However, since the OP apparently owns an iPad, I was assuming that he wants to create an ePub for the iBookstore. Since iBooks supports RTL text, it'll display זגר instead of רגז. The only way to display RTL strings correctly on ADE and non-ADE readers is to use your XPGT method to show LTR text on ADE readers and the RTL text on all other readers. I used a variation of it with embedded Arabic text. (The Arabic text was included twice: one pre-shaped LTR version and one regular RTL version.) |
|
05-23-2014, 11:27 PM | #7 |
Junior Member
Posts: 1
Karma: 10
Join Date: Apr 2014
Device: none
|
Have you fixed it? I met the same problem. Looking for a solution....
|
05-24-2014, 12:44 AM | #8 | |
Grand Sorcerer
Posts: 5,583
Karma: 22735033
Join Date: Dec 2010
Device: Kindle PW2
|
Quote:
|
|
05-24-2014, 07:13 AM | #9 |
Color me gone
Posts: 2,089
Karma: 1445295
Join Date: Apr 2008
Location: Central Oregon Coast
Device: PRS-300
|
One thing that was only alluded to is that Times New Roman is NOT a free font. It is one which probably require an expensive contract with the font provider. That is why Ezra SIL was mentioned and it or something like it needs to be used.
|
05-24-2014, 07:28 AM | #10 | |
Addict
Posts: 398
Karma: 96448
Join Date: Dec 2013
Device: iPad
|
Gringo, when you put hebrew letters in an HTML file within an ePub and load it on your iPad, you will see the Hebrew letters perfectly and when you look at the font it will say "Times New Roman", you don't need to embed a hebrew font in order to see hebrew letters (in the correct order - RTL), at least on the iPad.
As for: Quote:
It probably happens since your InDesign version does not have hebrew support. You can still try to use the CSS rule: "direction:rtl" for the .simbolo class, i'm not a 100% sure it will reverse the letters order, if it wouldn't, you either have to manually reverse their order which can be done via Regex or add hebrew support to your InDesign. If you need to convert just a couple of files I can help you with that. by the way, the image you posted here looks weird, those symbols between the hebrew characters ס and פ doesn't look familiar, it feels like the font is not a hebrew font and that's why the device finds a different character from the charset Last edited by odedta; 05-24-2014 at 07:30 AM. |
|
05-27-2014, 08:06 PM | #11 | |
Bookmaker & Cat Slave
Posts: 11,460
Karma: 158448243
Join Date: Apr 2010
Location: Phoenix, AZ
Device: K2, iPad, KFire, PPW, Voyage, NookColor. 2 Droid, Oasis, Boox Note2
|
Quote:
(This isn't to say we don't do single-language r-to-left; we do. But mixing them up? Oish). Hitch |
|
05-28-2014, 12:56 AM | #12 |
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
|
I dealt with some mixed text in the wiki and I just put the Hebrew letters text and English words on different lines and let the html viewer merge the lines as would be expected. Lo and behold it worked.
Dale |
05-28-2014, 01:42 AM | #13 |
Addict
Posts: 398
Karma: 96448
Join Date: Dec 2013
Device: iPad
|
I really don't see the problem there Hitch, dir="rtl" would solve all your problems :P
|
05-28-2014, 04:02 AM | #14 |
frumious Bandersnatch
Posts: 7,515
Karma: 18512745
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
|
|
05-28-2014, 05:59 AM | #15 | |
Bookmaker & Cat Slave
Posts: 11,460
Karma: 158448243
Join Date: Apr 2010
Location: Phoenix, AZ
Device: K2, iPad, KFire, PPW, Voyage, NookColor. 2 Droid, Oasis, Boox Note2
|
Quote:
On a more serious note: the books we've turned down aren't one or the other. I am not making this up: one had English on the verso and Hebrew on the recto, and the client wanted it to auto-play, optionally, in both directions. Now, I'm all for fun and games, if someone is paying, but honestly: I'm not sure I'm that interested, commercially, in making a book that flips in both directions, automatically. It sort of makes my brain hurt. I'm opting, at the moment, to let Liz or the guys at Azardi or odedta figure it out first. And is someone here claiming that it will work in all readers? Methinks not. Hitch |
|
Tags |
embed, fonts, hebrew |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Mini advanced font settings ignored in one book - embedded font? | lordofazeroth | Kobo Reader | 4 | 09-20-2013 02:15 PM |
Epub - embedded font problems | aterry13 | Conversion | 2 | 06-13-2013 04:27 PM |
embedded font - now line with embedded font not re-flowing | Kaylee Skylyn | ePub | 23 | 08-09-2012 07:30 PM |
How to correct word breakage in ePUB (Tamil font embedded) | Raja1205 | ePub | 10 | 06-19-2012 10:45 AM |
How to correct word breakage in ePUB (Tamil font embedded) | Raja1205 | ePub | 6 | 06-19-2012 12:13 AM |