writing text within a layer

Store Forums Processing Layers General Discussion writing text within a layer

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
  • #420

    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.


    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


    Thanks, it helps

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.