xxxxxxxxxx
28
function setup() {
createCanvas(200, 200);
// text spec: GREEN , filled RED, default size 20
fill(200,0,0);
stroke(0,200,0);
//stroke(150,0,80);
strokeWeight(5);
textSize(20);
textFont('Sarina');
print_links();
}
function draw() {
background(200,200,0);
textSize(20);
text("test adobe font:", 10, 20);
textSize(35);
text("Sarina", 20, 70);
}
function print_links() {
print("old example google font: https://editor.p5js.org/kll/sketches/H1RjsrxZ4");
print("example font file load: https://editor.p5js.org/kll/sketches/5eAJTcNGR");
print("example normal text: https://editor.p5js.org/kll/sketches/E7oh0oCjq");
print("https://discourse.processing.org/t/font-from-adobe-font-library/13856");
print("https://edgewebfonts.adobe.com/fonts#/?class=script&languages=en&recommendedFor=headings&collection=sarina");
}