git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1705133 13f79535-47bb-0310-9956-ffa450edef68pull/39/head
@@ -237,6 +237,9 @@ public class MultiByteFont extends CIDFont implements Substitutable, Positionabl | |||
if (idx < NUM_MOST_LIKELY_GLYPHS) { | |||
mostLikelyGlyphs[idx] = retIdx; | |||
} | |||
if (retIdx != 0) { | |||
break; | |||
} | |||
} | |||
} | |||
return retIdx; |