Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Readers > Kobo Reader

Notices

Reply
 
Thread Tools Search this Thread
Old Yesterday, 03:06 PM   #1
Siavahda
Addict
Siavahda can eat soup with a fork.Siavahda can eat soup with a fork.Siavahda can eat soup with a fork.Siavahda can eat soup with a fork.Siavahda can eat soup with a fork.Siavahda can eat soup with a fork.Siavahda can eat soup with a fork.Siavahda can eat soup with a fork.Siavahda can eat soup with a fork.Siavahda can eat soup with a fork.Siavahda can eat soup with a fork.
 
Posts: 204
Karma: 9400
Join Date: Aug 2010
Location: Helsinki
Device: Kobo Clara Colour
Hebrew characters putting words in the wrong place

Back again, sigh.

I have an ebook with three instances of Hebrew letters. The problem isn't getting them to display, exactly - with embedded Times font, that's covered. But the text around the letters - the words themselves are out of place, rearranged.

This is how it looks on the Kobo



This is what it looks like/how it reads in Calibre, the way it should be



Do you see? It's like the words after the Hebrew letter have been picked up and put in the wrong place. I don't know why. Is it something to do with Hebrew reading right to left? But I don't understand how that would matter when the ebook isn't set to read that way.

The ebook came with the characters themselves pasted in. I replaced them with unicode, just to see if that would make a difference, but alas it did not. I also tried all the pre-installed fonts, including the publisher one, and I tried embedding a Hewbrew font (PCSB Hebrew Regular). Nothing helped; in some fonts the characters appeared as numbers or other symbols, but still in the wrong place and with big spaces warping the paragraph.

I'm using EPUB, by the way, not KEPUB.

Html for this passage:
Code:
<p class="calibre15">“The magic of me and you, that’s what’s going to make this tattoo work. That’s the power of our Lineage of Two. I don’t need artistry. I’m using the Hebrew word for life. I already did the letter <i class="calibre14">chet</i>,” and he lifted up his shirt-tail to show a <span class="ja">ח</span> on his left buttock. “I just need you to do the <i class="calibre14">yod.</i>” He even handed me a cardboard square with the <span class="ja">י</span> drawn on it. “It doesn’t matter if it looks like shit.”</p>
original html (no unicode, no span class to mark the Hebrew)
Code:
<p class="calibre15">“The magic of me and you, that’s what’s going to make this tattoo work. That’s the power of our Lineage of Two. I don’t need artistry. I’m using the Hebrew word for life. I already did the letter <i class="calibre14">chet</i>,” and he lifted up his shirt-tail to show a ח on his left buttock. “I just need you to do the <i class="calibre14">yod.</i>” He even handed me a cardboard square with the י drawn on it. “It doesn’t matter if it looks like shit.”</p>
Relevant css:
Code:
.calibre15 {
  -moz-hyphens: none;
  -webkit-hyphens: none;
  display: block;
  hyphens: none;
  orphans: 1;
  text-align: justify;
  text-indent: 1em;
  margin: 0;
}
.calibre14 {
  font-style: italic;
}
.ja {
  font-style: normal;
  font-weight: normal;
  font-family: "times";
  }
.calibre11 (body class) {
  display: block;
  font-size: 1em;
  line-height: 1;
  padding-left: 0;
  padding-right: 0;
  padding-top: 0;
  text-align: justify;
  margin: 0 5pt;
}

Last edited by Siavahda; Today at 02:25 AM. Reason: adding html/css
Siavahda is online now   Reply With Quote
Old Yesterday, 04:22 PM   #2
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 84,070
Karma: 153695583
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Nothing we can do unless we see the HTML/CSS.
JSWolf is offline   Reply With Quote
Advert
Old Today, 02:25 AM   #3
Siavahda
Addict
Siavahda can eat soup with a fork.Siavahda can eat soup with a fork.Siavahda can eat soup with a fork.Siavahda can eat soup with a fork.Siavahda can eat soup with a fork.Siavahda can eat soup with a fork.Siavahda can eat soup with a fork.Siavahda can eat soup with a fork.Siavahda can eat soup with a fork.Siavahda can eat soup with a fork.Siavahda can eat soup with a fork.
 
Posts: 204
Karma: 9400
Join Date: Aug 2010
Location: Helsinki
Device: Kobo Clara Colour
Quote:
Originally Posted by JSWolf View Post
Nothing we can do unless we see the HTML/CSS.
Apologies for being a twit and forgetting that. I edited the original post to include them.
Siavahda is online now   Reply With Quote
Reply

Tags
epub, hebrew, kobo


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Hebrew Characters Karellen ePub 12 06-25-2026 10:50 AM
Calibre keeps putting wrong information on books Dragonhomer Library Management 5 08-16-2023 05:33 AM
T.O.C in wrong place? Cyberseeker Sigil 2 07-07-2017 09:38 AM
TOC in wrong place? Cyberseeker Kobo Reader 2 07-07-2017 01:15 AM
Free (Kindle) Putting Jesus in His Place [Xtian Introductory Theology Interpretation] ATDrake Deals and Resources (No Self-Promotion or Affiliate Links) 1 06-20-2016 01:47 PM


All times are GMT -4. The time now is 02:36 AM.


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