Skip to main content
nicolekopp
Participating Frequently
July 29, 2023
Answered

HTML5 Canvas and local font

  • July 29, 2023
  • 1 reply
  • 882 views

Hello, I have created a HTML5 Canvas Banner and used a custom local font. Now I was looking for a solution to embed the font. I would just put it in the HTML code.

 

But I noticed that the font is also displayed like this on machines where the font is not installed. The font is not in paths. How can this be? Does Animate do the embedding automatically and I don't have to do anything?

    This topic has been closed for replies.

    1 reply

    nicolekopp
    Participating Frequently
    July 29, 2023

    Ok, thanks. That was super helpful!

    Two more questions about this:

    1. is it not possible to set the letter spacing for dynamic text?

    2. is there no setting for capital letters in Animate?

    kglad
    Community Expert
    Community Expert
    July 29, 2023

    letterspacing in canvas, no.  you need to create your own "component".

     

    what do you mean be a setting for capital letters?