<div id="__MailbirdStyleContent" style="font-size: 10pt;font-family: Arial;color: #000000;text-align: left" dir="ltr">
                                        Hi Tony --<div><br></div><div>I just checked. Primitive 103 does not fail for me. I added this:</div><div><br></div><div><div><span style="font-size: 13.3333px"><span style="white-space:pre">     </span><primitive: 103></span></div><div><span style="font-size: 13.3333px"><span style="white-space:pre">        </span>Smalltalk at: #ScanFail put: (Smalltalk at: #ScanFail) + 1.</span></div><div><span style="font-size: 13.3333px"><span style="white-space:pre">   </span>^self basicScanByteCharactersFrom: startIndex to: stopIndex in: sourceString rightX: rightX </span></div></div><div><span style="font-size: 13.3333px"><br></span></div><div><span style="font-size: 13.3333px">And #ScanFail keeps being 0. The primitive 103 works here. :-) Currently 32-bit OSVM on Windows 10.</span></div><div><span style="font-size: 13.3333px"><br></span></div><div><span style="font-size: 13.3333px">Best,</span></div><div><span style="font-size: 13.3333px">Marcel</span></div><div class="mb_sig"></div>
                                        <blockquote class="history_container" type="cite" style="border-left-style: solid;border-width: 1px;margin-top: 20px;margin-left: 0px;padding-left: 10px;min-width: 500px">
                        <p style="color: #AAAAAA; margin-top: 10px;">Am 17.02.2022 12:10:16 schrieb Tony Garnock-Jones <tonyg@leastfixedpoint.com>:</p><div style="font-family:Arial,Helvetica,sans-serif">On 2/17/22 11:59, Marcel Taeumel wrote:
<br>> Also: Please increase your Glyph cache first before making any 
<br>> experiments. See preference TTCFont glyphCacheSize. The interference 
<br>> between cache invalidation and you removing that primitive might be 
<br>> leading to wrong conclusions... :-)
<br>
<br>Oh, that's very interesting!
<br>
<br>So first of all let me clarify that I was seeing multiple-second delays 
<br>with primitive 103 enabled, but mere multi-hundred-millisecond delays 
<br>with it disabled. Does the primitive touch the cache?
<br>
<br>I'll explore different settings.
<br>
<br>Is it recommended to increase the cache size after importing a new font, 
<br>or is it something that should maybe be a bit larger by default anyway?
<br>
<br>Cheers,
<br>   Tony
<br></div></blockquote></div>