View Issue Details

IDProjectCategoryView StatusLast Update
0023992mantisbtuipublic2018-07-30 00:57
Reporterr.zobel Assigned Toatrol  
Status closedResolutionfixed 
Product Version2.11.1 
Target Version2.16.0Fixed in Version2.16.0 
Summary0023992: Font = Times News Roman after Upgrade from v2.7.0

as the summary says, after upgrading the browser doesn't use the Open-Sans Font anymore :(

Steps To Reproduce

upgrade from v2.7 -> v2.11.1

TagsNo tags attached.


related to 0023758 closedsyncguru Allow users to select font family that fits them best 
has duplicate 0024157 closedatrol Default font has changed after upgrade to Mantis 2.12 
related to 0023978 closedatrol Fonts are not rendered correctly in Windows clients 
related to 0024520 closedcommunity Missing fallback for "Open Sans" font 




2018-02-16 10:37

reporter   ~0058907

after renaming the css\fonts.css to fonts.css.bak and using the open-sans.css from v2.7 as fonts.css, it works again.



2018-02-16 10:47

reporter   ~0058908

after adding .woff2 to iis mime-types it works also with the new fonts.css

I followed these instructions

but I'am using the mime settings:

maybe, this should be added to the (update) instructions



2018-02-26 18:58

developer   ~0059044

@r.zobel I am confused ... Times News Roman is not a font family we support in MantisBT.



2018-02-27 01:57

developer   ~0059046

Times News Roman is not a font family we support in MantisBT.

I assume this was the default font of the browser as our font could not be loaded.
Easy to reproduce by setting $g_font_family = 'Non Existing';



2018-02-27 02:15

developer   ~0059047

We used .woff in older versions, but .woff2 since 0023758 (2.11.0)

This explains the issue



2018-03-05 06:42

reporter   ~0059082

Yes atrol, you are right. With »Times News Roman« I mean the browser default font.



2018-03-05 07:05

reporter   ~0059084

Last edited: 2018-03-05 10:40

Sorry for the title. Maybe you can change it to »(WOFF2) Fonts aren't rendered properly«
My ticket is a duplicate of 0023950

See Screenshot for a fix for Windows IIS.
»font/x-woff2« as MIME-Type also worked for me. But I changed it to »font/woff2« as discussed here: Related to this:

IIS-MIME-TYPE.png (21,453 bytes)   
IIS-MIME-TYPE.png (21,453 bytes)   


2018-03-05 10:43

developer   ~0059089

My ticket is a duplicate of 0023950

Since 0023950 is itself a duplicate of 0023978, maybe this should be closed as duplicate as well ?



2018-03-05 11:01

reporter   ~0059090

0023978 is not the same. 0023978 can solved by changes in config_inc.php.



2018-03-23 11:02

reporter   ~0059294

Perhaps some additional information th help.
Our company still uses IE11 and MantisBT is running behind a firewall for security reasons.
I wanted to upgrade from 2.10 to 2.12 and encountered the same problem: the default font of IE11 instead of these new fonts.
I found out that IE11 doesn't support woff2. See this article:
I think,, the option to rename open-sans.css works for me. And it explaines why I have no troubles with your Mantis and IE11, because you're using $g_cdn_enabled = ON.



2018-04-01 11:24

developer   ~0059393

@syncguru I think it's too early to desupport IE11, so I think it would be good if you could fix this regression.



2018-06-12 10:58

reporter   ~0060070

same problem with IE after upgrade to 2.15. Is there a short fix for me in the meantime till this gets patched? We are hosting mantis on an external Hoster, so no IIS Settings that i can change myself.
thanks a lot



2018-06-12 13:46

developer   ~0060073

same problem with IE after upgrade to 2.15.

Do you get the same when using Chrome or Firefox?
If yes, we are talking about the IIS configuration issue (missing mime type for .woff2)
If no, we are talking about the issue that IE11 is not able to render .woff2 fonts.

Until there is a fix, there is a workaround (some people call it fix) for both issues:
Add the following line to file config_inc.php

$g_cdn_enabled = ON;

Keep in mind that enabling CDN

  • can improve performance if your users are not accessing your Mantis instance from your intranet
  • can decrease performance if your users are accessing your Mantis instance in intranet
  • might decrease your system availability as it will not work if CDN is not available
  • decreases security as there are some more possibilities for MITM attacks
  • decreases privacy as the CDN providers might track users


2018-06-12 14:28

reporter   ~0060074

Last edited: 2018-06-12 14:30

$g_cdn_enabled = OFF; in Microsoft Edge Win10

we set $g_cdn_enabled = ON until this is done, because in our company we are using IE 11

Microsoft Edge Win10.png (101,054 bytes)   
Microsoft Edge Win10.png (101,054 bytes)   


2018-06-13 01:24

reporter   ~0060075

Hi atrol
No, it's only with IE, no problems with Chrome/Firefox.

$g_cdn_enabled = ON;
This helped, but i would rather disable this. A decrease in security and privacy is not what we want for our users. Is there a saver solution?

Thanks a lot



2018-06-13 01:58

developer   ~0060076

A decrease in security and privacy is not what we want for our users

You are talking about security but you are using IE? There are good reasons why Microsoft pushes Edge instead of IE. Security is one of them.

Is there a saver solution?

You could tweak source code and revert the changes from 0023758 that introduced the regression.



2018-06-13 02:19

reporter   ~0060079

Who says we use IE? We just want to support a good look on IE, because I bet some of our customers are still using it!
But I rather let the few IE's be ugly than weaken it for everyone. Maybe I'll look into the source code. Thanks for your help



2018-06-13 03:20

reporter   ~0060080

If IE11 is the cause of the problem and you want $g_cdn_enabled = OFF, you can do the following as workaround.
Use the old open-sans.css and rename it to fonts.css. To make it easier, I attach it. :)

The only (little) problem you then have, is that a user cannot change their own preferred font.

fonts.css (1,175 bytes)   
# MantisBT - A PHP based bugtracking system

# MantisBT is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 2 of the License, or
# (at your option) any later version.
# MantisBT is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# GNU General Public License for more details.
# You should have received a copy of the GNU General Public License
# along with MantisBT.  If not, see <>.
/* included only when we don't want to use fonts from google server */
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 300;
  src: local('Open Sans Light'), local('OpenSans-Light'), url(../fonts/DXI1ORHCpsQm3Vp6mXoaTXhCUOGz7vYGh680lGh-uXM.woff) format('woff');
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 400;
  src: local('Open Sans'), local('OpenSans'), url(../fonts/cJZKeOuBrn4kERxqtaUH3T8E0i7KZn-EPnyo3HZu7kw.woff) format('woff');
fonts.css (1,175 bytes)   


2018-06-13 03:31

developer   ~0060081

you can do the following as workaround. ...

You missed at least one step: You have to copy the old .woff fonts to the fonts directory.



2018-06-13 04:01

reporter   ~0060082

Sorry, correct. It was already a couple of month ago that I did it :)
To be complete: the 2 font files as attachments.



2018-06-13 04:16

reporter   ~0060084

raymondf, a big thanks to you sir! I seem to come from an older Version and did not find this woff files. Perfect that you attached them!
I switched cdn back off and installed your files and the older fonts.css. After resetting the IE-cache it's running on Open Sans too.
Thanks alot you two. Great to get this awesome help!



2018-06-26 05:03

developer   ~0060165


Related Changesets

MantisBT: master 470f65fb

2018-06-26 04:53:15


Details Diff
Fix font issues when using IE

Fixes 0023978
Fixes 0023992
Affected Issues
0023978, 0023992
mod - css/fonts.css Diff File
rm - fonts/59ZRklaO5bWGqF5A9baEEYX0hVgzZQUfRDuZrPvH3D8.woff2 Diff File
rm - fonts/K88pR3goAWT7BTt32Z01m4X0hVgzZQUfRDuZrPvH3D8.woff2 Diff File
rm - fonts/LWCjsQkB6EMdfHrEVqA1KYX0hVgzZQUfRDuZrPvH3D8.woff2 Diff File
rm - fonts/NX1NravqaXESu9fFv7KuqgsYbbCjybiHxArTLjt7FRU.woff2 Diff File
rm - fonts/RjgO7rYTmqiVp7vzi-Q5UYX0hVgzZQUfRDuZrPvH3D8.woff2 Diff File
rm - fonts/SKK6Nusyv8QPNMtI4j9J2wsYbbCjybiHxArTLjt7FRU.woff2 Diff File
rm - fonts/cJZKeOuBrn4kERxqtaUH3ZBw1xU1rKptJj_0jans920.woff2 Diff File
rm - fonts/dDzx7Qrpf6EUDCpeO-RralKPGs1ZzpMvnHX-7fPOuAc.woff2 Diff File
rm - fonts/gFXtEMCp1m_YzxsBpKl68gsYbbCjybiHxArTLjt7FRU.woff2 Diff File
add - fonts/montserrat-v12-cyrillic-ext-regular.woff Diff File
add - fonts/montserrat-v12-cyrillic-ext-regular.woff2 Diff File
add - fonts/montserrat-v12-cyrillic-regular.woff Diff File
add - fonts/montserrat-v12-cyrillic-regular.woff2 Diff File
add - fonts/montserrat-v12-latin-ext-regular.woff Diff File
add - fonts/montserrat-v12-latin-ext-regular.woff2 Diff File
add - fonts/montserrat-v12-latin-regular.woff Diff File
add - fonts/montserrat-v12-latin-regular.woff2 Diff File
add - fonts/montserrat-v12-vietnamese-regular.woff Diff File
add - fonts/montserrat-v12-vietnamese-regular.woff2 Diff File
add - fonts/open-sans-v15-cyrillic-ext-regular.woff Diff File
add - fonts/open-sans-v15-cyrillic-ext-regular.woff2 Diff File
add - fonts/open-sans-v15-cyrillic-regular.woff Diff File
add - fonts/open-sans-v15-cyrillic-regular.woff2 Diff File
add - fonts/open-sans-v15-greek-ext-regular.woff Diff File
add - fonts/open-sans-v15-greek-ext-regular.woff2 Diff File
add - fonts/open-sans-v15-greek-regular.woff Diff File
add - fonts/open-sans-v15-greek-regular.woff2 Diff File
add - fonts/open-sans-v15-latin-ext-regular.woff Diff File
add - fonts/open-sans-v15-latin-ext-regular.woff2 Diff File
add - fonts/open-sans-v15-latin-regular.woff Diff File
add - fonts/open-sans-v15-latin-regular.woff2 Diff File
add - fonts/open-sans-v15-vietnamese-regular.woff Diff File
add - fonts/open-sans-v15-vietnamese-regular.woff2 Diff File
add - fonts/poppins-v5-devanagari-regular.woff Diff File
add - fonts/poppins-v5-devanagari-regular.woff2 Diff File
add - fonts/poppins-v5-latin-ext-regular.woff Diff File
add - fonts/poppins-v5-latin-ext-regular.woff2 Diff File
add - fonts/poppins-v5-latin-regular.woff Diff File
rm - fonts/rBHvpRWBkgyW99dXT88n7wsYbbCjybiHxArTLjt7FRU.woff2 Diff File
rm - fonts/u-WUoqrET9fUeobQW7jkRYX0hVgzZQUfRDuZrPvH3D8.woff2 Diff File
rm - fonts/w5uwZf-mdghB6LOAw_y9AFKPGs1ZzpMvnHX-7fPOuAc.woff2 Diff File
rm - fonts/xozscpT2726on7jbcb_pAoX0hVgzZQUfRDuZrPvH3D8.woff2 Diff File
rm - fonts/zhcz-_WihjSQC0oHJ9TCYAzyDMXhdD8sAj6OAJTFsBI.woff2 Diff File