Skip to main content
Inspiring
April 6, 2022
Question

HTML5 Canvas - Dynamic Text rendering issue

  • April 6, 2022
  • 1 reply
  • 362 views

Dynamic text is rendering in a different font to the static text fields, and the quality of rendering of the dynamic text is poor. 

 

Both static and dynamic text fields are using the same font and size.  All the text fields are using Franklin Gothic Medium Condensed 12 pt.  

 

How do I fix this?

 

 

Also, is there an option for scrollable multiline text?

    This topic has been closed for replies.

    1 reply

    JoãoCésar17023019
    Community Expert
    Community Expert
    April 6, 2022

    Hi.

     

    Dynamic text fields should be clear and crispy. Make sure their parents are not being cached as or converted to bitmaps.

     

    And there's no scrolling for canvas/CreateJS texts fields. You have to code it yourself or use components.

     

    Regards,

    JC

    FlatChatAuthor
    Inspiring
    April 6, 2022

    Thanks @JoãoCésar17023019   But how do I check regarding caching of the parent MC or being converted to bitmaps?

     

    Also, what components would have dynamic text and scolling similar to text areas?

    FlatChatAuthor
    Inspiring
    April 6, 2022

    Also, why are the fonts a different typeface for dynamic text fields from static ones.  In Animate, they show as the same font in the property inspector.