Skip to main content
Tejas Dandekar
Inspiring
April 24, 2019
Question

RH2017 - How do I import new fonts in RH2017 project

  • April 24, 2019
  • 1 reply
  • 3783 views

I have installed the new set of fonts in c:\windows\fonts folder. How can I import them in my Responsve HTML5 project in RH 2017?

This topic has been closed for replies.

1 reply

Community Expert
April 24, 2019

I think we need to know more about what you're wanting to achieve.

You don't typically need to import fonts into Robohelp to start using them. However, using them on your PC does not mean they are available to your users. I believe your output type, output destination and license of the fonts themselves will determine what you need to do.

Also note, I only have theoretical knowledge of what's necessary, so might not be much help in the long run.

Tejas Dandekar
Inspiring
April 24, 2019

Ok, so what I am wanting to do is this.

We have a set of custom font named Proxima Nova that we have copied in c:\windows\font folder.

We want to use it in the content of the Responsive HTML5 help output.

So essentially whenever we output and distribute the Responsive help files the output should be visible in the new font.

Would only a copy to c:\windows\font folder help? Or do I have to do something in RH as well?

Community Expert
April 24, 2019

Assuming that the output will be deployed on a web server, you'll need to make sure the font license your company bought allows the font to be used on the web (i.e. not just a desktop license for installing on your (single) computer). Apologies if you already know this bit, I  know a lot of people aren't aware that fonts have specific licenses for very specific uses.

If you are installing the help on end user's computers, you'll have to get legal advice about the license you need (I'm not a lawyer, but suspect you'd need Desktop licenses for every user you install it for?)

Again assuming you're deploying the help on a web server, you then need to consider where the font will live on the web server. Maybe your company already uses this font on other websites. In this case there's probably already a location you can link to for example www.mycompany.com/fonts/.

It should be theoretically possible to add the fonts as baggage files to your project, but you would need to check whether multiple deployment of the files is allowed by the license. I would say a central location is better so that the fonts can be used on any site that needs it, rather than being distributed with each help project you product. (I'm also not sure how you go about using your baggage file version in Robohelp - you might need to live with the font not displaying when you're developing content? This isn't something I've worked with.)

Then you need to specify the font in the stylesheet using @font-face. You'll need to do this manually - as far as I know RH2017 doesn't support @font-face in its interface, although happy to be corrected .

Have a look at MDN for details:

Web fonts - Learn web development | MDN

As I said, I haven't used this technique at all, so my knowledge is theoretical. There may be other steps I'm not familiar with. But hopefully this will get you started.