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 02-06-2015, 10:43 AM   #1
mamado
Member
mamado ought to be getting tired of karma fortunes by now.mamado ought to be getting tired of karma fortunes by now.mamado ought to be getting tired of karma fortunes by now.mamado ought to be getting tired of karma fortunes by now.mamado ought to be getting tired of karma fortunes by now.mamado ought to be getting tired of karma fortunes by now.mamado ought to be getting tired of karma fortunes by now.mamado ought to be getting tired of karma fortunes by now.mamado ought to be getting tired of karma fortunes by now.mamado ought to be getting tired of karma fortunes by now.mamado ought to be getting tired of karma fortunes by now.
 
Posts: 15
Karma: 215014
Join Date: Feb 2015
Device: Kobo Aura
Kobo book titles in Arabic

Hi,

I have few Arabic books in pdf and epub and Arabic articles in Pocket, I added few fonts to the device (Arial, Calibri, Cambria, Symplified Arabic) and the contents of the epub books and Pocket articles are now readable.

I have two problems though:

1- The book titles are unreadable.

If the book title and author are in Arabic, The library view show only the author name, and shows blocks (rectangles) instead of characters for the title.
Is there a way to properly show the titles?



2- There is no way to search the library using arabic characters, as I couldn't find a way to enable Arabic in the keyboard.
Can you please let me know how to enable arabic keyboard?

Thanks in advance for your help.
Best Regards,
Mohamed.
mamado is offline   Reply With Quote
Old 02-09-2015, 01:49 AM   #2
mamado
Member
mamado ought to be getting tired of karma fortunes by now.mamado ought to be getting tired of karma fortunes by now.mamado ought to be getting tired of karma fortunes by now.mamado ought to be getting tired of karma fortunes by now.mamado ought to be getting tired of karma fortunes by now.mamado ought to be getting tired of karma fortunes by now.mamado ought to be getting tired of karma fortunes by now.mamado ought to be getting tired of karma fortunes by now.mamado ought to be getting tired of karma fortunes by now.mamado ought to be getting tired of karma fortunes by now.mamado ought to be getting tired of karma fortunes by now.
 
Posts: 15
Karma: 215014
Join Date: Feb 2015
Device: Kobo Aura
I think that the first problem is that the font used in displaying the book titles doesn't support Arabic though the one used for author does.
Given kobo's excellent reputation for customization options, I was wondering if there is a way to change the font used for book titles?
mamado is offline   Reply With Quote
Advert
Old 02-09-2015, 02:05 AM   #3
GeoffR
Wizard
GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.
 
GeoffR's Avatar
 
Posts: 3,821
Karma: 19162882
Join Date: Nov 2012
Location: Te Riu-a-Māui
Device: Kobo Glo
It might be possible to fix the titles by patching the firmware. Can you point to a free example book with an Arabic title that I could use for testing?

Edit: From what it looks like on my Glo, the Title is in Georgia/italic, Series in Avenir/normal, and Author in Georgia/normal. So maybe changing Title and Series to Georgia/normal will let it work in Arabic.

Russian users had a similar problem with the keyboard not supporting Cyrillic, and they were able to make a patch to add Cyrillic characters to the keyboard. It might be possible to do this for Arabic too, but it probably requires someone who knows both Arabic and how to create patches.

Last edited by GeoffR; 02-09-2015 at 02:45 AM. Reason: From what it looks like on my Glo, ...
GeoffR is offline   Reply With Quote
Old 02-09-2015, 04:04 AM   #4
GeoffR
Wizard
GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.
 
GeoffR's Avatar
 
Posts: 3,821
Karma: 19162882
Join Date: Nov 2012
Location: Te Riu-a-Māui
Device: Kobo Glo
I have a patch for firmware 3.12.1 that fixes the Arabic title problem by changing the title font style from italic to normal. See this thread: https://www.mobileread.com/forums/sho...1&postcount=17
GeoffR is offline   Reply With Quote
Old 02-09-2015, 01:35 PM   #5
mamado
Member
mamado ought to be getting tired of karma fortunes by now.mamado ought to be getting tired of karma fortunes by now.mamado ought to be getting tired of karma fortunes by now.mamado ought to be getting tired of karma fortunes by now.mamado ought to be getting tired of karma fortunes by now.mamado ought to be getting tired of karma fortunes by now.mamado ought to be getting tired of karma fortunes by now.mamado ought to be getting tired of karma fortunes by now.mamado ought to be getting tired of karma fortunes by now.mamado ought to be getting tired of karma fortunes by now.mamado ought to be getting tired of karma fortunes by now.
 
Posts: 15
Karma: 215014
Join Date: Feb 2015
Device: Kobo Aura
Quote:
Originally Posted by GeoffR View Post
It might be possible to fix the titles by patching the firmware. Can you point to a free example book with an Arabic title that I could use for testing?
You can download one from here http://www.hindawi.org/books/6818491...7%D8%B1%D8%A9/
You should find a green obvious epub link for download, this site has a good list of free and out-of-print arabic books.

Quote:
Originally Posted by GeoffR View Post
Edit: From what it looks like on my Glo, the Title is in Georgia/italic, Series in Avenir/normal, and Author in Georgia/normal. So maybe changing Title and Series to Georgia/normal will let it work in Arabic.
Can you please educate me on how to see this info?

Quote:
Originally Posted by GeoffR View Post
I have a patch for firmware 3.12.1 that fixes the Arabic title problem by changing the title font style from italic to normal. See this thread: https://www.mobileread.com/forums/sho...1&postcount=17
This is great, Thanks you.
  • I followed the instructions here
  • Added your patch to libnickel.so.1.0.0.patch (and disabled most others) but all arabic information (Title and author) are unreadable!
  • I redid the steps disabling all patches, and found the same behavior! (Title and author not visible), I opened an Arabic book played with the fonts, went back and found the author info readable again!
  • So I redid the steps again, now enabling your patch, opened library view, found all info unreadable, opened a book, then went back to library view and found the Title and Author info correctly readable

I am not sure what happened, but Thanks a lot.

btw, Is there a way to be able to search for info in Arabic?
mamado is offline   Reply With Quote
Advert
Old 02-09-2015, 01:45 PM   #6
mamado
Member
mamado ought to be getting tired of karma fortunes by now.mamado ought to be getting tired of karma fortunes by now.mamado ought to be getting tired of karma fortunes by now.mamado ought to be getting tired of karma fortunes by now.mamado ought to be getting tired of karma fortunes by now.mamado ought to be getting tired of karma fortunes by now.mamado ought to be getting tired of karma fortunes by now.mamado ought to be getting tired of karma fortunes by now.mamado ought to be getting tired of karma fortunes by now.mamado ought to be getting tired of karma fortunes by now.mamado ought to be getting tired of karma fortunes by now.
 
Posts: 15
Karma: 215014
Join Date: Feb 2015
Device: Kobo Aura
Quote:
Originally Posted by GeoffR View Post
Russian users had a similar problem with the keyboard not supporting Cyrillic, and they were able to make a patch to add Cyrillic characters to the keyboard. It might be possible to do this for Arabic too, but it probably requires someone who knows both Arabic and how to create patches.
I think you are talking about the patch titled patch_name = `Cyrillic keyboard`

from what I see in the patches, they work by replacing words in hex, and this one in particular seems to replace ASCII characters C3 xx with D[0|1] xx

If you can give me a list of which character is which in the C3 list, and how to know the hex for an arabic character (is it the hex of the unicode value?) I can give it a try.

Thanks again.
mamado is offline   Reply With Quote
Old 02-09-2015, 01:49 PM   #7
GeoffR
Wizard
GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.
 
GeoffR's Avatar
 
Posts: 3,821
Karma: 19162882
Join Date: Nov 2012
Location: Te Riu-a-Māui
Device: Kobo Glo
Quote:
Originally Posted by mamado View Post
[*]Added your patch to libnickel.so.1.0.0.patch (and disabled most others) but all arabic information (Title and author) are unreadable! [*]I redid the steps disabling all patches, and found the same behavior! (Title and author not visible), I opened an Arabic book played with the fonts, went back and found the author info readable again! [*]So I redid the steps again, now enabling your patch, opened library view, found all info unreadable, opened a book, then went back to library view and found the Title and Author info correctly readable [/LIST]
I am not sure what happened, but Thanks a lot.
I think the problem is that Arabic is not one of the languages supported in the UI, so the Arabic fonts are not loaded by default when the device first starts. But after you open a book (and maybe select a font from the Aa menu?) then the Arabic fonts are loaded and available to the UI too.

(I'm not sure exactly how the Arabic fonts work, whether the Georgia font contains Arabic glyphs, or the UI is substituting the Arabic glyphs from another font such as Gothic. Whichever way, it seems there are no italic Arabic glyphs available to the UI, only regular ones)

Quote:
btw, Is there a way to be able to search for info in Arabic?
I will have a look at how the Cyrillic keyboard patch works and see if I can adapt it to Arabic, but I can't promise anything.)
GeoffR is offline   Reply With Quote
Old 02-09-2015, 02:08 PM   #8
GeoffR
Wizard
GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.
 
GeoffR's Avatar
 
Posts: 3,821
Karma: 19162882
Join Date: Nov 2012
Location: Te Riu-a-Māui
Device: Kobo Glo
Quote:
Originally Posted by mamado View Post
from what I see in the patches, they work by replacing words in hex, and this one in particular seems to replace ASCII characters C3 xx with D[0|1] xx

If you can give me a list of which character is which in the C3 list, and how to know the hex for an arabic character (is it the hex of the unicode value?) I can give it a try.
I think most of the replacement values are the UTF-16 characters, but there is some other things too. I've never tried this patch, and I don't read either Cyrillic or Arabic, so I think the only way to work it out is to enable the Cyrillic keyboard patch and see which characters need to be replaced.

Edit: Or are they UTF-8? Anyway, that is the area I don't know about, I never knew anything but ASCII until very recently, so you can probably work it out better than I can.

Last edited by GeoffR; 02-09-2015 at 02:25 PM. Reason: Or UTF-8?
GeoffR is offline   Reply With Quote
Old 02-09-2015, 04:07 PM   #9
GeoffR
Wizard
GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.
 
GeoffR's Avatar
 
Posts: 3,821
Karma: 19162882
Join Date: Nov 2012
Location: Te Riu-a-Māui
Device: Kobo Glo
I've tried the Cyrillic keyboard (screenshots attached), but I can't work out how the Cyrillic characters are encoded, so no Idea how to convert to Arabic.
Attached Thumbnails
Click image for larger version

Name:	unpatched1.png
Views:	714
Size:	26.2 KB
ID:	134659   Click image for larger version

Name:	cyrillic1.png
Views:	728
Size:	26.2 KB
ID:	134660   Click image for larger version

Name:	unpatched2.png
Views:	752
Size:	25.5 KB
ID:	134661   Click image for larger version

Name:	cyrillic2.png
Views:	681
Size:	26.4 KB
ID:	134662  
GeoffR is offline   Reply With Quote
Old 02-09-2015, 04:32 PM   #10
GeoffR
Wizard
GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.
 
GeoffR's Avatar
 
Posts: 3,821
Karma: 19162882
Join Date: Nov 2012
Location: Te Riu-a-Māui
Device: Kobo Glo
Here is the Cyrillic keyboard patch for an earlier firmware version in the original kpg.exe format:
Code:
<Patch>
patch_name = `Cyrillic keyboard`
patch_enable = `no`
# Enable uppercase for [ß] key
replace_bytes = AAF640, 00 24, 01 24
# Replace layout sign
replace_string = 112AAA8, `ÉÀÇ`, `абв`
# Change keyboard layout
replace_utf8chars = 112AE60, `æàèìòùáéíóúý`, `йцукенгшщзхъ`
replace_utf8chars = 112AE90, `œâêîôûäëïöüÿ`, `фывапролджэё`
replace_utf8chars = 112AEC0, `ãñõåßçđøijł`, `ячсмитьбю.`
</Patch>
If someone can replace the Cyrillic characters here with the Arabic ones that should appear in their place, with reference to the screenshots above, then I can probably update the patch for the current firmware.
GeoffR is offline   Reply With Quote
Old 02-10-2015, 01:32 AM   #11
mamado
Member
mamado ought to be getting tired of karma fortunes by now.mamado ought to be getting tired of karma fortunes by now.mamado ought to be getting tired of karma fortunes by now.mamado ought to be getting tired of karma fortunes by now.mamado ought to be getting tired of karma fortunes by now.mamado ought to be getting tired of karma fortunes by now.mamado ought to be getting tired of karma fortunes by now.mamado ought to be getting tired of karma fortunes by now.mamado ought to be getting tired of karma fortunes by now.mamado ought to be getting tired of karma fortunes by now.mamado ought to be getting tired of karma fortunes by now.
 
Posts: 15
Karma: 215014
Join Date: Feb 2015
Device: Kobo Aura
Quote:
Code:
# Replace layout sign
replace_string = 112AAA8, `ÉÀÇ`, `абв`
# Change keyboard layout
replace_utf8chars = 112AE60, `æàèìòùáéíóúý`, `йцукенгшщзхъ`
replace_utf8chars = 112AE90, `œâêîôûäëïöüÿ`, `фывапролджэё`
replace_utf8chars = 112AEC0, `ãñõåßçđøijł`, `ячсмитьбю.`
Code:
`абв` -> `ع`
`йцукенгшщзхъ` -> `دجحخهعغفقثصذ`
`фывапролджэё` -> `طكمنتالبيسشض`
`ячсмитьбю.` -> `ظزوةىرؤءئ.`
Note that there are different shapes for characters depending on whether they are in the beginning or middle of a word, I hope that it all translates to a single hex, and the font handles that, but I am not sure.

Thanks a lot for your help.
mamado is offline   Reply With Quote
Old 02-10-2015, 03:08 AM   #12
GeoffR
Wizard
GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.
 
GeoffR's Avatar
 
Posts: 3,821
Karma: 19162882
Join Date: Nov 2012
Location: Te Riu-a-Māui
Device: Kobo Glo
Thanks, I've posted an Arabic keyboard patch for firmware 3.12.1 in the developers forum: https://www.mobileread.com/forums/sho...5&postcount=20.
Attached Thumbnails
Click image for larger version

Name:	arabic1.png
Views:	726
Size:	25.7 KB
ID:	134678   Click image for larger version

Name:	arabic2.png
Views:	709
Size:	26.0 KB
ID:	134679  

Last edited by GeoffR; 02-10-2015 at 03:33 AM. Reason: Added screenshots
GeoffR is offline   Reply With Quote
Old 02-10-2015, 05:27 AM   #13
mamado
Member
mamado ought to be getting tired of karma fortunes by now.mamado ought to be getting tired of karma fortunes by now.mamado ought to be getting tired of karma fortunes by now.mamado ought to be getting tired of karma fortunes by now.mamado ought to be getting tired of karma fortunes by now.mamado ought to be getting tired of karma fortunes by now.mamado ought to be getting tired of karma fortunes by now.mamado ought to be getting tired of karma fortunes by now.mamado ought to be getting tired of karma fortunes by now.mamado ought to be getting tired of karma fortunes by now.mamado ought to be getting tired of karma fortunes by now.
 
Posts: 15
Karma: 215014
Join Date: Feb 2015
Device: Kobo Aura
Thanks a lot GeoffR, it is working great with couple of minor issues, I added more details and answers to your questions on the other thread https://www.mobileread.com/forums/sho...4&postcount=21
mamado is offline   Reply With Quote
Old 02-10-2015, 01:51 PM   #14
pickyaxe
Addict
pickyaxe ought to be getting tired of karma fortunes by now.pickyaxe ought to be getting tired of karma fortunes by now.pickyaxe ought to be getting tired of karma fortunes by now.pickyaxe ought to be getting tired of karma fortunes by now.pickyaxe ought to be getting tired of karma fortunes by now.pickyaxe ought to be getting tired of karma fortunes by now.pickyaxe ought to be getting tired of karma fortunes by now.pickyaxe ought to be getting tired of karma fortunes by now.pickyaxe ought to be getting tired of karma fortunes by now.pickyaxe ought to be getting tired of karma fortunes by now.pickyaxe ought to be getting tired of karma fortunes by now.
 
Posts: 288
Karma: 3762916
Join Date: Nov 2011
Device: none
Thank you mamado for this thread and GeoffR for the patch, I'm thinking of importing a Kobo and wanted to make sure it works.

Is there a similar keyboard patch for Hebrew? That would be really great.
pickyaxe is offline   Reply With Quote
Old 02-11-2015, 01:48 AM   #15
GeoffR
Wizard
GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.
 
GeoffR's Avatar
 
Posts: 3,821
Karma: 19162882
Join Date: Nov 2012
Location: Te Riu-a-Māui
Device: Kobo Glo
Quote:
Originally Posted by pickyaxe View Post
Is there a similar keyboard patch for Hebrew? That would be really great.
I could make a Hebrew keyboard patch too, all I need is someone who knows Hebrew to say where the letters should go, and what the name of the ABC key should be.

The easiest way (for me) might be to look at the screenshot of the QWERTY keyboard in the posts above, and then list each Hebrew unicode character together with the Latin key, e.g. q=א, etc.

The key positions that can easily be changed are:
12
qwertyuiop-
asdfghjkl@_
zxcvbnm,.

Last edited by GeoffR; 02-11-2015 at 01:51 AM.
GeoffR is offline   Reply With Quote
Reply

Tags
arabic, aura, kobo


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Long book titles and issues with kobo and Calibre jackastor Kobo Reader 5 09-21-2013 06:53 PM
Missing Covers on Kobo + Book Titles on Kobo nila Kobo Reader 4 07-13-2012 02:47 PM
Privacy: Are my book titles being uploaded to the Kobo cloud? TonyToews Kobo Tablets 18 11-28-2011 04:18 PM
Privacy: Are my book titles being uploaded to the Kobo cloud? TonyToews Kobo Reader 2 11-26-2011 08:28 PM
15% off selected book titles at Kobo with coupon codes Croptop Deals and Resources (No Self-Promotion or Affiliate Links) 0 01-13-2011 08:26 AM


All times are GMT -4. The time now is 12:18 AM.


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