Hello Andreas and all,<div><br></div><div>I have tried to manage multilanguagual keyboard input to work also.</div><div>The needed changes are taken from the current EToys image.</div><div>So, the Multilingual-Support-FromEToys package is in the <a href="http://source.squeak.org/inbox/">http://source.squeak.org/inbox/</a>, for now it includes just Russian language environment.</div>

<div><br></div><div>To have the Russian keyboard input working you need:</div><div><br></div><div>1. Update the image from trunk with the latest Andreas changes for fonts, install font Arial, for example:</div><div><br></div>

<div>TTFileDescription installFamilyNamed: &#39;Arial&#39;.</div><div><br></div><div>2. Load Multilingual-Support-FromEToys.mcz from the Inbox, like:</div><div><div>MczInstaller installStream:</div><div>  (HTTPSocket httpGet: &#39;<font class="Apple-style-span" color="#551A8B"><span class="Apple-style-span" style="text-decoration: underline; "><a href="http://source.squeak.org/inbox/Multilingual-Support-FromEToys-sn.2.mcz">http://source.squeak.org/inbox/Multilingual-Support-FromEToys-sn.2.mcz</a></span></font>&#39; ).</div>

<div><br></div></div><div>3. Execute in the workspace:</div><div><br></div><div><div>EncodedCharSet initialize.</div><div>LanguageEnvironment resetKnownEnvironments.</div><div>Locale switchToID: (LocaleID isoLanguage: &#39;ru&#39;).</div>

<div><br></div></div><div><br></div><div>Thanks,</div><div>Nikolay Suslov</div><div><br></div><div><div class="gmail_quote">On Fri, Jul 31, 2009 at 10:57 AM, Andreas Raab <span dir="ltr">&lt;<a href="mailto:andreas.raab@gmx.de">andreas.raab@gmx.de</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Folks -<br>
<br>
I just finished a bit of work for supporting Truetype fonts directly from disk which will make it quite a bit easier to support non-latin languages. If you update your 3.10.2-trunk image, you will get support for TTFileDescription which is polymorphic with TTFontDescription but leaves the files on disk instead of reading them into memory and wasting tons of space. The attached picture shows a couple of Squeak Wikipedia entries rendered in Batang (a standard font on Windows which is 16MB on disk and would be, oh, I don&#39;t know, *big* if loaded into memory ;-)<br>


<br>
One of the nice effects is that because the files are left on disk, you can access your native platform fonts virtually for free (except that it affects portability of the image). The font menu in text morphs (Cmd-k/Alt-k) has consequently been extended to include a &quot;More (non-portable) Fonts...&quot; entry which now gives you access to all of the TTFs that we can find. The current list of search paths for fonts is hardcoded in TTFontDescription&gt;&gt;fontPathsDo: - if we&#39;re missing some, please add them in (this was mostly guesswork).<br>


<br>
An open question at this point to me is what the right combination of fonts for the next release might be. As far as I can tell, we have three basic choices:<br>
1) Ship all the fonts with the image. Either Vera and friends in-memory, or Dejavu on disk. Nice and self-contained, but eats space.<br>
2) Use all the fonts on the platform. Drop Vera and instead give people access to local fonts. Compact, but makes images less portable.<br>
3) Do some combo of having a certain set of fonts in the image, for example Vera for basic LGC coverage and use platform fonts for the rest. Compact and portable unless you need the extended fonts.<br>
<br>
Any preferences? Opinions? Also, I&#39;m interested in finding fonts that don&#39;t work. Those of you who have &quot;interesting&quot; fonts / scripts, if you could run a<br>
<br>
   TTFileDescription loadAllFontFiles.<br>
<br>
to see if any of them blow up, that would be greatly appreciated. And of course any other comments, questions, and suggestions are welcome.<br>
<br>
Cheers,<br><font color="#888888">
  - Andreas<br>
</font><br><br>
<br></blockquote></div><br></div>