textarea and textfield are controllers that dont work with ControlFont which allows you to use PFonts instead of the default pixelfont used by controlP5. its on the todo list, but for now i can only suggest to use the slightly bigger font 'grixel' within your textarea, this is how you change the bitfont:
Code:
myTextarea.valueLabel().setFont(ControlP5.grixel);
if you want to go for a little adventure, you could create your own pixelfont. the pixelfonts used by controlP5 use a bitmap that implements the following characters (in the exact same sequence, first character being a SPACE):
!"#$%&'()*+,-./0123456789:;<=>@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`
here an
example bitmap (white background, black characters, red pixel used to separate characters). if you follow modify the example to your needs, creating your own pixelfont for controlP5 should go smoothly.
and this is how you would load the pixelfont into controlP5 (assuming 'yourFont.gif' is located in the data folder of your sketch)
Code:
int index = Label.bitFontRenderer.addBitFont(loadImage("yourFont.gif"));
myTextarea.valueLabel().setFont(index);
let me know if this works for you. best,
andreas