<div dir="ltr">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.<br>
<br>This is how "sans", "serif" and "monotype" work. A nice program for checking what glyphs you get for the different fontconfig fonts is gucharmap.<br><br>Regards,<br>Dov<br><br><div class="gmail_quote">
2009/2/24 Dotan Cohen <span dir="ltr"><<a href="mailto:dotancohen@gmail.com">dotancohen@gmail.com</a>></span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="im">> You don't need that much. Here's a script that takes the letters from a<br>
> hebrew fonts and adds them to another font:<br>
><br>
> Open("NachlieliCLM-BoldOblique.pfa")<br>
> SelectAll()<br>
> Scale(200)<br>
> Generate("tmp.ttf")<br>
> Open("SwaBI4nh.ttf")<br>
> MergeFonts("tmp.ttf")<br>
> Generate("SwaBI4nh-h.ttf")<br>
><br>
> There are two things you need to change:<br>
> Easy - the name of the fonts<br>
> A bit harder - change SelectAll with a function that only selects hebrew<br>
> letters. I used SelectAll since the Hebrew font I used only has Hebrew<br>
> letters.<br>
><br>
<br>
</div>Thanks, Matan!<br>
<br>
1) The default font viewers in KDE apply English letters. How can I<br>
know which letters come in any one font?<br>
<br>
2) This works on fonts installed in ~/.fonts or elsewhere?<br>
<br>
Thanks!<br>
<div class="im"><br>
--<br>
Dotan Cohen<br>
<br>
<a href="http://what-is-what.com" target="_blank">http://what-is-what.com</a><br>
<a href="http://gibberish.co.il" target="_blank">http://gibberish.co.il</a><br>
<br>
א-ב-ג-ד-ה-ו-ז-ח-ט-י-ך-כ-ל-ם-מ-ן-נ-ס-ע-ף-פ-ץ-צ-ק-ר-ש-ת<br>
ا-ب-ت-ث-ج-ح-خ-د-ذ-ر-ز-س-ش-ص-ض-ط-ظ-ع-غ-ف-ق-ك-ل-م-ن-ه-و-ي<br>
А-Б-В-Г-Д-Е-Ё-Ж-З-И-Й-К-Л-М-Н-О-П-Р-С-Т-У-Ф-Х-Ц-Ч-Ш-Щ-Ъ-Ы-Ь-Э-Ю-Я<br>
а-б-в-г-д-е-ё-ж-з-и-й-к-л-м-н-о-п-р-с-т-у-ф-х-ц-ч-ш-щ-ъ-ы-ь-э-ю-я<br>
ä-ö-ü-ß-Ä-Ö-Ü<br>
_______________________________________________<br>
</div><div><div></div><div class="h5">Linux-il mailing list<br>
<a href="mailto:Linux-il@cs.huji.ac.il">Linux-il@cs.huji.ac.il</a><br>
<a href="http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il" target="_blank">http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il</a><br>
</div></div></blockquote></div><br></div>