<script type="text/javascript">
var fonts = document.getElementsByTagName('font');
for (var i= 0; i < fonts.length; i++) {
var font = fonts[i], span = font.parentNode;
if (!font.getAttribute('leader')) continue;
var ptWd = parseFloat(span.style.width), ratio = span.offsetWidth/ptWd;
var offWd = span.offsetWidth - font.offsetWidth - 4;
if (offWd >= 0) continue;
var cnt = Math.ceil(-offWd / (21.25*ratio));
span.style.width = (ptWd + cnt*21.25)+'pt';
}</script>