Hello! I need to make an import of Processing that contains the typography (ttf or otf) in String format inside the main code to be able to load it in the same way that you can do it with images, since LoadImage () works from an array of integers. I can do it with the Images. Is there any way to do it in the case of typography? Thank you very much.
PImage loadPixelsArray (int xDiv, int yDiv, float [] [] puntos) {
PImage img = createImage (xDiv, yDiv, ARGB);
img.loadPixels ();
int size = img.pixels.length;
para (int i = 0; i <tamaño; i ++) {
img.pixels [i] = color (puntos [i] [0], puntos [i] [1], puntos [i] [2], puntos [i] [3]);
}
img.updatePixels ();
volver img;
}