View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0023992 | mantisbt | ui | public | 2018-02-16 10:32 | 2018-07-30 00:57 |
Reporter | r.zobel | Assigned To | atrol | ||
Priority | normal | Severity | tweak | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Product Version | 2.11.1 | ||||
Target Version | 2.16.0 | Fixed in Version | 2.16.0 | ||
Summary | 0023992: Font = Times News Roman after Upgrade from v2.7.0 | ||||
Description | 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 | ||||
Tags | No tags attached. | ||||
Attached Files | |||||
related to | 0023758 | closed | syncguru | Allow users to select font family that fits them best |
has duplicate | 0024157 | closed | atrol | Default font has changed after upgrade to Mantis 2.12 |
related to | 0023978 | closed | atrol | Fonts are not rendered correctly in Windows clients |
related to | 0024520 | closed | community | Missing fallback for "Open Sans" font |
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. |
|
damn I followed these instructions but I'am using the mime settings: maybe, this should be added to the (update) instructions |
|
@r.zobel I am confused ... 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. |
|
We used .woff in older versions, but .woff2 since 0023758 (2.11.0) This explains the issue https://stackoverflow.com/questions/25796609/font-face-isnt-working-in-iis-8-0 |
|
Yes atrol, you are right. With »Times News Roman« I mean the browser default font. |
|
Sorry for the title. Maybe you can change it to »(WOFF2) Fonts aren't rendered properly« See Screenshot for a fix for Windows IIS. |
|
Since 0023950 is itself a duplicate of 0023978, maybe this should be closed as duplicate as well ? |
|
0023978 is not the same. 0023978 can solved by changes in config_inc.php. |
|
Perhaps some additional information th help. |
|
@syncguru I think it's too early to desupport IE11, so I think it would be good if you could fix this regression. |
|
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. |
|
Do you get the same when using Chrome or Firefox? Until there is a fix, there is a workaround (some people call it fix) for both issues:
Keep in mind that enabling CDN
|
|
$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 |
|
Hi atrol $g_cdn_enabled = ON; Thanks a lot |
|
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.
You could tweak source code and revert the changes from 0023758 that introduced the regression. |
|
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! |
|
If IE11 is the cause of the problem and you want $g_cdn_enabled = OFF, you can do the following as workaround. 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 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # 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 <http://www.gnu.org/licenses/>. */ /* 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'); } |
|
You missed at least one step: You have to copy the old .woff fonts to the fonts directory. |
|
Sorry, correct. It was already a couple of month ago that I did it :) |
|
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! |
|
MantisBT: master 470f65fb 2018-06-26 00:53 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 | ||
rm - fonts/K88pR3goAWT7BTt32Z01m4X0hVgzZQUfRDuZrPvH3D8.woff2 | Diff | ||
rm - fonts/LWCjsQkB6EMdfHrEVqA1KYX0hVgzZQUfRDuZrPvH3D8.woff2 | Diff | ||
rm - fonts/NX1NravqaXESu9fFv7KuqgsYbbCjybiHxArTLjt7FRU.woff2 | Diff | ||
rm - fonts/RjgO7rYTmqiVp7vzi-Q5UYX0hVgzZQUfRDuZrPvH3D8.woff2 | Diff | ||
rm - fonts/SKK6Nusyv8QPNMtI4j9J2wsYbbCjybiHxArTLjt7FRU.woff2 | Diff | ||
rm - fonts/cJZKeOuBrn4kERxqtaUH3ZBw1xU1rKptJj_0jans920.woff2 | Diff | ||
rm - fonts/dDzx7Qrpf6EUDCpeO-RralKPGs1ZzpMvnHX-7fPOuAc.woff2 | Diff | ||
rm - fonts/gFXtEMCp1m_YzxsBpKl68gsYbbCjybiHxArTLjt7FRU.woff2 | Diff | ||
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 | ||
rm - fonts/u-WUoqrET9fUeobQW7jkRYX0hVgzZQUfRDuZrPvH3D8.woff2 | Diff | ||
rm - fonts/w5uwZf-mdghB6LOAw_y9AFKPGs1ZzpMvnHX-7fPOuAc.woff2 | Diff | ||
rm - fonts/xozscpT2726on7jbcb_pAoX0hVgzZQUfRDuZrPvH3D8.woff2 | Diff | ||
rm - fonts/zhcz-_WihjSQC0oHJ9TCYAzyDMXhdD8sAj6OAJTFsBI.woff2 | Diff |