Skip to main content
schroffenegger
Participant
October 27, 2019
Question

Remove Google Font

  • October 27, 2019
  • 2 replies
  • 774 views

I used a google Web-Font in my Animate app. This added the following lines to my index.htm, which worked fine:

<script> var gFontsFamilies = ["Baloo Thambi"]; </script>
<link rel="stylesheet" type="text/css" href="https://fonts.googleapis.com/css?family=Baloo+Thambi:regular&subset=latin">

 

Now I don't want to use the google Web-Font any more (GDPR issue) and replaced all used fonts with arial. 

 

But now the above code is still in my index.htm after publishing the Script. I could remove it manually every time I publish it - but how can I get rid of it generally?

 

Thanks for Help

Thomas

 

This topic has been closed for replies.

2 replies

ShawnCatalyist
Participant
October 10, 2023

I ran into the same problem.

Only thing I could find to get rid of the google web font inclusion in the output it was to copy everything to a new fla.

On a related note, the adobe web font that I do want in the file seems to included twice in the html file.

kglad
Community Expert
Community Expert
October 10, 2023

@ShawnCatalyist 

 

i'm not sure what caused the problem you encountered, but generally, if animate is exhibiting a glitch, saving your fla in a new folder with new fla name will fix the problem.

schroffenegger
Participant
October 11, 2023

Thank you. I solved it by removing the links in the code and replaced it with a local path on my server to the same font.

Inspiring
November 5, 2019

Hi,

in your Publish settings (File > Publish Settings...) select the HTML/JS tab and make sure 'Overwrite HTML file on Publish' is ticked.

I hope this helps.

Cheers

Greg

 

schroffenegger
Participant
November 7, 2019

Dear Greg

many Thanks for your effort. Unfortunataly it did not help .. ich have still the Google Font reference in my HMTL.

 

any other idea?

 

thanks very much!

Thomas