Использование style.fontSize может не сработать, так как если font-size определено в файле style.css, будет возвращена пустая строка "".
В этом случае нужно использовать window.getComputedStyle.
var el = document.getElementById('foo');
var style = window.getComputedStyle(el, null).getPropertyValue'font-size');
var fontSize = parseFloat(style);
// now you have a proper float for the font size (yes, it can be a float, not just an integer)
el.style.fontSize = (fontSize + 1) + 'px';