View Single Post
Old Today, 07:01 AM   #1
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,853
Karma: 9600930
Join Date: Sep 2021
Location: Australia
Device: Kobo Libra 2
Hebrew Characters

Hi,

This one has me stumped.

A page in an ebook I am reading has a few Hebrew characters. I have a font embedded in the epub to display them (FreeSerif.otf). The epub is v3

In Calibre viewer and in the Editor previewer, both display the paragraphs correctly.

On my Libra2, the paragraphs are messed up. Part of the paragraph is forced ltr and the other part is rtl. See images.

I've added <p dir="ltr"> to each affected paragraph, but it does not fix it.

In the opf, I've added <spine toc="toc" page-progression-direction="ltr">. This does not fix it either.

What is the trick to getting this to work correctly? I want it to read ltr. Normal English reading, with a couple of Hebrew characters in the paragraph.

Thanks
Attached Thumbnails
Click image for larger version

Name:	hebrew1.jpg
Views:	22
Size:	125.4 KB
ID:	224005   Click image for larger version

Name:	hebrew2.jpg
Views:	20
Size:	145.9 KB
ID:	224006  
Karellen is offline   Reply With Quote