Highlighted

Lost formatting in build of CHM - 2019 Classic

Explorer ,
May 05, 2020

Copy link to clipboard

Copied

Can somone tell me what are the common gotchas which might lead to the style font vanishing in building a CHM help file? Specifically, my google font is replaced with Times New Roman.

 

The font is on the build PC; I thought that was all that was needed for CHM builds. As it happens, the fonts are in the project anyway, because I have been doing some research into moving to a more modern output format. That looks like it's coming to nothing, for reasons outside of my control. One way or another I'd have thought Robohelp has what it needs to package the font properly.

 

This has worked before but doesn't now and I can't see why.

 

 

Views

549

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more

Lost formatting in build of CHM - 2019 Classic

Explorer ,
May 05, 2020

Copy link to clipboard

Copied

Can somone tell me what are the common gotchas which might lead to the style font vanishing in building a CHM help file? Specifically, my google font is replaced with Times New Roman.

 

The font is on the build PC; I thought that was all that was needed for CHM builds. As it happens, the fonts are in the project anyway, because I have been doing some research into moving to a more modern output format. That looks like it's coming to nothing, for reasons outside of my control. One way or another I'd have thought Robohelp has what it needs to package the font properly.

 

This has worked before but doesn't now and I can't see why.

 

 

Views

550

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
May 05, 2020 0
Adobe Community Professional ,
May 05, 2020

Copy link to clipboard

Copied

When you say this has worked before, do you mean with CHMs or other outputs?

 

I'm sure you know that the CHM compiler is a Microsoft product. It hasn't been updated since 2004 so Google fonts would not have been a feature. Adobe have to use the compiler as is.

 

I had always thought fonts have to be on the end users machine but if you have made it work with CHMs clearly that's not the case. I have seen people refer to adding the font file to baggage but I can't see how that helps as it is still not on the user's PC. Maybe Microsoft had some way of addressing that.

 

Have you got an old project where it did work that can give some clues?

 

Sorry I can't be more helpful. Do update the thread if you manage to resolve it.

 

www.grainge.org for free RoboHelp & Authoring info. Use the blue Reply button at the top to help me help you.
The black Reply link nests replies and they sort out of order.

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
May 05, 2020 0
Explorer ,
May 05, 2020

Copy link to clipboard

Copied

Thanks Peter, I do have a copy of our source files from the last release, which did work. If you can tell me what files to look in, I will see if I can find any differences?

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
May 05, 2020 0
Adobe Community Professional ,
May 05, 2020

Copy link to clipboard

Copied

I don't know where to look as I don't know how you managed it. 🙂

 

Start by looking for a baggage file with a font, then look in the topic HTML and CSS.

 

www.grainge.org for free RoboHelp & Authoring info. Use the blue Reply button at the top to help me help you.
The black Reply link nests replies and they sort out of order.

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
May 05, 2020 0
Adobe Community Professional ,
May 05, 2020

Copy link to clipboard

Copied

On a competing product forum (coughflarecough) I saw instructions suggesting you add the font as a baggage file, then define an @font-face reference in your css, using a relative path from the css to the location of the baggage font file. Can't vouch for it working, but that might help you work out where to look in your old working project.

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
May 05, 2020 0
Adobe Community Professional ,
May 05, 2020

Copy link to clipboard

Copied

Nice one Amber. I knew I had heard of the idea but not how to implement it. Ayrton - I suspect you know how to use @font-face but if not this topic covers setting it up in RoboHelp.

 

http://www.grainge.org/pages/authoring/fonts/fonts.htm

 

www.grainge.org for free RoboHelp & Authoring info. Use the blue Reply button at the top to help me help you.
The black Reply link nests replies and they sort out of order.

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
May 05, 2020 0