On Tue, Jun 10, 2003 at 02:43:11AM -0700, Peter Jay Salzman wrote: > hi all, > > i just converted my system to UTF-8. xterms, mutt, vim all are unicode > capable now. the only thing left for me to conquer is a keymap and a > font. i'm on debian testing. > > about fonts. now that everything is ISO10646, i need to start using > ISO10646 fonts to get hebrew (vowels are necessary for me right now). > played around with xfontsel to see what my options were, and i was a > little shocked. when viewing: > > *-*-*-*-*-*-*-*-*-*-*-*-iso10646-* > > there were only about 30 font families available (including times new > roman, arial, lucida, courier, verdana, etc) and none of them were > culmus fonts. basically, it was only true type fonts that come from MS > core font package.
There are a number of (bitmap) fonts of that encoding that include Hebrew glyphs: misc-fixed that comes with any recent XFree is one of them. It will do for makingHebrew text readable (as opposed to gibrish. Not that it looks so good when it is scaled) > > none of the culmus fonts can be used in UTF-8 encoding? that doesn't > sound right to me. in other words, i can use culmus in pango > applications, but not with xterms and vim?!? > For xterms a fixed bitmap font is actually "good enough", because you don't need to scale it often. And you don't need a proprtional font. Culmus has Miraim Fixed, BTW. > > next, the keymap. i found an excellent keymap along with a png of the > keyboard layout at: > > http://imagic.weizmann.ac.il/~dov/Hebrew/pango-hebrew.html Actually, standard Hebrew keymap will do. X translates Hebrew key presses to its of XK_HEBREW_whatever symbols. Unicode-based programs normally translate those symbols to "real" Hebrew chars internally. Older "legacy" programs (gtk 1.2 programs, and programs based on older toolkits like Xaw and Motif(?)) translate this to bytes and may fail to differenciate different charsets. > > but my english speaking brain really can't wrap around it. aleph should > be where the "a" key is. i've seen hebrew phonetic keymaps in vim, but > i'd like to have a phonetic keymap for everything else as well. XFree has such phonetic keymap. Use il_phnetic instead of il . The file it uses are taken from under /usr/X11/lib/xkb/symbols , (or /usr/X11/lib/xkb/symbols/pc ). What version of XFree do you use? (alternatively: what do you use? Mandrake 9.1 and RedHat 9 come with XFree 4.3 that changed some things there) > does > anybody know of a phonetic hebrew ready made keymap? preferably > something that documents the keystrokes. one of the nice things about > dov's effort is the cool png that comes with it that shows key layout. > the other cool thing is being able to toggle between hebrew and english > with the right alt key. that was a really nice touch. :) Actually, this is a standard Xkb feature. you can also choose other key to "switch" (what you called toggle: temporarily switch between the "groups": this is how Xkb calls different 'sub-layouts' of the currently-defined keyboard layout) or "toggle" (permanently change group). -- Tzafrir Cohen +---------------------------+ http://www.technion.ac.il/~tzafrir/ |vim is a mutt's best friend| mailto:[EMAIL PROTECTED] +---------------------------+ ================================================================= To unsubscribe, send mail to [EMAIL PROTECTED] with the word "unsubscribe" in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED]