void (Chunk chunk, char[] chars, int from, int to, FontInfo fontInfo, boolean isRtl) { if (to > from) { assert fontInfo != null; TextFragmentFactory.createTextFragments(chunk.fragments, chars, from, to, isRtl, fontInfo); } }