If you are using fontconfig, which at least KDE and Gtk are using, then you may want to use a Hebrew font without any Latin letters. fontconfig does font matching per character according to a priority queue. If the highest priority font does not contain a given glyph, then the next font in the queue gets the chance and so on. Thus if you put a Hebrew only font at the top of the queue it will only supply the Hebrew characters.
This is how "sans", "serif" and "monotype" work. A nice program for checking what glyphs you get for the different fontconfig fonts is gucharmap. Regards, Dov 2009/2/24 Dotan Cohen <[email protected]> > > You don't need that much. Here's a script that takes the letters from a > > hebrew fonts and adds them to another font: > > > > Open("NachlieliCLM-BoldOblique.pfa") > > SelectAll() > > Scale(200) > > Generate("tmp.ttf") > > Open("SwaBI4nh.ttf") > > MergeFonts("tmp.ttf") > > Generate("SwaBI4nh-h.ttf") > > > > There are two things you need to change: > > Easy - the name of the fonts > > A bit harder - change SelectAll with a function that only selects hebrew > > letters. I used SelectAll since the Hebrew font I used only has Hebrew > > letters. > > > > Thanks, Matan! > > 1) The default font viewers in KDE apply English letters. How can I > know which letters come in any one font? > > 2) This works on fonts installed in ~/.fonts or elsewhere? > > Thanks! > > -- > Dotan Cohen > > http://what-is-what.com > http://gibberish.co.il > > א-ב-ג-ד-ה-ו-ז-ח-ט-י-ך-כ-ל-ם-מ-ן-נ-ס-ע-ף-פ-ץ-צ-ק-ר-ש-ת > ا-ب-ت-ث-ج-ح-خ-د-ذ-ر-ز-س-ش-ص-ض-ط-ظ-ع-غ-ف-ق-ك-ل-م-ن-ه-و-ي > А-Б-В-Г-Д-Е-Ё-Ж-З-И-Й-К-Л-М-Н-О-П-Р-С-Т-У-Ф-Х-Ц-Ч-Ш-Щ-Ъ-Ы-Ь-Э-Ю-Я > а-б-в-г-д-е-ё-ж-з-и-й-к-л-м-н-о-п-р-с-т-у-ф-х-ц-ч-ш-щ-ъ-ы-ь-э-ю-я > ä-ö-ü-ß-Ä-Ö-Ü > _______________________________________________ > Linux-il mailing list > [email protected] > http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il >
_______________________________________________ Linux-il mailing list [email protected] http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
