writing text within a layer Store › Forums › Processing Layers › General Discussion › writing text within a layer This topic contains 1 reply, has 2 voices, and was last updated by johnniewalk 1 year, 4 months ago. Viewing 2 posts - 1 through 2 (of 2 total) Author Posts October 27, 2012 at 9:40 pm #420 cclarkMember Hello there, 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. Cheers! May 17, 2016 at 2:23 am #8219 johnniewalkParticipant Yes may be sometimes it will happened it is better to follow the drag on drop procedure that means once your layer has been ready just open some other and in that add your text how you want and drag it to the particular layer. Try it will work Author Posts Viewing 2 posts - 1 through 2 (of 2 total) You must be logged in to reply to this topic.