02-11-2015, 03:51 AM | #16 |
Wizard
Posts: 3,489
Karma: 2914715
Join Date: Jun 2012
Device: kobo touch
|
@GeoffR
Implementing replace_utf8chars might be less work than building the keyboard patches as you do it now (and users could easily make there own keyboard patches). For completeness I mention that replace_utf8chars writes for each character 4 bytes that contain the utf8 representation (if the utf8 representation is shorter than 4 bytes, zero bytes are appended on the right side). |
02-11-2015, 09:49 AM | #17 |
Addict
Posts: 285
Karma: 3762916
Join Date: Nov 2011
Device: none
|
hmm, if we're going by standard hebrew qwerty, it'd be:
ROW 1: q = @ (actually it's a forward slash, but I'd rather have the At sign) w = . (actually it's an apostrophe, see above) e = ק U+05E7 r = ר U+05E8 t = א U+05D0 y = ט U+05D8 u = ו U+05D5 i = ן U+05DF o = ם U+05DD p = פ U+05E4 - = - (no change) ROW 2: a = ש U+05E9 s = ד U+05D3 d = ג U+05D2 f = כ U+05DB g = ע U+05E2 h = י U+05D9 j = ח U+05D7 k = ל U+05DC l = ך U+05DA @ = ף U+05E3 _ = _ (no change) ROW 3: z = ז U+05D6 x = ס U+05E1 c = ב U+05D1 v = ה U+05D4 b = נ U+05E0 n = מ U+05DE m = צ U+05E6 , = ת U+05EA . = ץ U+05E5 with this layout there's no place for a comma, if you can put it instead of Shift or ".com" it would be great (there's absolutely no use for Shift in Hebrew, not even diacritics). of course not necessary, since it's probably also in the symbol section ("#&+"). thanks a lot, again. |
Advert | |
|
02-11-2015, 10:25 PM | #18 | |
Wizard
Posts: 3,821
Karma: 19162882
Join Date: Nov 2012
Location: Te Riu-a-Māui
Device: Kobo Glo
|
Quote:
I added the comma, apostrophe, and slash too: |
|
02-18-2015, 06:39 AM | #19 |
Addict
Posts: 285
Karma: 3762916
Join Date: Nov 2011
Device: none
|
Forgot to say thanks - so a big thank you for doing it so quickly. though I have no way to test this yet as my device. I'll report here after I've tried it.
|
09-23-2016, 10:02 PM | #21 | |
Junior Member
Posts: 3
Karma: 10
Join Date: Sep 2016
Device: Kobo H2o
|
Quote:
tried to insert it in each of files: libadobe.so, libnickel.so.1.0.0, librmsdk.so.1.0.0 and it all generated same error. Your help is much appreciated. |
|
09-24-2016, 09:30 PM | #22 | |
Wizard
Posts: 3,821
Karma: 19162882
Join Date: Nov 2012
Location: Te Riu-a-Māui
Device: Kobo Glo
|
Quote:
|
|
09-27-2016, 12:47 AM | #23 | |
Junior Member
Posts: 3
Karma: 10
Join Date: Sep 2016
Device: Kobo H2o
|
Quote:
https://www.mobileread.com/forums/sho...1&postcount=17 |
|
09-27-2016, 01:43 AM | #24 | |
Wizard
Posts: 3,821
Karma: 19162882
Join Date: Nov 2012
Location: Te Riu-a-Māui
Device: Kobo Glo
|
Quote:
Sorry, I completely misread your post. I wasn't able to find how to remove the italics from the book titles in later firmware, I think others might have found a different way to solve the problem, maybe by installing a font that has italic arabic glyphs defined?, but I don't know how it works. I noticed this post by tshering for example. |
|
09-27-2016, 02:47 AM | #25 |
Wizard
Posts: 3,821
Karma: 19162882
Join Date: Nov 2012
Location: Te Riu-a-Māui
Device: Kobo Glo
|
OK the solution is actually quite simple, there is no need for a patch.
I just tried modifying a font by adding the Arabic glyphs from the Regular/Bold variants to the Italic/BoldItalic variants, and now the Arabic book titles are displayed on my Glo (firmware 3.19.5761). |
09-27-2016, 03:59 AM | #26 |
Wizard
Posts: 3,489
Karma: 2914715
Join Date: Jun 2012
Device: kobo touch
|
See also these two approaches:
|
09-27-2016, 04:33 AM | #27 |
Wizard
Posts: 3,821
Karma: 19162882
Join Date: Nov 2012
Location: Te Riu-a-Māui
Device: Kobo Glo
|
I'll just describe what I did to get Arabic book titles showing in the device library on my Glo (firmware 3.19.5761), because it might not work with all fonts:
I used the free DejaVu Sans font 1. Open DejaVuSans-Oblique.ttf in fontforge 2. Use the Merge Fonts function to merge DejaVuSans.ttf 3. Change PS Names > Fontname from DejaVuSans-Oblique to DejaVuSans-Italic 4. Change PS Names > Name For Humans from "DejaVu Sans Oblique" to "DejaVu Sans Italic" 5. File > Generate Fonts to generate DejaVuSans-Italic.ttf 6. Open DejaVuSans-BoldOblique.ttf in fontforge 7. Use the Merge Fonts function to merge DejaVuSans-Bold.ttf 8. Change PS Names > Fontname from DejaVuSans-BoldOblique to DejaVuSans-BoldItalic 9. Change PS Names > Name For Humans from "DejaVu Sans Bold Oblique" to "DejaVu Sans Bold Italic" 10. Change TTF Names > Styles (Subfamily) from Bold Oblique to BoldItalic 11. File > Generate Fonts to generate DejaVuSans-BoldItalic.ttf (I'm not sure if all of those steps are strictly necessary, but that is what I did.) Then just sideload the DejaVuSans.ttf DejaVuSans-Italic.ttf DejaVuSans-Bold.ttf DejaVuSans-BoldItalic.ttf as usual and reboot the device. (Note that immediately after booting, the Arabic titles will still show as squares until a book is opened causing the extra fonts to be loaded.) Edit: If anyone knows of a free font that has Arabic glyphs already included in the Italic variants, then it would be much simpler just to sideload that font. Last edited by GeoffR; 09-27-2016 at 04:42 AM. Reason: a free font that has Arabic glyphs already included in the Italic variants? |
09-27-2016, 05:18 AM | #28 |
Wizard
Posts: 3,821
Karma: 19162882
Join Date: Nov 2012
Location: Te Riu-a-Māui
Device: Kobo Glo
|
And here is a much simpler solution: Just sideload the free Amiri font (I used amiri-0.108.zip) which has Italic Arabic glyphs, renaming the files:
amiri-regular.ttf --> Amiri-Regular.ttf amiri-slanted.ttf --> Amiri-Italic.ttf amiri-bold.ttf --> Amiri-Bold.ttf amiri-boldslanted.ttf --> Amiri-BoldItalic.ttf That is all, no patching or font modification needed (for firmware 3.19.5761 at least.) Edit: Note that this font displays the book titles in bold because it has incorrect PANOSE weights. That would need to be fixed if you want to use it for reading KePubs, but it seems to work okay in the ePub reader. Last edited by GeoffR; 09-27-2016 at 04:07 PM. Reason: book titles display as bold |
09-28-2016, 11:53 AM | #29 | |
Junior Member
Posts: 3
Karma: 10
Join Date: Sep 2016
Device: Kobo H2o
|
Quote:
|
|
Tags |
arabic, aura, kobo |
|
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 |