<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Hi Eliot,<div><br></div><div>On Jun 13, 2018, at 9:49 AM, Eliot Miranda wrote:</div><div><div><br class="Apple-interchange-newline"><blockquote type="cite"><div dir="ltr">Hi All,<div><br></div><div>    in reviewing the tests given recent work leading up to the 5.2 release I see an error in LangEnvBugs>>testIsFontAvailable.</div><div><br></div></div></blockquote><div><br></div><div><div>Thanks for bringing this up.  I noticed this one too and spent an hour or two working on it but never sent along my changes... maybe because I had some of the same questions.</div><div><br></div></div><blockquote type="cite"><div dir="ltr"><div>This is the phrase:</div><div><br></div><div>    (LanguageEnvironment localeID: 'en' ) isFontAvailable</div><div><br></div><div>But LanguageEnvironment class>>#localeID: expects a LocaleID as argument.  So is the fix to rewrite the test to use</div><div><br></div></div></blockquote><blockquote type="cite">[...]<br></blockquote><blockquote type="cite"><div dir="ltr"><div><br></div><div>?</div></div></blockquote><div><br></div><div>Yes, I think so.  That meshes with the other users of this system within the image.</div><br><blockquote type="cite"><div dir="ltr"><div>And given that</div><div>    self ensureInternetConnectionTo: '<a href="http://metatoys.org/pub/">http://metatoys.org/pub/</a>'.</div><div>fails and</div><div><div>curl <a href="http://metatoys.com/pub">http://metatoys.com/pub</a></div><div><html><head><title>Object moved</title></head><body></div><div><h2>Object moved to <a href="<a href="https://www.hugedomains.com/domain_profile.cfm?d=metatoys&amp;e=com">https://www.hugedomains.com/domain_profile.cfm?d=metatoys&amp;e=com</a>">here</a>.</h2></div><div></body></html></div></div><div><br></div><div>shouldn't LocaleTest>>#testIsFontAvailable be n expected failure?</div></div></blockquote><div><br></div>Good call.  It seems that without this URL being live on the internet, the remote-font-loading-for-locale-switching won't work (Locale class>>#switchAndInstallFontToID:gently:)</div><div><br></div><div>We can change the URL to <a href="https://web.archive.org/web/20161219105306/http://metatoys.org:80/pub/">https://web.archive.org/web/20161219105306/http://metatoys.org:80/pub/</a></div><div><br></div><div>...or provide the necessary files on <a href="http://files.squeak.org">files.squeak.org</a>.</div><div><br></div><div><div>We can also rewrite the test so it does not hardcode the URL but rather takes its URL from LanguageEnvironment>>#fontDownloadUrls </div><div><br></div></div><div>However, I have to ask:  was this remote-font-loading system affected by the font system refurbishment during the Squeak license change?  Is this remote-font-loading-for-locale-switching system still relevant?</div><div><br></div><div>Thanks,</div><div>Tim</div><div><br></div><div><br></div><br></div></body></html>