heh, feel free to edit the script

its based off 24pixel font size so you will need to alter values if you wanted to run the script without the slider value, in some ways i cant really see any benefit going to such a small font size inside the script, the resize should be just as good a quality going down that small, i could understand it if you wanted a larger font size but it should scale down nicely
anyways as everything is based on 24 you will need to change values if wanting to run script at size 8
you can change lines
[code:1]
iFontSize=18;
to iFontSize=8;
var iSetFontSize=24; //main working fontsize, do not modify
to 8 also
if(dlg.btnPnl.numericBool.value == true) {
var docRef = app.documents.add(384, 72, 72, "Winamp Bitmap Font", NewDocumentMode.RGB, DocumentFill.TRANSPARENT); //TRANSPARENT, WHITE, BLACK
} else {
var docRef = app.documents.add(744, 72, 72, "Winamp Bitmap Font", NewDocumentMode.RGB, DocumentFill.TRANSPARENT); //TRANSPARENT, WHITE, BLACK
}
you will need to replace values 384, 72, 72 with something like
248, 24, 24 for text
128, 24, 24 numeric
in function addtextlayer
change
textProperty.antiAliasMethod = AntiAlias.SMOOTH; // Anti-alias mode (options: NONE, CRISP, SHARP, etc - same as palette)
your also going to have to change the values in createbitmapfont function so that the rows are placed accordingly
also comment out
//resize to desired font size
if(dlg.btnPnl.numericBool.value == true)
{
//numeric bitmap
activeDocument.resizeImage(16*iFontSize, 3*iFontSize);
}
else
{
//normal bitmap
activeDocument.resizeImage(31*iFontSize, 3*iFontSize);
}
and possibly (if you still want access to all layers)
activeDocument.mergeVisibleLayers();
[/code:1]
looks like too much hassle for this, if i remember rightly it does fontsize 6 to 36, which should scale without issue in cs
anyways its your time, the script saves time in creating bitmap fonts, it wasnt meant to increase the time but its editable to suit individual needs, it was a quick prototype to prove the concept but should suffice for most things
perhaps you could post 2 pngs for comparison, 1 with the original script on resize to 8
and one with the script running @ 8 once youve changed all the values/lines