[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [ft-devel] endless loops in bytecode
From: |
Werner LEMBERG |
Subject: |
Re: [ft-devel] endless loops in bytecode |
Date: |
Sat, 10 Sep 2016 22:48:55 +0200 (CEST) |
>> PUSHW[1]
>> -3
>> JMPR
>>
>> The PUSHW instruction pushes one word onto the stack (value -3),
>> which is the offset JMPR is using to jump back
>
> Did you see jumps back in the real world?
I can't remember whether I've seen JMPR in a font, but JROT and JROF
definitely happen (e.g., in my ttfautohint's bytecode :-) – you need
them for loops where LOOPCALL doesn't provide a good solution.
Werner