<div class="gmail_quote">On Sun, Apr 26, 2009 at 7:19 AM, 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="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div style=""><div><div>On 26.04.2009, at 15:04, Steve Wart wrote:</div><blockquote type="cite">Is an external dependency like <a href="http://www.freetype.org/" target="_blank">http://www.freetype.org/</a> completely out of the question?<br>
</blockquote></div><div></div>Not sure what you mean. There is a FreeType plugin already.<br><div></div></div></blockquote><div><br>Funny. I had installed it only 2 months ago and spent several hours trying to get it to work/work well in Cobalt before deciding that Accuny looked better than any of the several dozen fonts I scoured through. Don&#39;t know why I didn&#39;t think about that before I posted.<br>
<br>I mentioned because I had been coincidentally looking at GLTT (for another project) to render some TT fonts in OpenGL and probably read too much into the coincidence. <br><br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div style=""><div></div><div>It does work for some applications. But besides huge plugins in general being not in the spirit of Smalltalk, one of the particular problems of using FreeType is that it depends on external fonts. But platform fonts vary largely between systems. That breaks one of the core promises of Squeak, platform independence.</div>
</div></blockquote><div><br>I think this is a problem for a lot of projects and maybe FreeType isn&#39;t the answer. But it would be nice to have an alternative to the bitmap fonts and the TrueType model is very rich (I don&#39;t know if it&#39;s rich enough for all human languages but if there is another model that can live up to that standard I&#39;d be interested to find out more). Many decent free fonts are available so I don&#39;t think external dependencies need to be an issue (they&#39;re just data), but I don&#39;t understand why fonts tend to be a platform problem. How is font rendering/lookup dependent on the underlying OS? Can that dependency be broken?<br>
 </div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div style=""><div></div><div>Now I know the &quot;re-inventing the wheel&quot; argument. Which is why we made a Pango/FreeType rendering plugin for OLPC Etoys, where we need to support many more scripts than simple TrueType rendering could do. But it already starts to crumble. OLPC defined a platform, so we could rely on the fonts we used being installed. But now that Sugar became independent of OLPC, there is no control of the platform anymore really. Which means it&#39;s not guaranteed projects will look the same everywhere. We have not yet found a cheap solution to that problem.</div>
</div></blockquote><div><br>It does make sense in some contexts to do everything in Smalltalk. Clearly changing the font model is a huge amount of work and there is a long legacy of development that depends on fonts working the way they do now. But Squeak has for years shipped with its own fonts installed, why do we need to depend on the platform for that? <br>
<br>Steve<br></div></div>