Hebrew
(New page: Hebrew support on 770/N800 These instructions assume running a terminal as root on the device (either with xterm or sshd). == Fonts == * Copying some Culmus fonts (Nachlieli, David, etc...) |
(Cleanup, markup, fixup, and general unbreaking) |
||
Line 1: | Line 1: | ||
- | Hebrew support | + | This guide covers setting up Hebrew support in Maemo. These instructions assume [[root access]]. |
- | + | ||
- | These instructions assume | + | |
== Fonts == | == Fonts == | ||
- | * Copying some Culmus fonts (Nachlieli, David, etc.) or | + | * Copying some Culmus fonts (Nachlieli, David, etc.) or Windows fonts with Hebrew (Arial, Tahoma, etc.) to <code>/home/user/.fonts</code> is useful in some applications. |
- | * Some applications | + | * Some applications' interface elements use Nokia fonts, so they need to be replaced with fonts that include Hebrew glyphs. Unfortunately, the fonts Nokia use are not free, so I can't distribute the Hebrew including version. To generate these fonts: |
- | ** Copy the files nosnr.ttf, nosnb.ttf and nscnr.ttf from /usr/share/fonts/nokia on the device to | + | ** Copy the files <code>nosnr.ttf</code>, <code>nosnb.ttf</code>, and <code>nscnr.ttf</code> from <code>/usr/share/fonts/nokia</code> on the device to a PC. |
- | ** Make sure you have | + | ** Make sure you have [http://fontforge.sourceforge.net/ FontForge] installed. |
- | ** Copy Nachlieli Culmus fonts (all files beginning with Nach) from where they are installed in your system to the same directory | + | ** Copy Nachlieli Culmus fonts (all files beginning with Nach) from where they are installed in your system to the same directory as the Nokia files. |
- | ** Download http://www.arava.co.il/matan/770/heb/fontmerge and run it in the same directory. to do that run: fontforge -lang=ff -script fontmerge | + | ** Download [http://www.arava.co.il/matan/770/heb/fontmerge fontmerge] and run it in the same directory. to do that run: |
- | + | ::<code>fontforge -lang=ff -script fontmerge</code> | |
- | + | <ul><ul> | |
- | + | <li>Copy the generated <code>nosnb-h.ttf</code>, <code>nosnr-h.ttf</code>, and <code>nscnr-h.ttf</code> to <code>/usr/share/fonts/nokia</code> on the device, and remove the <code>-h</code> from the name, in order to overwrite the original fonts.</li> | |
- | + | <li>Other fonts that might need to be fixed similarly are <code>NtmRR4nh.ttf</code>, <code>NcrRR4nh.ttf</code>, and <code>SwaRR4nh.ttf</code> from <code>/usr/share/fonts</code>. This can be done with the [http://www.arava.co.il/matan/770/heb/fontmerge2 fontmerge] script. It seems that <code>SwaRR4nh.ttf</code> is the font used for the keyboard keys, so you must do this if you want to use Hebrew keyboard.</li></ul> | |
+ | <li>After installing or changing fonts, you should run <code>fc-cache -f</code>. A reboot might be needed for some applications or parts of the GUI to use the new fonts.</li> | ||
== Vitual keyboard == | == Vitual keyboard == | ||
- | Copy the file | + | Copy the file <code>[http://www.arava.co.il/matan/770/heb/he_IL.vkb he_IL.vkb]</code> to <code>/usr/share/keyboards</code>. Then he_IL is added to the list of available languages for the keyboard. |
- | + | ||
== iconv modules == | == iconv modules == | ||
- | These modules are necessary for some applications ( | + | These modules are necessary for some applications (FBreader, Minimo). Download <code>[http://www.arava.co.il/matan/770/heb/gconv.tar.gz gconv.tar.gz]</code> to the device, and run (as root): |
<pre> | <pre> | ||
tar xzf gconv.tar.gz -C /usr/local | tar xzf gconv.tar.gz -C /usr/local | ||
Line 32: | Line 30: | ||
* [http://live.gnome.org/Hildon/HowtoRTL HowToRTL] vaguely relates to BiDi | * [http://live.gnome.org/Hildon/HowtoRTL HowToRTL] vaguely relates to BiDi | ||
- | |||
== Specific applications == | == Specific applications == | ||
* Included Opera has no BiDi support, but MicroB (Mozilla based browser) does support BiDi. | * Included Opera has no BiDi support, but MicroB (Mozilla based browser) does support BiDi. | ||
- | * Minimo works | + | * Minimo works (both display and input), as long as gconv modules are installed. |
- | * | + | * Claws appears to display Hebrew fine, as long as the encoding is correctly identified in the mail itself. |
- | * FBReader: | + | * FBReader: [http://www.arava.co.il/matan/770/heb/fb-0.8.1-bidi.diff patch] for rudimentary BiDi support. You can install regular packages of FBreader 0.8.1, and use [http://www.arava.co.il/matan/770/heb/FBReader this binary] to replace <code>/usr/bin/FBReader</code> on the device. |
- | * | + | * [http://www.arava.co.il/matan/770/heb/links links-2] (graphics) with some BiDi support is available (just run this binary from XTerm) [http://www.arava.co.il/matan/770/heb/links-fribidi.diff Patch] (relative to 2.1pre23). |
- | * MaemoTeX - | + | * MaemoTeX - [http://www.arava.co.il/matan/770/heb/tex.tgz this] adds Hebrew (and ams) support to MaemoTeX 0.1.6. Just untar it from root directory, and run <code>mktexlsr</code>. Leafnode appears to have no problems editing ISO-8859-8 files. |
+ | |||
+ | [[Category:Users]] |
Revision as of 08:07, 18 April 2009
This guide covers setting up Hebrew support in Maemo. These instructions assume root access.
Contents |
Fonts
- Copying some Culmus fonts (Nachlieli, David, etc.) or Windows fonts with Hebrew (Arial, Tahoma, etc.) to
/home/user/.fonts
is useful in some applications. - Some applications' interface elements use Nokia fonts, so they need to be replaced with fonts that include Hebrew glyphs. Unfortunately, the fonts Nokia use are not free, so I can't distribute the Hebrew including version. To generate these fonts:
- Copy the files
nosnr.ttf
,nosnb.ttf
, andnscnr.ttf
from/usr/share/fonts/nokia
on the device to a PC. - Make sure you have FontForge installed.
- Copy Nachlieli Culmus fonts (all files beginning with Nach) from where they are installed in your system to the same directory as the Nokia files.
- Download fontmerge and run it in the same directory. to do that run:
- Copy the files
fontforge -lang=ff -script fontmerge
- Copy the generated
nosnb-h.ttf
,nosnr-h.ttf
, andnscnr-h.ttf
to/usr/share/fonts/nokia
on the device, and remove the-h
from the name, in order to overwrite the original fonts. - Other fonts that might need to be fixed similarly are
NtmRR4nh.ttf
,NcrRR4nh.ttf
, andSwaRR4nh.ttf
from/usr/share/fonts
. This can be done with the fontmerge script. It seems thatSwaRR4nh.ttf
is the font used for the keyboard keys, so you must do this if you want to use Hebrew keyboard. - After installing or changing fonts, you should run
fc-cache -f
. A reboot might be needed for some applications or parts of the GUI to use the new fonts.
Vitual keyboard
Copy the file he_IL.vkb
to /usr/share/keyboards
. Then he_IL is added to the list of available languages for the keyboard.
iconv modules
These modules are necessary for some applications (FBreader, Minimo). Download gconv.tar.gz
to the device, and run (as root):
tar xzf gconv.tar.gz -C /usr/local iconvconfig /usr/local/gconv
Miscellaneous
- HowToRTL vaguely relates to BiDi
Specific applications
- Included Opera has no BiDi support, but MicroB (Mozilla based browser) does support BiDi.
- Minimo works (both display and input), as long as gconv modules are installed.
- Claws appears to display Hebrew fine, as long as the encoding is correctly identified in the mail itself.
- FBReader: patch for rudimentary BiDi support. You can install regular packages of FBreader 0.8.1, and use this binary to replace
/usr/bin/FBReader
on the device. - links-2 (graphics) with some BiDi support is available (just run this binary from XTerm) Patch (relative to 2.1pre23).
- MaemoTeX - this adds Hebrew (and ams) support to MaemoTeX 0.1.6. Just untar it from root directory, and run
mktexlsr
. Leafnode appears to have no problems editing ISO-8859-8 files.