Ok, I like the new preference option.<div><br></div><div>Richo<br><br><div class="gmail_quote">On Sat, Jun 12, 2010 at 3:44 PM, Bert Freudenberg <span dir="ltr">&lt;<a href="mailto:bert@freudenbergs.de">bert@freudenbergs.de</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">We must *only* look for fonts in &lt;imagePath&gt;/fonts by default. Otherwise projects would not be compatible between platforms anymore.<br>


<br>
One option would be to add a &quot;platformFonts&quot; preference that would be off by default in our image.<br>
<font color="#888888"><br>
- Bert -<br>
</font><div><div></div><div class="h5"><br>
On 12.06.2010, at 17:52, <a href="mailto:commits@source.squeak.org">commits@source.squeak.org</a> wrote:<br>
<br>
&gt; Ricardo Moran uploaded a new version of TrueType to project Etoys:<br>
&gt; <a href="http://source.squeak.org/etoys/TrueType-Richo.5.mcz" target="_blank">http://source.squeak.org/etoys/TrueType-Richo.5.mcz</a><br>
&gt;<br>
&gt; ==================== Summary ====================<br>
&gt;<br>
&gt; Name: TrueType-Richo.5<br>
&gt; Author: Richo<br>
&gt; Time: 12 June 2010, 2:52:41 pm<br>
&gt; UUID: eac6d292-1884-4e47-8da8-e965079f6b1f<br>
&gt; Ancestors: TrueType-Richo.4<br>
&gt;<br>
&gt; * Added (imagePath)/fonts as a path for looking fonts.<br>
&gt;<br>
&gt; =============== Diff against TrueType-Richo.4 ===============<br>
&gt;<br>
&gt; Item was changed:<br>
&gt;  ----- Method: TTFileDescription class&gt;&gt;fontPathsDo: (in category &#39;font paths&#39;) -----<br>
&gt;  fontPathsDo: aBlock<br>
&gt;       &quot;Evaluate aBlock with all of the font paths that should be searched on the current platform&quot;<br>
&gt;<br>
&gt;       &quot;Start with the current directory&quot;<br>
&gt;       aBlock value: FileDirectory default pathName.<br>
&gt;<br>
&gt;       &quot;Then subdirectory &#39;fonts&#39;&quot;<br>
&gt;       aBlock value: (FileDirectory default directoryNamed: &#39;fonts&#39;) pathName.<br>
&gt;<br>
&gt; +     aBlock value: (SmalltalkImage current imagePath, FileDirectory pathNameDelimiter asString, &#39;fonts&#39;).<br>
&gt; +<br>
&gt;       &quot;Platform specific directories&quot;<br>
&gt;       SmalltalkImage current platformName caseOf:{<br>
&gt;               [&#39;Win32&#39;]       -&gt;      [<br>
&gt;                       &quot;Standard Windows fonts directory&quot;<br>
&gt;                       aBlock value: &#39;C:\Windows\Fonts&#39;.<br>
&gt;               ].<br>
&gt;               [&#39;Mac OS&#39;]      -&gt;      [<br>
&gt;                       &quot;Standard system fonts directory&quot;<br>
&gt;                       aBlock value: &#39;/Library/Fonts&#39;.<br>
&gt;               ].<br>
&gt;               [&#39;unix&#39;]                -&gt;      [ | base |<br>
&gt;                       &quot;Standard fonts are in /usr/share/fonts/*&quot;<br>
&gt;                       base := &#39;/usr/share/fonts&#39;.<br>
&gt;                       (FileDirectory on: base) directoryNames<br>
&gt;                               do:[:dn| aBlock value: base, &#39;/&#39;, dn].<br>
&gt;               ].<br>
&gt;       } otherwise:[].<br>
&gt;       !<br>
<br>
<br>
_______________________________________________<br>
etoys-dev mailing list<br>
<a href="mailto:etoys-dev@squeakland.org">etoys-dev@squeakland.org</a><br>
<a href="http://lists.squeakland.org/mailman/listinfo/etoys-dev" target="_blank">http://lists.squeakland.org/mailman/listinfo/etoys-dev</a><br>
</div></div></blockquote></div><br></div>