View Single Post
Old 12-27-2022, 08:12 AM   #160
lensmann
Zealot
lensmann ought to be getting tired of karma fortunes by now.lensmann ought to be getting tired of karma fortunes by now.lensmann ought to be getting tired of karma fortunes by now.lensmann ought to be getting tired of karma fortunes by now.lensmann ought to be getting tired of karma fortunes by now.lensmann ought to be getting tired of karma fortunes by now.lensmann ought to be getting tired of karma fortunes by now.lensmann ought to be getting tired of karma fortunes by now.lensmann ought to be getting tired of karma fortunes by now.lensmann ought to be getting tired of karma fortunes by now.lensmann ought to be getting tired of karma fortunes by now.
 
lensmann's Avatar
 
Posts: 143
Karma: 821920
Join Date: Sep 2014
Device: Clara BW, Aura One, Aura HD, Boox Max 2, ThinkBook Plus Gen 2
Quote:
Originally Posted by Uncle Robin View Post
I had a book in my wishlist that was in both English and devanagari. When I checked the preview, it looked as in the light image. So today, I bought it to test the devanagari font in 4.35. It looks as shown in the photo my Sage. What is perhaps evern weirder is that when I open the book in the Web reader using Read Now, it looks exactly the same as it does on my Kobo, and not as in the preview.
I tested this out on my Kobo Aura One, which is also on 4.35. I tried it on Pocket rather than by buying a Hindi book from Kobo - buying a book I can't read would be going farther than I could justify even in the interests of tinkering, and if it works in Pocket it should also work on the main reader.

Anyway, everything seems to work as it should. When I synchronized Pocket, it said it would need to download a font for missing glyphs, and it downloaded Noto Serif Devanagari. The article I'd saved then displayed text in Hindi, which seemed to my inexpert eyes be the same as in the original. See screenshot below, and the original page (it was the top news story on BBC Hindi at the time).

[EDIT]
OK, a bit of searching revealed a whole bunch of free books in Hindi on the Kobo store. I got the one with the most intriguing cover, which turned out to be a book of short poems / couplets (I think). It displays fine on the Kobo Web reader (see attached image).

On my Aura One, however, things are a bit weird. When I use Noto Serif Devanagari as a supplemental font and 'Publisher Default' as the main font, then a few glyphs aren't displayed. The attachment "devanagari-test-kao-1.jpg" is quite representative of what a typical page looks like. However, when I set Noto Serif Devanagari to be the main font, then everything seems to display correctly (see "devanagari-test-kao-2.jpg").

From what I can tell (but do remember that this isn't actually a language I can read), the issue seems to relate to combining marks. Comparing the two versions, the first missing glyph seems to be U+093C DEVANAGARI SIGN NUKTA, while the second seems to be U+0941 DEVANAGARI VOWEL SIGN U. I don't know if every instance of these signs fails to render properly, or if there's something about this particular combination that is causing the problem. But, in any event, everything seems to display fine if I set Noto Serif Devanagari as the main font, and I'm definitely not seeing the issues you saw with your book where Devanagari text displays as English letters.
Attached Thumbnails
Click image for larger version

Name:	devanagari-test.jpg
Views:	149
Size:	67.8 KB
ID:	198619   Click image for larger version

Name:	devanagari-test-web-1.jpg
Views:	112
Size:	85.6 KB
ID:	198632   Click image for larger version

Name:	devanagari-test-kao-1.jpg
Views:	110
Size:	38.4 KB
ID:	198633   Click image for larger version

Name:	devanagari-test-kao-2.jpg
Views:	108
Size:	33.7 KB
ID:	198634  

Last edited by lensmann; 12-27-2022 at 07:31 PM. Reason: Added information about Kobo Hindi books
lensmann is offline   Reply With Quote