Hola eeeee y tunait:
Para que salgan iguales tendrías que poner(modificar) el estilo width (creo que el height es igual)...
document.writeln("<input type=button value='" + abc.charAt(i) + "' onclick='letra.value = this.value; this.form.submit();'
style='width: 25px' />");
Saludos