Kern[] hEntries = new Kern[hkernElements.length];
for (int i = 0; i < hkernElements.length; i++) {
Element hkernElement = hkernElements[i];
SVGHKernElementBridge hkernBridge = (SVGHKernElementBridge)ctx.getBridge(hkernElement);
Kern hkern = hkernBridge.createKern(ctx, hkernElement, this);
hEntries[i] = hkern;
}
hKerningTable = new KerningTable(hEntries);
Kern[] vEntries = new Kern[vkernElements.length];
for (int i = 0; i < vkernElements.length; i++) {
Element vkernElement = vkernElements[i];
SVGVKernElementBridge vkernBridge = (SVGVKernElementBridge)ctx.getBridge(vkernElement);
Kern vkern = vkernBridge.createKern(ctx, vkernElement, this);
vEntries[i] = vkern;
}
vKerningTable = new KerningTable(vEntries);
}