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 07-08-2026, 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: 220
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; 07-09-2026 at 02:25 AM. Reason: adding html/css
Siavahda is offline   Reply With Quote
Old 07-08-2026, 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,332
Karma: 153744555
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 online now   Reply With Quote
Old 07-09-2026, 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: 220
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 offline   Reply With Quote
Old 07-09-2026, 04:45 AM   #4
Karellen
Wizard
Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.
 
Karellen's Avatar
 
Posts: 1,885
Karma: 9600930
Join Date: Sep 2021
Location: Australia
Device: Kobo Libra 2
https://www.mobileread.com/forums/sh...d.php?t=374077

I resorted to using svg images of the characters. ^^
Karellen is offline   Reply With Quote
Old 07-09-2026, 05:19 AM   #5
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: 220
Karma: 9400
Join Date: Aug 2010
Location: Helsinki
Device: Kobo Clara Colour
Quote:
Originally Posted by Karellen View Post
https://www.mobileread.com/forums/sh...d.php?t=374077

I resorted to using svg images of the characters. ^^
Oh! I would NEVER have thought of that, thank you!

You don't happen to know where I could get svgs of the characters? And I have no idea HOW to get svgs into an epub. Were you able to do it through Calibre?
Siavahda is offline   Reply With Quote
Old 07-09-2026, 05:41 AM   #6
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: 220
Karma: 9400
Join Date: Aug 2010
Location: Helsinki
Device: Kobo Clara Colour
Quote:
Originally Posted by Karellen View Post
https://www.mobileread.com/forums/sh...d.php?t=374077

I resorted to using svg images of the characters. ^^
Wait, no worries, I worked it out and did it AND IT WORKED! Ahhhhhhhh, thank you so much!

Honestly I think I'll start using this tactic whenever the Kobo throws a hissy fit over non-English characters!
Siavahda is offline   Reply With Quote
Old 07-09-2026, 05:41 AM   #7
Karellen
Wizard
Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.
 
Karellen's Avatar
 
Posts: 1,885
Karma: 9600930
Join Date: Sep 2021
Location: Australia
Device: Kobo Libra 2
I got mine from Wiki Commons. Just search the name of the character you need. eg... https://commons.wikimedia.org/wiki/F...etter_Alef.svg
Some of them have duplicated characters like the above example, so it needs a bit of fiddling. Maybe you can search a better site.
But you don't even need to use svg. A png works just as well.

Just treat the svg like an image. Surround it in a <span class="svg"></span> and use something like this in the css...

.svg {
display: inline;
height: 1em;
}
Karellen is offline   Reply With Quote
Old 07-09-2026, 05:43 AM   #8
Karellen
Wizard
Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.
 
Karellen's Avatar
 
Posts: 1,885
Karma: 9600930
Join Date: Sep 2021
Location: Australia
Device: Kobo Libra 2
cross posted.

Great that you got it working!!
Karellen is offline   Reply With Quote
Reply

Tags
epub, hebrew, kobo


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Hebrew Characters Karellen ePub 13 07-09-2026 06:25 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 07:32 PM.


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