Copy link to clipboard
Copied
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?
Hi.
You need web fonts or to use the @Blissful_help0D4E-face CSS rule.
Please check these links out:
Regards,
JC
Copy link to clipboard
Copied
Hi.
You need web fonts or to use the @Blissful_help0D4E-face CSS rule.
Please check these links out:
Regards,
JC
Copy link to clipboard
Copied
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?
Copy link to clipboard
Copied
letterspacing in canvas, no. you need to create your own "component".
what do you mean be a setting for capital letters?
Copy link to clipboard
Copied
I mean that you can set the text to be written in uppercase.
What do you mean by create your own component?
Copy link to clipboard
Copied
you can use to UpperCase() for any string.
Copy link to clipboard
Copied
so as script? Sorry i am beginner
Copy link to clipboard
Copied
this.yourtextfield.text=whatever.toUpperCase()
Copy link to clipboard
Copied
Ok, thank you so much, perfect!
Just one more question: you wrote this: letterspacing in canvas, no. you need to create your own "component".
What exactly do you mean by your own component?
Copy link to clipboard
Copied
that's a topic for advanced coders. ie, it can be done because letterSpacing is a javascript property (of style), but it requires some coding expertise.
Get ready! An upgraded Adobe Community experience is coming in January.
Learn more