@@ -70,10 +70,14 @@ return getStrikeForSlot(glyphCode >>> 24); } PhysicalStrike getStrikeForSlot(int slot) { + if (slot >= strikes.length) { + slot = 0; + } + PhysicalStrike strike = strikes[slot]; if (strike == null) { strike = (PhysicalStrike)(compFont.getSlotFont(slot).getStrike(desc));