Problem with the new 7.4 release - re fonts.

Please post all questions and comments regarding Help & Manual 7 here.

Moderators: Alexander Halser, Tim Green

Problem with the new 7.4 release - re fonts.

Unread postby Jamie Bodley-Scott » Thu Nov 22, 2018 3:41 pm

We are using a hmskin file that has some Text Variables. We have the variable UIFONT_DESKTOP of type text with the value "Lato", sans-serif.

This variable is used in CSS files, like this:
font-family: <%UIFONT_DESKTOP%>;


When publishing the manual, above line of CSS is rendered as:
font-family: &quot;Lato&quot;, sans-serif;
which is invalid CSS, and that line is ignored.

In previous versions, it was rendered as:
font-family: "Lato", sans-serif;
which works as expected.


If we do not use a text variable, and enter the value (with quotation marks) directly into the CSS file, there is no issue. So something seems to go wrong when the variables are replaces with values.
Jamie Bodley-Scott
 
Posts: 51
Joined: Mon Sep 21, 2015 11:25 am

Re: Problem with the new 7.4 release - re fonts.

Unread postby Tim Green » Thu Nov 22, 2018 7:35 pm

Hi Jamie,

Nothing has changed. The only problem is that you are using double quotes instead of single quotes in your font family. Using double quotes in 7.3 would have caused the same issue. If you replace the double quotes in the font family text with single quotes you won't have this issue. 8)
Regards,
Tim (EC Software Documentation & User Support)

Private support:
Please do not email or PM me with private support requests -- post to the forum directly.
User avatar
Tim Green
Site Admin
 
Posts: 20355
Joined: Mon Jun 24, 2002 9:11 am
Location: Bruehl, Germany

Re: Problem with the new 7.4 release - re fonts.

Unread postby Jamie Bodley-Scott » Fri Nov 23, 2018 11:41 am

Thanks Tim

Changed all to
'Lato', sans-serif
Makes no difference the problem still persists.

It ONLY applies to the left side navigation menus (all 3).
The content on the right side uses the correct fonts.

And this only applies to 7.4 not 7.3.
Jamie Bodley-Scott
 
Posts: 51
Joined: Mon Sep 21, 2015 11:25 am

Re: Problem with the new 7.4 release - re fonts.

Unread postby Tim Green » Fri Nov 23, 2018 1:30 pm

Jamie Bodley-Scott wrote:Changed all to
'Lato', sans-serif
Makes no difference the problem still persists.

I just double-checked this and it is definitely working OK. If I use single quotes I get this in all the CSS files, correctly:

Code: Select all
font-family: 'Trebuchet MS', Helvetica, Arial, sans-serif;

Is it possible that you didn't clear the browser cache before testing after changing it, or didn't uploade all files? Please check the actual CSS files in your output folder. Also note that you only need to use the quotes at all if the font name contains a space.
Regards,
Tim (EC Software Documentation & User Support)

Private support:
Please do not email or PM me with private support requests -- post to the forum directly.
User avatar
Tim Green
Site Admin
 
Posts: 20355
Joined: Mon Jun 24, 2002 9:11 am
Location: Bruehl, Germany

Re: Problem with the new 7.4 release - re fonts.

Unread postby Jamie Bodley-Scott » Fri Nov 23, 2018 4:59 pm

Here is the css from index_desktop.
And all variables relating to fonts now have the value (no quotes at all):
Lato, sans-serif
You do not have the required permissions to view the files attached to this post. This may mean that you can't view them at all, or it may just mean that you need to log into the forum to view them.
Jamie Bodley-Scott
 
Posts: 51
Joined: Mon Sep 21, 2015 11:25 am

Re: Problem with the new 7.4 release - re fonts.

Unread postby Tim Green » Sat Nov 24, 2018 9:48 am

Hi Jamie,

Is it possible that you edited the CSS file in the output and then loaded it back into the skin? (Just covering all possibilities here.) Before doing anything else, please try with a completely unedited skin from the original folder. If you continue to have problems please mail me the skin you are using at support AT ec-software.com (replace the AT with @) and I'll check it for you.
Regards,
Tim (EC Software Documentation & User Support)

Private support:
Please do not email or PM me with private support requests -- post to the forum directly.
User avatar
Tim Green
Site Admin
 
Posts: 20355
Joined: Mon Jun 24, 2002 9:11 am
Location: Bruehl, Germany


Return to Help & Manual 7 Forum

Who is online

Users browsing this forum: No registered users and 8 guests