<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 &quot;sans&quot;, &quot;serif&quot; and &quot;monotype&quot; 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">&lt;<a href="mailto:dotancohen@gmail.com">dotancohen@gmail.com</a>&gt;</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">&gt; You don&#39;t need that much. Here&#39;s a script that takes the letters from a<br>
&gt; hebrew fonts and adds them to another font:<br>
&gt;<br>
&gt; Open(&quot;NachlieliCLM-BoldOblique.pfa&quot;)<br>
&gt; SelectAll()<br>
&gt; Scale(200)<br>
&gt; Generate(&quot;tmp.ttf&quot;)<br>
&gt; Open(&quot;SwaBI4nh.ttf&quot;)<br>
&gt; MergeFonts(&quot;tmp.ttf&quot;)<br>
&gt; Generate(&quot;SwaBI4nh-h.ttf&quot;)<br>
&gt;<br>
&gt; There are two things you need to change:<br>
&gt; Easy - the name of the fonts<br>
&gt; A bit harder - change SelectAll with a function that only selects hebrew<br>
&gt; letters. I used SelectAll since the Hebrew font I used only has Hebrew<br>
&gt; letters.<br>
&gt;<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>