Editing Hebrew
Warning: You are not logged in.
Your IP address will be recorded in this page's edit history.
The edit can be undone.
Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 1: | Line 1: | ||
- | + | Hebrew support on 770/N800 | |
- | + | These instructions assume running a terminal as root on the device (either with xterm or sshd). | |
- | + | ||
- | + | ||
== 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 /home/user/.fonts is useful in some applications. |
- | * Some applications | + | * Some applications, programs, interface elements use the 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 | + | ** Copy the files nosnr.ttf, nosnb.ttf and nscnr.ttf from /usr/share/fonts/nokia on the device to the PC. |
- | ** Make sure you have | + | ** Make sure you have fontforge ( http://fontforge.sf.net ) 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 is the nokia files. |
- | ** Download | + | ** 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 |
- | + | ** Copy the generated nosnb-h.ttf, nosnr-h.ttf nscnr-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 and SwaRR4nh.ttf from /usr/share/fonts. This can be done with the script http://www.arava.co.il/matan/770/heb/fontmerge2. It seems that SwaRR4nh.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. | |
- | + | ||
- | + | ||
- | |||
- | Copy the file | + | == Vitual keyboard == |
+ | |||
+ | Copy the file he_IL.vkb from http://www.arava.co.il/matan/770/heb/he_IL.vkb to /usr/share/keyboards. 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 http://www.arava.co.il/matan/770/heb/gconv.tar.gz 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 34: | Line 32: | ||
* [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 (both display and input), as long as gconv modules are installed. | + | * Minimo works ok (both display and input), as long as gconv modules are installed. |
- | * | + | * claws-mail appears to display hebrew fine, as long as the encoding is correctly identified in the mail itself. |
- | * FBReader: | + | * FBReader: patch for rudimentary BiDi support is at http://www.arava.co.il/matan/770/heb/fb-0.8.1-bidi.diff . You can install regular packages of fbreader-0.8.1, and use http://www.arava.co.il/matan/770/heb/FBReader to replace /usr/bin/FBReader on the device. |
- | * | + | * links-2 (graphics) with some Bidi support is available at: http://www.arava.co.il/matan/770/heb/links (just run this binary from xterm.) Patch (relative to 2.1pre23 is at http://www.arava.co.il/matan/770/heb/links-fribidi.diff ). |
- | * MaemoTeX - | + | * MaemoTeX - The file http://www.arava.co.il/matan/770/heb/tex.tgz 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. |
- | + | ||
- | + | ||
- | + | ||
- | + |
Learn more about Contributing to the wiki.