3 # Move point rounding up
5 push 0b01001010 # RTG 6/8
11 # Move point rounding down
12 void 3 moveRoundDown pt
13 push 0b01000110 # RTG 2/8
19 # Based on FontForge FDEF 8
20 void 4 ipRound pt ptRP1 ptRP2
28 # Same as ipRound, but round up at low PPEM
29 void 5 ipMiddleBar pt ptRP1 ptRP2
34 push 0b01001001 # RTG 5/8
45 # Based on FontForge FDEF 6
60 # Based on FontForge FDEF 7
75 # Position point of diacritic relative to CVT
76 void 8 posDiac pt cvtGap cvtRef
77 push 0 # Twilight point
81 # Position twilight point
96 # Shift diacritic on y axis, with minimum distance
97 void 9 yShiftDiac pt cvtGap ptRef
111 # Shift diacritic on y axis, without minimum distance, rounding down
112 void 10 yShiftStackedDiac pt cvtGap ptRef
118 push 0b01000101 # RTG 1/8
127 # Horizontally center diacritic
128 void 11 xCenterDiac ptBaseLeft ptDiacLeft ptDiacRight ptBaseRight
134 # Horizontally center diacritic, with EM offset
135 void 12 xCenterDiacOffset ptBaseLeft ptDiacLeft ptDiacRight ptBaseRight valOffset
139 push 0 0 # TEMP cvt index
144 # Calculate shift to center
146 GC[cur] # ptBaseRight
148 GC[cur] # ptDiacRight
169 push 0b01000111 # RTG 3/8
178 # Move point by rounded cvt value,
179 # intended for composites
180 void 13 moveCvtRight ptRef cvtRight pt
189 # Move point by two rounded cvt values,
190 # intended for composites
191 void 14 moveCvtRightLeft ptRef cvtRight cvtLeft pt