Having trouble importing fonts into my project
Hi,
I'm having trouble importing fonts into my local project. Here's a snippet of what I added to the beginning of the CSS file:
------------------------------------------
/* @1552174 must be at top of file, otherwise CSS will not work */
@1552174 url("//hello.myfonts.net/count/3af24c");
@11220649-face {
font-family: 'Acre-Medium';
src: url('//cdn2.hubspot.net/hubfs/7364297/Fonts/3AF24C_0_0.eot');
src: url('//cdn2.hubspot.net/hubfs/7364297/Fonts/3AF24C_0_0.eot?#iefix') format('embedded-opentype'), url('//cdn2.hubspot.net/hubfs/7364297/Fonts/3AF24C_0_0.woff2') format('woff2'), url('//cdn2.hubspot.net/hubfs/7364297/Fonts/3AF24C_0_0.woff') format('woff'), url('//cdn2.hubspot.net/hubfs/7364297/Fonts/3AF24C_0_0.ttf') format('truetype');
}
------------------------------------------
When I use this method, the fonts are not available in my local project. When I generate the project, RoboHelp generates warnings stating the external fonts are skipped.
I also tried copying the fonts to my fonts folder on my laptop. After doing that, they are available in my project. When I generate the output, I see the fonts are properly applied because they reside on my laptop. But when I upload the output to our site, they are not available.
I'm trying to figure out how to have them display on our site. I'm using RoboHelp 2020.
Thanks in advance.
