Copy link to clipboard
Copied
Hi all,
I've been digging through the forums to find a way to link to custom fonts that our company licenses. I haven't found any success in getting the fonts to load or helpful answers, so I want to ask it with more detail. I'm trying to publish a blank project, not responsive.
I'm very versed in css and html, and have built lots of websites. I've linked to fonts before, so I'm familiar with all that.
I even read that all text is in spans, so I set all spans to our font family and specifically declared our font-family for .cp-actualText span in the css.
I've tried it by bundling the fonts inside the project folder as well. No joy.
I linked the fonts our company licenses in the projects CPLibraryAll.css file and overwritten any already styled items with our font family. I've declared the font in the head tag of the project index file. When I preview the project in different browsers, and inspect them, the font that shows is incorrect, but the inspector indicates that the font I specified is being used. Obviously something is wrong because I'm not seeing the correct font display in browser.
So is there a way to link to custom fonts in the css or not? I've seen so many differing answers and none have worked. Can someone from Adobe or an expert please clarify this and tell me it is possible and how to do it, or that it's not possible and that's a wrap.
Please assist. This is pretty crucial to a huge number of projects we want to publish.
Copy link to clipboard
Copied
If your project is not responsive, then the fonts are rendered as bitmaps, unless there is a variable in the text. So it doesn't matter what you do, you can change an image.