View | Details | Raw Unified | Return to bug 48182
Collapse All | Expand All

(-)a/sources/org/apache/batik/svggen/font/SVGFont.java (-7 / +8 lines)
Lines 339-350 public class SVGFont implements XMLConstants, SVGConstants, ScriptTags, FeatureT Link Here
339
                    Feature medi = gsub.getFeatureList().findFeature(ls, FEATURE_TAG_MEDI);
339
                    Feature medi = gsub.getFeatureList().findFeature(ls, FEATURE_TAG_MEDI);
340
                    Feature fina = gsub.getFeatureList().findFeature(ls, FEATURE_TAG_FINA);
340
                    Feature fina = gsub.getFeatureList().findFeature(ls, FEATURE_TAG_FINA);
341
341
342
                    initialSubst = (SingleSubst)
342
                    if (init != null && medi != null && fina != null) {
343
                        gsub.getLookupList().getLookup(init, 0).getSubtable(0);
343
                        initialSubst = (SingleSubst)
344
                    medialSubst = (SingleSubst)
344
                            gsub.getLookupList().getLookup(init, 0).getSubtable(0);
345
                        gsub.getLookupList().getLookup(medi, 0).getSubtable(0);
345
                        medialSubst = (SingleSubst)
346
                    terminalSubst = (SingleSubst)
346
                            gsub.getLookupList().getLookup(medi, 0).getSubtable(0);
347
                        gsub.getLookupList().getLookup(fina, 0).getSubtable(0);
347
                        terminalSubst = (SingleSubst)
348
                            gsub.getLookupList().getLookup(fina, 0).getSubtable(0);
349
                    }
348
                }
350
                }
349
            }
351
            }
350
        }
352
        }
351
- 

Return to bug 48182