Using a CSS file for fonts

Hi Xibo’s,

i just received a .css file from a customer with Webfonts that are cloud hosted (and can’t be downloaded as a file).

Is there any way to use or import that .css file for use in the editor? Can i copy the content to the font.css somehow?

Thanks in advance

Kindest regards

Getting it in the editor might be the easier part - just add:

Add your CSS file to the files in L44 and then on the next line add:

config.font_names = "font-family/font-family";

Where the font-family is the same as the family name in your css file.

Then the problem becomes getting your CSS definition in the fonts.css downloaded onto the players. The easiest thing is probably to add them to here: https://github.com/xibosignage/xibo-cms/blob/master/modules/preview/HtmlTemplate.html