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

(-)SVGFont.java (-6 / +12 lines)
Lines 339-350 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) {
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
                    }
346
                    terminalSubst = (SingleSubst)
346
                    if (medi != null) {
347
                        gsub.getLookupList().getLookup(fina, 0).getSubtable(0);
347
                        medialSubst = (SingleSubst)
348
                            gsub.getLookupList().getLookup(medi, 0).getSubtable(0);
349
                    }
350
                    if (fina != null) {
351
                        terminalSubst = (SingleSubst)
352
                            gsub.getLookupList().getLookup(fina, 0).getSubtable(0);
353
                    }
348
                }
354
                }
349
            }
355
            }
350
        }
356
        }

Return to bug 48182