I'm using layers to build a sort of portfolio presentation app (great library by the way).
I'm using 3 or 4 layers as background, each one running 2D sketches.
And I have an extra layer that writes text on top of the others (writes credits and explanations).
The text should be in a particular font.
The problem that I'm having, is that whenever I invoke text() within a layer, the text gets rendered in the default font, and not in the font with wich I execute loadFont();.
The text sketch works just fine on it's own, but when I convert it to a layer, it starts behaving like that.
BTW, I had to create a CustomLayer class, extending Layer, in order to add some methods that i needed in every layer.
Thanks in advance.