Since I can't figure how to add quotes to the config.font_names
list without causing js error and I only have issue with the font Goudy Bookletter 1911
, I fixed this by adding the camelCased name in the list so it looks something like this:
config.font_names = "Arial/Arial, Helvetica, sans-serif;Glass Antiqua;Goudy Bookletter 1911/GoudyBookletter1911;"
I can't change every Google font with spaces into camelCase since Google append some font names with something like "-Regular" but this fixes my issue for now. If you have a better idea, please tell me!