|
|
#1 |
|
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() 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> 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> 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 |
|
|
|
|
|
#2 |
|
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() 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.
|
|
|
|
|
|
#3 |
|
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 220
Karma: 9400
Join Date: Aug 2010
Location: Helsinki
Device: Kobo Clara Colour
|
|
|
|
|
|
|
#4 |
|
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() 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. ^^ |
|
|
|
|
|
#5 | |
|
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 220
Karma: 9400
Join Date: Aug 2010
Location: Helsinki
Device: Kobo Clara Colour
|
Quote:
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? |
|
|
|
|
|
|
#6 | |
|
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 220
Karma: 9400
Join Date: Aug 2010
Location: Helsinki
Device: Kobo Clara Colour
|
Quote:
Honestly I think I'll start using this tactic whenever the Kobo throws a hissy fit over non-English characters! |
|
|
|
|
|
|
#7 |
|
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() 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; } |
|
|
|
|
|
#8 |
|
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,885
Karma: 9600930
Join Date: Sep 2021
Location: Australia
Device: Kobo Libra 2
|
cross posted.
Great that you got it working!! |
|
|
|
![]() |
| Tags |
| epub, hebrew, kobo |
|
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 |