<br><br><div class="gmail_quote">On Thu, Apr 16, 2009 at 2:57 PM, Andrey Larionov <span dir="ltr">&lt;<a href="mailto:anlarionov@gmail.com">anlarionov@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div class="im">&gt; On Fri, Apr 17, 2009 at 01:09, Eliot Miranda &lt;<a href="mailto:eliot.miranda@gmail.com">eliot.miranda@gmail.com</a>&gt; wrote:<br>
</div><div class="im">&gt; 257 was the code THE scan characters primitive answered when it reached the end of the input string.<br>
&gt; 258 was the code it returned when the next character to be output would have crOssed over the right-hand margin.<br>
</div>If we talking about ranges from 1 to 256 yes, but if characters have<br>
zero based index, then 256, 257</blockquote><div><br></div><div>I was only trying to explain what the meanings were.</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div><div class="h5">On Fri, Apr 17, 2009 at 01:52, Andrey Larionov &lt;<a href="mailto:anlarionov@gmail.com">anlarionov@gmail.com</a>&gt; wrote:<br>
&gt; Sorry for hestiating, but since Unicode is come and Character ranges<br>
&gt; are enlarged, should we review this hardcodes?<br>
&gt;<br>
&gt; On Fri, Apr 17, 2009 at 01:09, Eliot Miranda &lt;<a href="mailto:eliot.miranda@gmail.com">eliot.miranda@gmail.com</a>&gt; wrote:<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; On Thu, Apr 16, 2009 at 1:05 PM, Andrey Larionov &lt;<a href="mailto:anlarionov@gmail.com">anlarionov@gmail.com</a>&gt;<br>
&gt;&gt; wrote:<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; Investigating reasons of fail FontTest tests i found bug in<br>
&gt;&gt;&gt; MultiCompositionScaner (or it maybe some related class). Looks like<br>
&gt;&gt;&gt; what Character value: 257 had a special meaning in squeak.<br>
&gt;&gt;<br>
&gt;&gt; 257 was the code THE scan characters primitive answered when it reached the<br>
&gt;&gt; end of the input string.<br>
&gt;&gt; 258 was the code it returned when the next character to be output would have<br>
&gt;&gt; crOssed over the right-hand margin.<br>
&gt;&gt; Alas none of this is documented in the blue book.  You have to extract it<br>
&gt;&gt; from e.g. the Xerox V2.0 sources.<br>
&gt;&gt; Here&#39;s the defines from an ancient VM of mine:<br>
&gt;&gt; /* TextConstants pool variables initialised in Text */<br>
&gt;&gt; #define CrossedX 258<br>
&gt;&gt; #define EndOfRun 257<br>
&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; If not use<br>
&gt;&gt;&gt; StrikeFont everything is well, but if you choose FreeType font the<br>
&gt;&gt;&gt; doing something<br>
&gt;&gt;&gt; (Character value: 257) asString asTextMorph openInWorld<br>
&gt;&gt;&gt; creates an endles loop in composer. It founds character falls in<br>
&gt;&gt;&gt; crossedX method (this character is stopCondition) and then remove<br>
&gt;&gt;&gt; character from composition and starts again.<br>
&gt;&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;<br>
<br>
</div></div></blockquote></div><br>