jassub icon indicating copy to clipboard operation
jassub copied to clipboard

Change fonts at runtime

Open zoriya opened this issue 10 months ago • 2 comments

We can use addFont to make a new font available, but we can't remove fonts that won't be used anymore to free resources. Right now, I am doing this to change fonts but old one are still taking some RAM:

if (fonts) {
	for (const font of fonts) {
		subOcto.addFont(font);
	}
}

zoriya avatar Oct 14 '23 13:10 zoriya